Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2017-01-27 03:50:49 -0600

Nbb gravatar image

watershed components

I have image. I run watershed(image, marker) on it. max_element(marker) = 9240. Does that mean i have 9241 watershed regions from 0 to 9240 ?

watershed components

I have image. I run watershed(image, marker) on it. max_element(marker) = 9240. Does that mean i have 9241 watershed regions from 0 to 9240 ? Is 0 a component ?

watershed components

I have image. extracted local minimas for watershed. I run watershed(image, marker) on it. max_element(marker) = 9240. Does that mean i sent them through connectedComponents to get the labels of each minimas (seeds). returns N, the total number of labels [0, N-1]. where 0 is the background. So if I send these to watershed now will my regions have 9241 watershed regions from 0 labels 1 to 9240 ? Is 0 a component N-1 ?