-
Thanks for building Navis! It's great to have quantitative morphology analysis accessible to the python ecosystem. Do you have advice for preprocessing images to prepare confocal brp stains for CMTK? I looked at Janelia’s flylight pipeline, and it seems that this imagej macro determines whether optic lobes are present and perhaps modifies the image in various ways. I haven't been able to run the macro on my system yet. And instead have attempted to proceed with the CMTK commands found in this shell script without preprocessing. This approach has had some success. However, the CMTK commands My questions are:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Peter. I have to admit my experience with CMTK is limited but I have asked another lab member. Will get back to you asap. |
Beta Was this translation helpful? Give feedback.
-
Hi Peter, This is Sebastian from the Jefferis lab. In general flipping axes works well for getting brain roughly aligned. Two things to keep in mind are that if you flip one axis then you change the handness of the brain (what was left now is right while dorsal remains dorsal and ventral remains ventral). Best practice in this case would be to change two axis to regain the original handness. Second thing is that brains which are imaged "upside down" tend to have drop off intensity opossite to the template and this creates issues for the registration which are not easy to overcome. As a general rule try to mount brains in the same way as the template you are registering to. Other than flipping, you can rotate the nrrd files in fiji. In general CMTK copes well with images which are less than 45 degrees out of alignment to the template. One thing to keep an eye on is that the image retains its calibration in um, otherwise cmtk gets confused. In terms of manipulating the intensities of the images pre-registration it is my experience that that is not necessary. CMTK is pretty smart in equalising the image during the registration. Last thing I would recommend if you are having trouble is to reformat the affine to check what is been fed to the warping registration. If the affine is not optimal then the warp is unlikely to work. Hope this helps! Best, Sebastian Cachero |
Beta Was this translation helpful? Give feedback.
Hi Peter,
This is Sebastian from the Jefferis lab. In general flipping axes works well for getting brain roughly aligned. Two things to keep in mind are that if you flip one axis then you change the handness of the brain (what was left now is right while dorsal remains dorsal and ventral remains ventral). Best practice in this case would be to change two axis to regain the original handness.
Second thing is that brains which are imaged "upside down" tend to have drop off intensity opossite to the template and this creates issues for the registration which are not easy to overcome. As a general rule try to mount brains in the same way as the template you are registering to. Other than flip…