fix from last rev
This commit is contained in:
parent
ad232ff79b
commit
9c268b0728
@ -586,7 +586,6 @@ def makeARGB(data, lut=None, levels=None, useRGBA=False):
|
|||||||
else:
|
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.
|
||||||
|
|
||||||
order = [2,1,0,3] ## for some reason, the colors line up as BGR in the final image.
|
|
||||||
if data.shape[2] == 1:
|
if data.shape[2] == 1:
|
||||||
for i in xrange(3):
|
for i in xrange(3):
|
||||||
imgData[..., order[i]] = data[..., 0]
|
imgData[..., order[i]] = data[..., 0]
|
||||||
@ -1249,4 +1248,4 @@ def isosurface(data, level):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user