Dear Gitlab Users, for our upcoming upgrade to Gitlab v14, Gitlab will be unavailable on Thursday, 05.08.2021 from 5:00 pm to approximately 7:00 pm. Note that with v14, certain breaking changes will be introduced (https://about.gitlab.com/blog/2021/06/04/gitlab-moving-to-14-breaking-changes/).

Commit d615ef9f authored by Anna Lena R's avatar Anna Lena R
Browse files

deleted changes-cropping is done in alignImages

parent edc5f267
Pipeline #111359 passed with stage
in 1 minute and 15 seconds
......@@ -290,13 +290,7 @@ for imageIdx = idxMaxMagnification+direction:direction:idxMaxMagnification+direc
imFiltered = imScaled;
else
% align the cropped image to the reference using alignImages and dftregistration
[~, shifts, rotAngleDegree, imFiltered] = alignImages(imScaled(...
settings.cutTop + 1: size(imScaled,1)-settings.cutBottom ...
, settings.cutLeft + 1 : size(imScaled,2)-settings.cutRight) ...
, imReference(...
settings.cutTop + 1 : size(imReference,1)-settings.cutBottom ...
, settings.cutLeft + 1 : size(imReference,2)-settings.cutRight) ...
,settings);
[~, shifts, rotAngleDegree, imFiltered] = alignImages(imScaled, imReference ,settings);
end
% Apply scaling and registered shifts/rotations to original image (performed in a single step
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment