[ITK] [ITK-users] Location of 4-connected voxels with a specific intensity
Bradley Lowekamp
blowekamp at mail.nih.gov
Thu May 15 13:25:19 EDT 2014
Hello,
I am suggesting using a cross structuring element, which has the same topology as the 4-connected neighborhood. The output of gray scale dilation is the maximum value of the pixels contained in the structuring element at a location. There are plenty of textbooks and website which provide a more in depth description of grayscale morphology if you need further information.
SimpleITK's python binding may be a good tool to interactively explore how to combine some of these filters to get your desired results.
Hope that helps,
Brad
On May 15, 2014, at 1:15 PM, Mirco Serra <mirco9091 at hotmail.it> wrote:
> Hello Bradley,
> thanks again for your help. Just to make sure, you are suggesting I use use the itkGrayScaleDilateImageFilter with a binary ball structuring element of radius 1 followed by a itkThresholdImageFilter. Is that correct? How is the dilation helping find the 4-connected voxels that share the intensity property?
>
> Many many thanks,
> Mirco
> Subject: Re: [ITK-users] Location of 4-connected voxels with a specific intensity
> From: blowekamp at mail.nih.gov
> Date: Thu, 15 May 2014 11:49:32 -0400
> CC: insight-users at itk.org
> To: mirco9091 at hotmail.it
>
> Hello,
>
> I think a Grayscale dilate and then a threshold may do what you want, if you use a cross with a radius one. The dilate with take the maximum over this template.
>
> Hope that helps.
> Brad
>
> On May 15, 2014, at 11:45 AM, Mirco Serra <mirco9091 at hotmail.it> wrote:
>
> Hi guys,
>
> I have a 2D gray-scale image and I need to locate all the sets of 4-connected voxels that have an intensity below a certain threshold. Do you know which method may be the best in order to do so?
>
> Many thanks in advance for your help,
> Mirco
> _____________________________________
> 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.php
>
> 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://public.kitware.com/pipermail/community/attachments/20140515/6c99279f/attachment-0002.html>
-------------- next part --------------
_____________________________________
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.php
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
More information about the Community
mailing list