-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* only log downsampling for each MB ob precessed data * log every gigabyte instead of every megabyte * implement PR feedback * WIP: implement high level dataset api * WIP: implement TiffMag * implement test for dataset api * refactor high level dataset api * add test data for WKDataset * improve high level dataset api and add more tests * use seed in tests to achieve deterministic behaviour * implement a test for writing out of bounds with a wk_slice * improve quality of dataset tests * make naming schema of test files consistent * implement PR feedback * rename tiffs in testdata * Improve error message and reformat code * add type annotation * rename Slice to View * remove comments and reformat code * add scikit-image (which is needed for skimage) as dependency * update version of scikit-image * fix relative paths in tests * reformat code
- Loading branch information
1 parent
8079c96
commit 24f3aca
Showing
23 changed files
with
1,936 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"id": { | ||
"name": "tiff_dataset_1", | ||
"team": "" | ||
}, | ||
"scale": [ | ||
1 | ||
], | ||
"dataLayers": [ | ||
{ | ||
"name": "color", | ||
"category": "color", | ||
"elementClass": "uint8", | ||
"num_channels": 1, | ||
"boundingBox": { | ||
"topLeft": [ | ||
0, | ||
0, | ||
0 | ||
], | ||
"width": 265, | ||
"height": 265, | ||
"depth": 10 | ||
}, | ||
"wkwResolutions": [ | ||
{ | ||
"resolution": [ | ||
1, | ||
1, | ||
1 | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"grid_shape": [ | ||
0, | ||
0 | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"id": { | ||
"name": "simple_wk_dataset", | ||
"team": "" | ||
}, | ||
"scale": [ | ||
1 | ||
], | ||
"dataLayers": [ | ||
{ | ||
"dataFormat": "wkw", | ||
"name": "color", | ||
"category": "color", | ||
"elementClass": "uint8", | ||
"num_channels": 3, | ||
"boundingBox": { | ||
"topLeft": [ | ||
0, | ||
0, | ||
0 | ||
], | ||
"width": 24, | ||
"height": 24, | ||
"depth": 24 | ||
}, | ||
"wkwResolutions": [ | ||
{ | ||
"resolution": [ | ||
1, | ||
1, | ||
1 | ||
], | ||
"cube_length": 32 | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.