[Insight-users] creating my first finding max value in neighborhood

David Doria daviddoria at gmail.com
Mon Feb 28 10:35:21 EST 2011


On Mon, Feb 28, 2011 at 10:22 AM, john smith <mkitkinsightuser at gmail.com>wrote:

> Hi to all,
>
>  I am trying to develop my first filter in itk using visualstudio2010 and
> cmake. This filter devides my input image into neighborhoods of nine pixels
> and finds their maximum value. Then, this value is transfered to one pixel
> of my output image. I have written the following code, but I have some
> failures that I cannot understand. Could someone help me to overide my
> problems? Furthermore, I would like to know if it is possible to write my
> own filter only with .cxx and .txt files, like*
> http://www.itk.org/Wiki/ITK/Examples/Iterators/ConstNeighborhoodIterator*.
>
>
> Thanks
>
>
Can you describe the failures? Are they compiler errors? Crashes? Incorrect
results?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110228/5b5dabcd/attachment.htm>


More information about the Insight-users mailing list