When you run a registration using MICe-build-model often you will use an initial model. The files in your initial model will determine the sizes and dimensions of your output files, as well as the viewing orientation. The models we normally use will show the different slices of the brain orthogonal to the cardinal directions. However, depending on what your initial model looks like, the resulting images of your registration might not be in that same viewing orientation. Using an initial model that has symmetric targets in it, will ensure that your results will also be orthogonal to the cardinal directions.
Standard viewing orientation
At MICe a file that is in standard viewing orientation will look as follows when you open it up in Display:
To create a symmetric image you will have to create a copy of the image that is flipped along one of the axes and then overlay the two images. The following example will show you how to do this.
This example is done using a single image. Normally for an initial model you would use an average of a whole number of images. For more information about what kind of files you should use for your initial model, take a look here
Your input image:
We want to flip this image along the x-axis (the axis from left to right). In order to do that we will simply change the sign of the step size in that direction:
Using mincheader we see that the full step size of the xspace is -0.055556
The image is now flipped:
So the image is flipped. However, the original image started along the x-axis in -14.416658 and was 292 voxels long, so ended in -30.639008 (start point + stepsize * length = -14.416658 +( -0.05556 * 292)) . The flipped image as it is now, starts at the same point, but because it has a positive step size in x, it will end in 1.805692. This means that the images do not overlap in space anymore. We can account for this by changing the start point of our new image to -30.639008.
Now we are ready to overlay the two images. Well... one last thing. mincaverage does not like it when two files have different start coordinates. But we know these files are in the same location in space, so we can use a mincresample command to fix that issue:
And the final image now is symmetric: