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
XRD
darfix
Commits
3cb3cbfc
Commit
3cb3cbfc
authored
Feb 10, 2020
by
Julia Garriga Ferrer
Browse files
[gui][roi] Use data from stack when applying roi
parent
66516f75
Pipeline
#20974
passed with stage
in 2 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/roiSelectionWidget.py
View file @
3cb3cbfc
...
...
@@ -161,7 +161,7 @@ class ROISelectionWidget(qt.QWidget):
"""
self
.
roi
=
RectangleROI
()
self
.
roi
.
setGeometry
(
origin
=
self
.
getRoi
().
getOrigin
(),
size
=
self
.
getRoi
().
getSize
())
frames
=
apply_3D_ROI
(
self
.
dataset
.
data
,
size
=
numpy
.
flip
(
self
.
roi
.
getSize
()),
frames
=
apply_3D_ROI
(
self
.
_sv
.
getStack
()[
0
]
,
size
=
numpy
.
flip
(
self
.
roi
.
getSize
()),
center
=
numpy
.
flip
(
self
.
roi
.
getCenter
()))
self
.
setStack
(
frames
)
...
...
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