You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, VirtualWSIReadersupports two modes: rgb and bool:
However, in reality, bool mode can process single-channel np.uint8 images. Even now, without code modifications, it works fine on matrixes with values other than 0 or 1. uint8 is wider than bool but almost always takes the same amount of memory.
If someone uses it with HSV images, it will work just fine, except for the fact that VirtualWSIReader will be called with mode="rgb", which makes no sence.
Let's rename these modes to single channel and multichannel?
The text was updated successfully, but these errors were encountered:
- Adds support for multichannel inputs e.g., image masks, feature maps etc. Fixes#609 and #610
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
Description
Currently,
VirtualWSIReader
supports two modes:rgb
andbool
:bool
mode can process single-channelnp.uint8
images. Even now, without code modifications, it works fine on matrixes with values other than0
or1
.uint8
is wider thanbool
but almost always takes the same amount of memory.mode="rgb"
, which makes no sence.Let's rename these modes to
single channel
andmultichannel
?The text was updated successfully, but these errors were encountered: