views:

49

answers:

1

Hi,

I have an image which is a binary mask, I want to characterize the contours of the black zones in the mask, I have found several funtionalities to detect the borders between both zones but only as a new image but what I want is the description of this border, not a new image. Is there any functionality in java advance imaging or in another library which can be applied on the mask to retrieve a representation of the geometrical shape of black zones?. The representation can be either a vectorization of the shape, a polygonal approximation, chain code............All I have found about is theoretical solutions for the problem. Thanks in advance.

Best Regards

+1  A: 

Are you comfortable writing a routine that walks the boundary and collects a list of the boundary pixels? If you had such a list, would it let you form the descriptor you have in mind?

behindthefall
+1 That's how I would have approached it as well
Smasher