SimpleITK image registration #195
Replies: 8 comments 2 replies
-
Hello @Katitamorais Based solely on the correlation values after registration one cannot say if the registration is successful or not. A correlation value of 0.8 can indicate a registration that is just as good as a correlation value of 1 (obtaining perfect correlation is very rare). The question is, are corresponding structures aligned with each other? I assume they aren't, otherwise you wouldn't be here. Can you share an image showing the final results and the alignment discrepancies? Some things to note:
Finally, out of curiosity, what were the correlation values prior to registration? |
Beta Was this translation helpful? Give feedback.
-
Hello ### @zivy I added some images after aligment. In some samples we have (PC133 and PC265 in the pdf file) alignment discrepancies and, We will try elastix-napari plugin. Thank you for all explanation and support. |
Beta Was this translation helpful? Give feedback.
-
Hello @Katitamorais, Based on the additional information from the pdf you provided it appears that the correlation, prior to registration, in the failed cases is close to zero. This is a bit suspicious, I've never seen it be so uncorrelated. Can you share the input imaris images for one of these cases so that I can take a deeper look? If yes, please use google drive, box or a similar service and share the download link here. |
Beta Was this translation helpful? Give feedback.
-
Hello @zivy, I shared all files! I sent you a link by email. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello @Katitamorais, I tried accessing the data via the link provided in your email. I get a "This folder is empty" message, please confirm you uploaded the data to the google drive location you shared. |
Beta Was this translation helpful? Give feedback.
-
Hi @zivy, sorry, I don't know what happened. When I check it, all files are in the Google Drive. I will reupload. |
Beta Was this translation helpful? Give feedback.
-
Hi @Katitamorais, Thanks for sharing the data. I registered it using the XTRegisterSameChannel, affine registration program. When looking at sample PC133 I see that it has a central region that is common to all samples but the periphery changes considerably. I am not sure if these are expected sample changes over time or if it is a problem with the data acquisition (unexpected deformations). This pdf shows the input images from the three panels and the registration result. In the combined image after registration, the DAPI channel for panel1 is in blue, panel2 red and panel3 green. When all three overlap we get white. This highlights good overlap obtained by the registration in the central region and problems in the periphery. Before recommending that you try deformable registration I'd like to ask folks in the community to chime in with respect to the issues encountered in this dataset so that if you decide to go this route you have a good rational for it. Why the caution? With deformable registration you may force overlaps that are physically incorrect but look visually plausible. Registration is optimizing image similarity and if we use a transformation with more degrees of freedom than the actual physical transformation (deformable when in the physical world it was affine) we will end up with visually pleasing results that are incorrect. Think of all those videos where you see one object morphed into another. We don't want to morph an orange into an apple as shown in this YouTube video. |
Beta Was this translation helpful? Give feedback.
-
Hello! @zivy and @radtkea, sorry for my delay! I spent my time on the bench and in an external scientific meeting during the last days. @zivy, thank you very much for verifying our images. I would like to test deformable registration and see the result. I thought that running an analysis (cell segmentation, cell phenotype quantification) only in the good overlap region (white central region for PC133) could be an option to not lose this patient's sample, but I am not sure. @radtkea, here are the answers:
This situation illustrates well the importance of adjustments during confocal acquisition, as well as care to avoid tissue damage. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hello!
We follow all instructions described in the IBEX Nature Protocols article for Image Registration.
For some samples, we have a correlation close to 1 (melanoma sample), similar to the result observed with a IBEX training dataset (Kidney). However, for other samples correlation is around 0.8 (tonsil and leish).
In addition to the visual impact on the final aligned image, this also makes it difficult to individualize cells, define segmentation masks and quantification of phenotype.
Do you have any recommendation to improve our image registration?
Thanks.
Image Registration Simple ITK.pptx
Beta Was this translation helpful? Give feedback.
All reactions