Skip to content

Add redact_and_return_bbox method to ImageRedactorEngine#1777

Merged
omri374 merged 3 commits intomicrosoft:mainfrom
siwoo-jung:update_image_redactor_engine
Nov 7, 2025
Merged

Add redact_and_return_bbox method to ImageRedactorEngine#1777
omri374 merged 3 commits intomicrosoft:mainfrom
siwoo-jung:update_image_redactor_engine

Conversation

@siwoo-jung
Copy link
Contributor

Change Description

Inspired by the redact_and_return_bbox method in DicomImageRedactorEngine, the same method has been added to ImageRedactorEngine which additionally returns bboxes. This gives users the exact boxes actually masked, enabling precise stats without reprocessing.

Issue reference

Fixes #XX

Checklist

  • I have reviewed the contribution guidelines
  • I have signed the CLA (if required)
  • My code includes unit tests
  • All unit tests and lint checks pass locally
  • My PR contains documentation updates / additions if required

… method in ImageRedactorEngine for returning redacted images and bounding boxes.
@siwoo-jung siwoo-jung changed the title Add redact_and_return_bbox method to ImageRedactorEngine Add redact_and_return_bbox method to ImageRedactorEngine Nov 6, 2025
omri374
omri374 previously approved these changes Nov 6, 2025
Copy link
Collaborator

@omri374 omri374 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@siwoo-jung
Copy link
Contributor Author

Hi @omri374, I have updated the codebase to resolve failed checks.

Copy link
Collaborator

@omri374 omri374 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@omri374 omri374 merged commit eb038b6 into microsoft:main Nov 7, 2025
35 checks passed
@omri374
Copy link
Collaborator

omri374 commented Nov 7, 2025

cc @SharonHart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants