Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
9c268b07
Commit
9c268b07
authored
Mar 27, 2012
by
Luke Campagnola
Browse files
fix from last rev
parent
ad232ff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.py
View file @
9c268b07
...
...
@@ -586,7 +586,6 @@ def makeARGB(data, lut=None, levels=None, useRGBA=False):
else
:
order
=
[
2
,
1
,
0
,
3
]
## for some reason, the colors line up as BGR in the final image.
order
=
[
2
,
1
,
0
,
3
]
## for some reason, the colors line up as BGR in the final image.
if
data
.
shape
[
2
]
==
1
:
for
i
in
xrange
(
3
):
imgData
[...,
order
[
i
]]
=
data
[...,
0
]
...
...
@@ -1249,4 +1248,4 @@ def isosurface(data, level):
\ No newline at end of file
Write
Preview
Supports
Markdown
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