input masks
Issue #8
wontfix
since you prefer this forum...
I was wondering if it would be difficult to slightly modify the requirements for the input masks. I believe (and I may be mistaken) that the required format is 0 for unmasked pixels and 1 for masked pixels. How about 0 for unmasked and accepting ANY other number for masked? In this way you'd be able to directly input maps from, say, SExtractor (segmentation or object images), which uses numbers >1 for multi-object fields...
Just a thought.
Comments (2)
-
repo owner -
repo owner - changed status to wontfix
feel free to open again if you would like to see this as a feature of LSDCat - but for now I will close this, given that above snippet should somehow do the job.
- Log in to comment
What about a little python-snippet like this, which will convert your masks accordingly.
Untesteted - but something like this should convert a segmentation map into a mask that lsd-cat chews.