-
Notifications
You must be signed in to change notification settings - Fork 1
Better normalization supporting different normalization transforms for input/target and different normalization per channel #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
bddb870
Add ChannelwiseTransform for channel-specific image processing
wli51 7475437
Support additionally input and target specific transforms in BaseImag…
wli51 31a254a
Refactor crop generation module which is getting increasingly complic…
wli51 7ceb827
Add new tile crop generator for creating non-overlapping crops tiling…
wli51 b5b58ce
Refactor old crop_generator.py by removing functionalities moved to s…
wli51 b0f4416
Enhance crop generation modules with optionally displayed statistics …
wli51 0a5ac36
Add validation for crop_size parameter in generate_point_centered_cro…
wli51 343138c
Enhance module documentation for tile crop generator with additional …
wli51 589bac9
Fix type hint for 'how' parameter in CropImageDataset class to use Cr…
wli51 df62096
Expose helper methods to facilitate testing.
wli51 07ae4f9
Add unit tests for crop summary and point-centered crop generator fun…
wli51 f747f51
Merge branch 'refactor-crop-gen' into better-normalization to resolve…
wli51 eebbe54
Correcrt README numbering
wli51 d7efaa9
Enhance documentation for transform normalization and channelwise tra…
wli51 0d30658
Refactor transform application in BaseImageDataset to reduce redundan…
wli51 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
14 changes: 14 additions & 0 deletions
14
src/virtual_stain_flow/datasets/ds_engine/crop_generators/__init__.py
This file contains hidden or 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,14 @@ | ||
| from .protocol import CropMap, CropSpec, CropGenerator | ||
| from .center import generate_center_crops, _compute_center_crop | ||
| from .point_centered import generate_point_centered_crops | ||
| from .tile import generate_tile_crops | ||
|
|
||
| __all__ = [ | ||
| "CropMap", | ||
| "CropSpec", | ||
| "CropGenerator", | ||
| "generate_center_crops", | ||
| "generate_point_centered_crops", | ||
| "generate_tile_crops", | ||
| "_compute_center_crop" | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.