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 ?
1 | initial version |
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 ?
2 | No.2 Revision |
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 ?
3 | No.3 Revision |
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 ?