diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-05-10 12:17:13 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-05-10 12:17:13 +0100 |
commit | f5befc6b94366ebb966968ca648bfbdce17e37c3 (patch) | |
tree | 446d13d777f2afd2c4e962692f18beb480eb6a84 | |
parent | 4183664214a30a45ffdc4a2f10b70c72c7fb6cce (diff) | |
download | framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.gz framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.bz2 framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.xz framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.zip |
removed vertical from 2D gradient
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py index 33dede2..6f32845 100644 --- a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py +++ b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py @@ -51,7 +51,7 @@ class Gradient(LinearOperator): expected_order = [ImageGeometry.VERTICAL, ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X] else: # 2D - expected_order = [ImageGeometry.VERTICAL, ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X] + expected_order = [ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X] self.ind = self.gm_domain.get_order_by_label(self.gm_domain.dimension_labels, expected_order) # self.ind = numpy.arange(self.gm_domain.length) elif self.correlation==Gradient.CORRELATION_SPACECHANNEL: |