Form descriptor

I have an image that is a binary mask, I want to characterize the outlines of the black zones in the mask, I discovered several functions for detecting borders between both zones, but only as a new image, but what I want is a description of that border, not new image. Is there any functionality in the Java view at the start or another library that can be applied to a mask to get a geometric representation of the black areas? The view can be either shape vectorization, polygonal approximation, chained code ... All I've found is a theoretical solution to the problem.

0


a source to share


2 answers


Are you more comfortable writing a routine that walks along the border and collects a list of border pixels? If you had a list like this, would it allow you to form the descriptor you mean?



+1


a source


You can use histogram based descriptors like SIFT, SURF, etc. OpenCV has implemented a couple of extended level descriptors. If your descriptors require you to be affine covariant (scale and rotation invariant), I highly recommend you try SIFT. The local binary pattern is also an effective choice.



0


a source







All Articles