<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Jeanna,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">you can safely ignore "libpng warning: iCCP: known incorrect sRGB profile".<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default"><font face="verdana, sans-serif">LaplacianRecursiveGaussianImageFilter works for me:</font></div><div class="gmail_default"><font face="verdana, sans-serif"><img src="cid:ii_1566a427460b50d4" alt="Inline image 1" width="562" height="316"></font><br></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">I am not a Mac user, but your error stinks of version mixing: either the ITK libraries in your path are a different version from the one your program is compiled with, or have been compiled with a different compiler version (this is sometimes a problem with Visual Studio versions).</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Regards,</font></div><div class="gmail_default"><font face="verdana, sans-serif">Dženan</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 8, 2016 at 12:44 AM, Jeanna S. <span dir="ltr"><<a href="mailto:jeannasheen@gmail.com" target="_blank">jeannasheen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am trying to run the ITK <wbr>LaplacianRecursiveGaussianImag<wbr>eFilter Example (<a href="https://itk.org/Wiki/ITK/Examples/EdgesAndGradients/LaplacianRecursiveGaussianImageFilter" target="_blank">here</a>), but I keep getting this error:</div><div><br></div><div>libc++abi.dylib: terminating with uncaught exception of type itk::ExceptionObject: /Users/JJ/Desktop/ITKstuffs/<wbr>ITK/Modules/Core/Common/<wbr>include/itkImageBase.hxx:326:<br></div><div>
<p><span>itk::ERROR: Image(0x7fd8a4970e70): itk::ImageBase::<wbr>CopyInformation() cannot cast PKN3itk10DataObjectE to PKN3itk9ImageBaseILj2EEE</span></p><p>I also once got this error: </p><p>libpng warning: iCCP: known incorrect sRGB profile</p><p>followed by the above error.</p><p>Does anybody know why this error is happening and/or can provide an image that will work with the example?</p><p>Thanks in advance.</p>
</div></div>
<br>______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>