|
@@ -158,6 +158,7 @@ class Raster:
|
|
# the type is complex means this is a SAR data
|
|
# the type is complex means this is a SAR data
|
|
if isinstance(type(ima[0, 0]), complex):
|
|
if isinstance(type(ima[0, 0]), complex):
|
|
ima = abs(ima)
|
|
ima = abs(ima)
|
|
|
|
+ ima = ima.squeeze()
|
|
else:
|
|
else:
|
|
ima = ima.transpose((1, 2, 0))
|
|
ima = ima.transpose((1, 2, 0))
|
|
if self.to_uint8 is True:
|
|
if self.to_uint8 is True:
|