[Insight-users] Region growing segmentation with a border?

Sergio Vera sergio.vera at alma3d.com
Tue Aug 3 03:24:56 EDT 2010


At first though maybe you can let the region grow past the plane, and later,
cut the growed region multiplying it with a mask image of the valid area if
you can obtain such a mask easily.

Regards.

On Mon, Aug 2, 2010 at 9:21 PM, Chris Turner
<cturnercomplex at googlemail.com>wrote:

> Hi,
>
> I have an image and want to segment it into different parts. Region
> growing should absolutely do the trick. But my only problem is that I
> also have some borders which the algorithm shouldn't cross. The
> Borders are specified as a plane. First I have to convert the plane
> coordinates into image coordinates. Is there an easy way to do so or
> do I have to do it by "hand" (....by myself)
>
> About the segmentation: My first thoughts are basically write my own
> region growing algorithm and add besides the intensity evaluation (if
> minThreshold<pixel_intensity<maxThreshold) a second evaluation which
> checks if the pixel is in the specific border/region.
>
>
> What do you think about this, do you have any better ideas? And also
> where should I start? I thought maybe just use the
> itkConnectedThresholdImageFilter (3.20) and change the iteration loop
> to something like this:
>
> [begins line 296]:
>
>    typedef FloodFilledImageFunctionConditionalIterator<OutputImageType,
> FunctionType> IteratorType;
>    IteratorType it ( outputImage, function, m_SeedList );
>    it.GoToBegin();
>
>    while( !it.IsAtEnd())
>      {
>       if(pixelPosition > border)
>          continue;
>      it.Set(m_ReplaceValue);
>      ++it;
>      progress.CompletedPixel();  // potential exception thrown here
>      }
>
> But I don't have the pixel position at this point - right?
>
>
> So how would an ITK export approach this problem?
>
> Thanks
> Chris
> _____________________________________
> 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
>



-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100803/60a09ff8/attachment.htm>


More information about the Insight-users mailing list