[Insight-users] Oil painting filter in ITK?

Dženan Zukić dzenanz at gmail.com
Mon Jun 6 14:47:42 EDT 2011


Algorithmically it is similar. Median sorts the values in the neighborhood
and takes the middle one, this one creates a histogram of values in
the neighborhood and takes the highest peak.

However the effect is different: oil painting filter creates patches of
homogeneous intensity whose size is proportional to image content
and neighborhood size.

2011/6/6 Bill Lorensen <bill.lorensen at gmail.com>

> That algorithm looks similar to a median filter...
>
> 2011/6/6 Dženan Zukić <dzenanz at gmail.com>:
> > Thanks for the insight.
> > However I was already using anisotropic diffusion, and I was bothered by
> > blurring in certain situations, and that is why I wanted to try
> > oil-painting.
> > Since it is not present yet, I will implement it. The algorithm seems
> pretty
> > simple.
> > Is there any interest to make it available as an image filter for ITK,
> and
> > should I be developing it for v3.20 or v4alpha?
> > Regards,
> > Dženan
> > 2011/6/5 Luis Ibanez <luis.ibanez at kitware.com>
> >>
> >> Hi
> >>
> >> Yes, the filter
> >>
> >> itkVectorGradientAnisotropicDiffusionImageFilter
> >>
> >>
> http://www.itk.org/Doxygen/html/classitk_1_1VectorGradientAnisotropicDiffusionImageFilter.html
> >>
> >> will do the equivalent.
> >>
> >> See the example:
> >>
> >> ITK/Examples/Filtering/
> >>   RGBGradientAnisotropicDiffusionImageFilter.cxx
> >>
> >>
> >> Try running it as:
> >>
> >> RGBGradientAnisotropicDiffusionImageFilter  \
> >>   lena.jpg    itk_oil_lena.png    50    0.12
> >>
> >>
> >> If you want more "oilification"
> >> then increase the number of iterations.
> >>
> >>
> >>     Luis
> >>
> >>
> >> ------------------------------------------
> >> 2011/6/3 Dženan Zukić <dzenanz at gmail.com>:
> >> > Hi all,
> >> > is there something like an oil painting filter in ITK?
> >> > Regards,
> >> > Dženan
> >> > _____________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://www.kitware.com/products/protraining.html
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.itk.org/mailman/listinfo/insight-users
> >> >
> >> >
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110606/3d8139d6/attachment.htm>


More information about the Insight-users mailing list