fiji / bUnwarpJ

ImageJ/Fiji plugin for consistent elastic registration of 2D images
http://imagej.net/BUnwarpJ
GNU General Public License v3.0
23 stars 10 forks source link

Work with 32 bits images #9

Open SimoneBv opened 4 years ago

SimoneBv commented 4 years ago

Dear Ignacio, first of all, thanks for this useful plugin! I am rather new to image analysis, since I work on AFM rather then on optical microscopy. Actually I would like to use your elastic registration on several (for the moment 2) elastic modulus maps that I get by AFM on the same object at different angles. I can export my maps as text matrices, where each pixel value represents à Young's modulus. My averages are around 8-9e07 Pa. I then import those files in ImageJ and save them as tiff. They are saved as 32 bits files, where the decimal values are set to 0. If I directly lunch your plugin in them, the results are pretty weird. If I modify the text images by hand to pass from float to integer values, ImageJ still open the files as 32 bits with decimal part = 0, but the plugin provides some reasonable output, a part from the fact that the registering doesn't really work. In the end I tried to convert my images to 8 bits (and I realised they need to have the same dynamics at first to be converted without deformation, I am really a novice to ImageJ!), the plugin works really good, providing a very accurate registering. Anyway, I would be interested in working with the original values, since I would like to apply further algorithms on them. I would like to ask you if there is a way to run your plugin on my original data, (if there is some pretreatment to do on them for example), or if this is a current limitation of it. Thanking you in advance,

best regards Simone

iarganda commented 4 years ago

Dear @SimoneBv ,

The plugin should work on 32-bit images. May you post somewhere your images so I can try to reproduce the results?

Thanks!

SimoneBv commented 4 years ago

Dear @iarganda Thanks for your answer! Here in the attachments are the 2 text images I would like to register. Each pixel value correspond to an apparent Young's modulus, in Pa. Thanking you again, best Simone qi-data-2020.10.16-17.00.22.229_processed-2020.10.19-16.48.35.txt qi-data-2020.10.16-17.48.50.358_processed-2020.10.20-13.20.35.txt