Skip to content

20260312 LMAnalysis detection overlay roisize#1653

Open
abalaji0827 wants to merge 1 commit intopython-microscopy:masterfrom
abalaji0827:20260312_LMAnalysis_detection_overlay_roisize
Open

20260312 LMAnalysis detection overlay roisize#1653
abalaji0827 wants to merge 1 commit intopython-microscopy:masterfrom
abalaji0827:20260312_LMAnalysis_detection_overlay_roisize

Conversation

@abalaji0827
Copy link
Contributor

Bug Fix: In PYMEImage, when detection is tested on a frame, the green box identifying detections is not the same size ast the analysis roi size. It appears that the box was drawn with a default value of 11 pixels

I addedd 3 lines of code to _update_points_overlay to get Analysis.ROISize from the analysis metadata and then use that size to determine size of the box to draw, assuming the roi size is a ROI Half Size (box size of roi_size * 2 + 1).

No variable names are changed. A new variable is created within _update_points_overlay, roi_size.

@abalaji0827 abalaji0827 force-pushed the 20260312_LMAnalysis_detection_overlay_roisize branch from b104dc6 to e475aa7 Compare March 12, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant