sankeert1999 / Virtual-Orientation-Tools-VOTj

Virtual Orientation Tool FIJI (VOTj) : A Fiji plugin for object centering and alignment
MIT License
0 stars 0 forks source link

histogramm changes upon duplication #10

Closed JochenGehrig closed 9 months ago

JochenGehrig commented 1 year ago

when you duplicate images you change the histogram. It can happen that images have saturated pixels after that operation (that were not staurated before). That can affect the thresholding and thus the accuracy of orientation. I think it is mainly an issue for 16-bit images. What do you do when duplicating images?

image

sankeert1999 commented 9 months ago

This occurred because the "apply LUT" option in the image brightness adjuster potentially elevated bright pixels to the maximum bit depth value. Consequently, when annotations were drawn, the highest pixel values became mixed up with saturated pixels. However, in the latest version, this issue has been resolved.

LauLauThom commented 9 months ago

What could still be problematic though, is images which readily have pixels at the max of the bit range, then these will also get included in the mask, that's a limitation of the tool with the current approach.