[Insight-users] Computing the median value of a rectangular region
Neil Panjwani
paniwani at gmail.com
Fri Jun 24 12:19:08 EDT 2011
You could divide the image into subregions via the "splitter" functions in
ITK. Then iterate each subregion, place the values in a std vector, sort,
and find the median.
2011/6/24 Françoise Lefebvre <lefebvre at imnc.in2p3.fr>
>
> Hi,
>
> Is there a simple method to compute the median of the values over a given
> rectangular region from an image. The MedianImageFunction only computes it
> over the standard 8, 26, etc. connected neighborhood of a pixel.
>
> Thank you in advance
>
> Regards,
>
> Françoise L.
>
> ______________________________**_______
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/**opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/**products/protraining.html<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 <http://www.itk.org/Wiki/ITK_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/**listinfo/insight-users<http://www.itk.org/mailman/listinfo/insight-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/b7de4fd9/attachment.htm>
More information about the Insight-users
mailing list