nci / drishti

Drishti
MIT License
176 stars 40 forks source link

scale and orient multiple volumes measured with different resolution and orientation #66

Closed MSLDgit closed 2 years ago

MSLDgit commented 2 years ago

Hi, this is more a question whether the thing I try to do is possible or not: I try to align two volumes of the same sample in the same orientation for comparision. The volumes are measured with different techniques at different times (thus strongly different resolution and slightly different orientation of the sample). Is this possible with drishti? My current problem is that the voxel size I specify in drishti-import, apparently does not lead to equal sizes of the volumes. It seems to be the resolution that scales them when showing them together (i.e. higher resolution volume is shown much bigger). Changing the voxel size within drishti render than also seems to have no effect on that (maybe I am doing something wrong here). An approach would be to upscale the lower resolution tiff images of the underlying image stack, but that would be a later thing to try as I do not really want to change the underlying data. Also then is it possible to rotate the volumes individually? I could not find tutorials or other info on this and I always rotate both volumes. Best wishes Miles

AjayLimaye commented 2 years ago

Hi Miles, Yes, it is possible to rotate volumes individually - use bricks. https://www.youtube.com/playlist?list=PLOdV4qS_2jOURZNgYoSffEgGK-tnZeBBW

The way it is implemented if the volumes are of two different grid sizes (voxel size does not matter) they won't match. One way to do that is to use bricks and apply scaling on the appropriate brick to render the bigger volume smaller.

Cheers, Ajay

On Thu, Feb 10, 2022 at 12:57 AM MSLDgit @.***> wrote:

Hi, this is more a question whether the thing I try to do is possible or not: I try to align two volumes of the same sample in the same orientation for comparision. The volumes are measured with different techniques at different times (thus strongly different resolution and slightly different orientation of the sample). Is this possible with drishti? My current problem is that the voxel size I specify in drishti-import, apparently does not lead to equal sizes of the volumes. It seems to be the resolution that scales them when showing them together (i.e. higher resolution volume is shown much bigger). Changing the voxel size within drishti render than also seems to have no effect on that (maybe I am doing something wrong here). An approach would be to upscale the lower resolution tiff images of the underlying image stack, but that would be a later thing to try as I do not really want to change the underlying data. Also then is it possible to rotate the volumes individually? I could not find tutorials or other info on this and I always rotate both volumes. Best wishes Miles

— Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMVVLUMA56NRTGUWB2OSEDU2JXENANCNFSM5N5SJZVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>