Repository navigation
Masking
#1153
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using rust-ndarray to do some image processing. I need to mask certain pixels in an image based on a classification mask (is it water, is it vegetation, etc.). Python's NumPy has the notion of an associated mask, and some imaging libraries have the notion of a "NoData" value. The mask is then used to mark a pixel as "ignore" in subsequent processing.
Is there an "idiomatic rust-ndarray way" to do this?
The pixel values are
u8oru16soNaNisn't a usable proxy for this capability.All reactions