<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Mick,&nbsp;<div><br></div><div>I'm copying the list as you might get interesting responses...</div><div><br></div><div><blockquote type="cite">in fact I am looking for a contour transform in PD. I come from Matlab image processing and I am confortable with the Image Processing form of approaching images,<br>treating them like matrices, and applying Hit Or Miss transforms (are you familiar with this? and Mathematical Morphology?).</blockquote><br></div><div>Contour objects are not readily available in GEM as far as I can recall, but I am not an expert. A generic object to apply small matrices might be a useful thing to have though...</div><div><br></div><div><blockquote type="cite">how do you threshold a grey level image?<br></blockquote><div><br></div>check out pix_threshold</div><div><br></div><div><blockquote type="cite">not to make it too long, how do you find contours of a binary image?</blockquote><blockquote type="cite">and is there some way to run a kernel (little matrix, i.e. 3by3) on an image, apply some processing inside this kernel (i.e. calculate the minimum and set its value in the center pixel) to transform the whole image?</blockquote><br></div><div>you can check out the code for pix_mano.cpp in the extra folder of GEM. I think this is the best way to analyze the contour of an image. It sounds like pix_mano, or parts of its code, may already be doing what you are looking for?</div><div><br></div><div>best,</div><div><br></div><div>J</div><div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>***************</div><div>Jaime Oliver<br><a href="http://www.jaimeoliver.pe">www.jaimeoliver.pe</a><br>jo2357@columbia.edu<br>Columbia University<div><br><br></div></div><div><br></div></div></span></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jun 15, 2012, at 7:09 PM, mick mengucci wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi<br>excuse me if I write you<br>I saw your email at the bottom of an interesting patch called [pix_mano]<br><br>in fact I am looking for a contour transform in PD. I come from Matlab image processing and I am confortable with the Image Processing form of approaching images,<br>
treating them like matrices, and applying Hit Or Miss transforms (are you familiar with this? and Mathematical Morphology?).<br><br>not to make it too long, how do you find contours of a binary image? how do you threshold a grey level image?<br>
and is there some way to run a kernel (little matrix, i.e. 3by3) on an image, apply some processing inside this kernel (i.e. calculate the minimum and set its value in the center pixel) to transform the whole image?<br><br>
well, I appreciate your attention in reading this<br>then whatever you can do is ok<br><br>cheers<br>Mick Mengucci<br><br clear="all"><br>-- <br><a href="http://WWW.MISTURAPURA.NET/" target="_blank">WWW.MISTURAPURA.NET</a><br>
pure mixture vibration since 1995<br><a href="http://www.myspace.com/mickmengucci" target="_blank">www.myspace.com/mickmengucci</a><br><br><br>
</blockquote></div><br></div></body></html>