nhochberger / NuFi

Im Rahmen einer Studienarbeit entwickeltes Tool zum Detektieren von Objekten in Zellkernen.
Apache License 2.0
0 stars 0 forks source link

Delete surrounding of ROIs for analysis #48

Closed nhochberger closed 9 years ago

nhochberger commented 9 years ago

Images that are created from selected ROIs (e.g. by simply duplicating) do also show the surrounding area of the nucleus (ROI). This can lead to "irritations" in the analysis due to changed brightness. By copying the ROI and pasting it into an empty (black) image will solve this issue.

nhochberger commented 9 years ago

Since there seems to be no easy way of copying the interior of a selection programatically, check all pixels whether they are contained within the ROI. If they are, leave them, otherwise, set them to black.