Closed julianakuei closed 4 years ago
@julianakuei Thanks you for your feedback, (really for the delay !). Perhaps you have found already a solution but here are the steps that you can do with the DGtalTools:
img2freeman -i tmp.pgm > tmp.fc freeman2sdp -i tmp.fc -o > contourS.sdp
You will obtain a set of several concurs:
contourS.sdp.gz
If you want you can also check the result that by using the tools displaySet2dPts from the DGtalTools-contrib
Like:
displaySet2dPts -i contourS.sdp -o titi.eps
you will obtain such a result:
Help that it can be useful for you !
I want to generate "sdp file" from a contour image (see the attachments), but I saw the DGtal library only support "freeman to sdp"; the problem is that the freeman chain data only can extract the outside contour, so the inside contour will be missed. I am wondering if there are any tool that can generate sdp file for this case?