-
Notifications
You must be signed in to change notification settings - Fork 1.5k
WSIReader get_patch => ChannelFirst behvaiour should be controlled through argument #4398
Copy link
Copy link
Closed
Labels
Feature requestPathology/MicroscopyDigital Pathology and Microscopy relatedDigital Pathology and Microscopy related
Description
MONAI/monai/data/wsi_reader.py
Line 459 in 61a0dc3
| patch = AsChannelFirst()(patch) # type: ignore |
We can't force it to convert it to ChannelFirst
This behavior should be configurable. Can't force the user to use ChannelFirst patch (specially in case of png..)
LoadImaged => MyTransform => EnsureChannelFirst
LoadWSI => MyTransform => EnsureChannelFirst
Little not consistent with LoadImage and LoadWSI .. in the 2nd case, I can't use my transform same as first case.. so I have to do something like this as a workaround
LoadWSI => AsChannelLast => MyTransform => EnsureChannelFirst
better to be consistent with what LoadImage does..
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature requestPathology/MicroscopyDigital Pathology and Microscopy relatedDigital Pathology and Microscopy related
Type
Projects
Status
💯 Complete