|
@@ -430,7 +430,7 @@ classdef SliceViewerPanel < handle
|
|
B_I = B{contourI};
|
|
B_I = B{contourI};
|
|
clear C
|
|
clear C
|
|
% up-down (+ high)
|
|
% up-down (+ high)
|
|
- yshift= obj.hSVPS.Geometry.start(2) - 1.5*obj.hSVPS.Geometry.voxel_size(2);
|
|
|
|
|
|
+ yshift= obj.hSVPS.Geometry.start(2) - 1.0*obj.hSVPS.Geometry.voxel_size(2);
|
|
zshift= obj.hSVPS.Geometry.start(3) - 1.0*obj.hSVPS.Geometry.voxel_size(3);
|
|
zshift= obj.hSVPS.Geometry.start(3) - 1.0*obj.hSVPS.Geometry.voxel_size(3);
|
|
|
|
|
|
C(:,1)= yshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(2);
|
|
C(:,1)= yshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(2);
|
|
@@ -457,7 +457,7 @@ classdef SliceViewerPanel < handle
|
|
B_I = B{contourI};
|
|
B_I = B{contourI};
|
|
clear C
|
|
clear C
|
|
% up-down (+ high)
|
|
% up-down (+ high)
|
|
- xshift= obj.hSVPS.Geometry.start(1) - 1.5*obj.hSVPS.Geometry.voxel_size(1);
|
|
|
|
|
|
+ xshift= obj.hSVPS.Geometry.start(1) - 1.0*obj.hSVPS.Geometry.voxel_size(1);
|
|
zshift= obj.hSVPS.Geometry.start(3) - 1.0*obj.hSVPS.Geometry.voxel_size(3);
|
|
zshift= obj.hSVPS.Geometry.start(3) - 1.0*obj.hSVPS.Geometry.voxel_size(3);
|
|
|
|
|
|
C(:,1)= xshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(1);
|
|
C(:,1)= xshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(1);
|
|
@@ -484,14 +484,14 @@ classdef SliceViewerPanel < handle
|
|
B_I = B{contourI};
|
|
B_I = B{contourI};
|
|
clear C
|
|
clear C
|
|
% up-down (+ high)
|
|
% up-down (+ high)
|
|
- yshift= obj.hSVPS.Geometry.start(2) - 1.5*obj.hSVPS.Geometry.voxel_size(2);
|
|
|
|
- xshift= obj.hSVPS.Geometry.start(1) - 1.5*obj.hSVPS.Geometry.voxel_size(1);
|
|
|
|
|
|
+ yshift= obj.hSVPS.Geometry.start(2) - 1.0*obj.hSVPS.Geometry.voxel_size(2);
|
|
|
|
+ xshift= obj.hSVPS.Geometry.start(1) - 1.0*obj.hSVPS.Geometry.voxel_size(1);
|
|
|
|
|
|
C(:,1)= yshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(1);
|
|
C(:,1)= yshift + (B_I(:,1))*obj.hSVPS.Geometry.voxel_size(1);
|
|
C(:,2)= xshift + (B_I(:,2))*obj.hSVPS.Geometry.voxel_size(2);
|
|
C(:,2)= xshift + (B_I(:,2))*obj.hSVPS.Geometry.voxel_size(2);
|
|
obj.hROIs(end+1) = plot(obj.hAxis, ...
|
|
obj.hROIs(end+1) = plot(obj.hAxis, ...
|
|
C(:,2), C(:,1), ...
|
|
C(:,2), C(:,1), ...
|
|
- '--', 'LineWidth', 2, 'Color', obj.hSVPS.Geometry.ROIS{i}.color);
|
|
|
|
|
|
+ '-', 'LineWidth', 2, 'Color', obj.hSVPS.Geometry.ROIS{i}.color);
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end % end of IF
|
|
end % end of IF
|