Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nieverge
scripts
Commits
9d142bf8
Commit
9d142bf8
authored
May 23, 2019
by
Adrian Nievergelt
Browse files
flip images for consistent display
parent
62e2e1f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
processing/makeMRCthumbnails.py
View file @
9d142bf8
...
...
@@ -75,7 +75,7 @@ for slice in outputSlices:
yOutSize
=
int
(
xOutSize
/
image
.
shape
[
0
]
*
image
.
shape
[
1
])
# flip horizontally
cv2
.
flip
(
image
,
image
,
+
1
)
cv2
.
flip
(
image
,
image
,
1
)
image
=
cv2
.
GaussianBlur
(
image
,
(
9
,
9
),
4
)
image
=
cv2
.
normalize
(
image
,
None
,
0
,
255
,
cv2
.
NORM_MINMAX
)
image
=
cv2
.
resize
(
image
,
(
xOutSize
,
yOutSize
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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