Skip to content
Snippets Groups Projects
Commit 879e5982 authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Adapted image size for Alcd to 20m resolution.

parent 5c7b0b1f
No related branches found
No related tags found
No related merge requests found
...@@ -819,6 +819,8 @@ class StandardEoDataset(ImageDataset): ...@@ -819,6 +819,8 @@ class StandardEoDataset(ImageDataset):
The preprocessed sample ground truth. The preprocessed sample ground truth.
""" """
# set spectral data of pixels labeled as NoData to 0
# data[:, np.where(gt == self.cval)] = 0
return data, gt return data, gt
def compose_scenes(self): def compose_scenes(self):
...@@ -996,7 +998,7 @@ class AlcdDataset(StandardEoDataset): ...@@ -996,7 +998,7 @@ class AlcdDataset(StandardEoDataset):
The image size (height, width). The image size (height, width).
""" """
return (1830, 1830) return (5490, 5490)
@staticmethod @staticmethod
def get_sensor(): def get_sensor():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment