Maverick/View Virtual Family Together
From KitwarePublic
< Maverick
Jump to navigationJump to search
Create a scene using the virtual family
First convert two members of the virtual family
VirtualFamilyTxtToMhdCsv Duke_34y_v5_2mm.txt Duke_34y_v5_2mm.raw Duke.mhd Duke.csv VirtualFamilyTxtToMhdCsv Ella_26y_v2_2mm.txt Ella_26y_v2_2mm.raw Ella.mhd Ella.csv
This produces representations in the .mhd format. The current release of Maverick, however, requires the images to be in the .mha format. So, perform the conversion using imageMath
imageMath Duke.mhd -W 3 Duke.mha imageMath Ella.mhd -W 3 Ella.mha
Now Merlin can be used to create a scene containing these labelmaps and indexed via those .csv files
Create a new version of the woman that is as tall as the man
RegisterImages Duke.mha Ella.mha --registration Affine --interpolation NearestNeighbor --resampledImage TallElla.mha --saveTransform TallElla.tfm
View the short and tall ella next to one another in the same volume
First move TellElla 500 mm to the right by editing the file TallElla.mha using vi or another text editor.
vi TallElla.mha
Change line containing the keyword Offset to induce the shift
Offset =