<div class="gmail_quote">On Tue, Aug 21, 2012 at 4:59 AM, D, Yamini <span dir="ltr">&lt;<a href="mailto:Yamini.D@philips.com" target="_blank">Yamini.D@philips.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">I am trying to run a program for erosion, after building the project, I run the same in cmd window. I find its failing at “ writer-&gt; update();”  line.</p>
<p class="MsoNormal">The following is the code and the error displayed .</p>
<p class="MsoNormal"><br></p></div></div></blockquote><br clear="all">Try replacing the reader with a programatically generated image. This will tell you if you are doing anything wrong with the core code of the example (the erosion). If that doesn&#39;t work, then there must be something wrong with your input image. Give it a try and if it still fails please post your data.</div>
<div class="gmail_quote"><br>David</div>