ijpb / MorphoLibJ

Collection of mathematical morphology methods and plugins for ImageJ
http://imagej.net/MorphoLibJ
GNU Lesser General Public License v3.0
98 stars 49 forks source link

adds cropLabel variation to get calibration including origin in the cropped image #64

Closed romainGuiet closed 1 year ago

romainGuiet commented 2 years ago

it might not be the best way of doing it, it's just a POC regarding this issue

dlegland commented 2 years ago

thanks for the PR! it looks quite nice, I try to validate during this week.

romainGuiet commented 2 years ago

Might be stable now ... So far, it's added in our project as a temporary class https://github.com/BIOP/EasyXT-FIJI/pull/43/commits/9b89a367c4db60eb3ba1e48630f93eac8e8638c3 until a new release of MorphoLibJ brings it , or something similar ! Cheers

dlegland commented 2 years ago

hi, great, thanks! I have started to look at it, and I think some parts of the code could be adapted to be more general (e.g. be able to crop also non-label images, add option for binarisation or not...). So I will try to implement something, but this may take more time as what I intially expected... stay tuned! Cheers