I’m trying to run osp_plotVoxelOverlap on my data. I’m running MEGA-PRESS data through the standard Osprey pipeline in a release downloaded Monday, Feb 13, 2023.
The heatmap looks OK, but two of the three views are on the wrong slice. It looks to me like the center of mass of the voxel mask may not be setting up correctly in osp_extract_three_plane_image_overlay. Is there an easy fix for this?
I’m happy to provide any other information needed!
Osprey is trying to determine the voxel center automatically as the center of mass of all masks, but obviously fails in your case.
A trick to overwrite this is to add a second input to the osp_plotVoxelOverlap function like this:
out = osp_plotVoxelOverlap(MRSCont,[1 -51 43])
with the second argument being the center coordinates. You can quite easily find the correct ones by opening the heat map first Osprey’s nii viewer with the full path to the heatmap: