You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im = fliplr(im); %To keep it in the same orientation as the uni-directional scan
53
+
im = fliplr(im); %To keep it in the same orientation as the uni-directional scan
47
54
48
-
im = im(:,1+phaseShift:end-phaseShift); %Trim the turnaround on one edge (BADLY)
49
-
case'uni'
50
-
im = im(:,end-imSize+1:end); %Trim the turnaround on one edge
55
+
im = im(:,1+bidiPhaseDelay:end-bidiPhaseDelay); %Trim the turnaround on one edge (BADLY)
56
+
set(h(chan).imAx,'XLim',[1,size(im,2)]);
57
+
else
58
+
im = im(:,end-imSize+1:end); %Trim the turnaround on one edge
51
59
end
52
60
53
61
%Update image
54
62
set(h(chan).hAx,'CData',im);
55
-
set(h(chan).imAx,'CLim',[0,2],'XLim',[1,size(im,2)]); %TODO: This is potentially a problem point should we choose to use a different digitisation range
63
+
56
64
57
65
58
66
if h(chan).histAx ~=0
@@ -62,7 +70,7 @@ function plotImageData(imData,h,saveFname,scanPattern)
62
70
%Keep the axes of the histogram looking nice
63
71
set(h(chan).histAx, ...
64
72
'YTick', [], ...
65
-
'XLim', [-0.1,2], ...%TODO: This is potentially a problem point should we choose to use a different digitisation range
0 commit comments