Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
irp
HoloTomoToolbox
Commits
edc5f267
Commit
edc5f267
authored
Oct 15, 2019
by
Anna Lena R
Browse files
... and fixed indices
parent
cc4c9602
Pipeline
#111354
passed with stage
in 1 minute and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functions/phaseRetrieval/utilities/rescaleDefocusSeries.m
View file @
edc5f267
...
...
@@ -291,11 +291,11 @@ for imageIdx = idxMaxMagnification+direction:direction:idxMaxMagnification+direc
else
% align the cropped image to the reference using alignImages and dftregistration
[
~
,
shifts
,
rotAngleDegree
,
imFiltered
]
=
alignImages
(
imScaled
(
...
settings
.
cutTop
:
size
(
imScaled
,
1
)
-
settings
.
cutBottom
...
,
settings
.
cutLeft
:
size
(
imScaled
,
2
)
-
settings
.
cutRight
)
...
settings
.
cutTop
+
1
:
size
(
imScaled
,
1
)
-
settings
.
cutBottom
...
,
settings
.
cutLeft
+
1
:
size
(
imScaled
,
2
)
-
settings
.
cutRight
)
...
,
imReference
(
...
settings
.
cutTop
:
size
(
imReference
,
1
)
-
settings
.
cutBottom
...
,
settings
.
cutLeft
:
size
(
imReference
,
2
)
-
settings
.
cutRight
)
...
settings
.
cutTop
+
1
:
size
(
imReference
,
1
)
-
settings
.
cutBottom
...
,
settings
.
cutLeft
+
1
:
size
(
imReference
,
2
)
-
settings
.
cutRight
)
...
,
settings
);
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment