how to get freeman chain code in opencv?

asked 2014-03-11 08:32:21 -0500

sujay gravatar image

updated 2014-03-11 08:32:56 -0500

berak gravatar image

I am trying to get chain code using this function but unable to understand its parameters and explanation is not given for each parameter on opencv documentation. C: CvSeq* cvApproxChains(CvSeq* src_seq, CvMemStorage* storage, int method=CV_CHAIN_APPROX_SIMPLE, double parameter=0, int minimal_perimeter=0, int recursive=0 ) this function takng chaincode as input, is there any way to retrieve the chaincode?

if any one come across same problem earlier and having solution for that then plz reply thankyou!!

http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html?highlight=findcontours#approxchains

edit retag flag offensive close merge delete

Comments

Were you able to get an answer? I am trying the same thing.

bob409 gravatar imagebob409 ( 2016-03-22 06:23:13 -0500 )edit