[Insight-users] FlatStructuringElement

David Pastor david.pastor at die.upm.es
Thu Nov 26 13:33:18 EST 2009


Hello,

Replying to you and Gaëtan Lehmann,

I used to work with the Insight Journal consolidatedMorphology package, but 
few days ago I moved to itk 3.16 with the review on and in that version of 
consolidatedMorphology there was not a GetImage and FromImage function in 
the FlatStructuringElement.

What I did (and it worked), was to take the code of the Insight Journal 
FlatStructuringElement and added some functions in my code that do the same 
as GetImage nn FromImage.

Cheers
david

----- Original Message ----- 
From: "Luis Ibanez" <luis.ibanez at kitware.com>
To: "David Pastor" <david.pastor at die.upm.es>
Cc: <insight-users at itk.org>
Sent: Thursday, November 26, 2009 6:25 PM
Subject: Re: [Insight-users] FlatStructuringElement


> Hi David,
>
>
>             a bit more information please...
>
>
> 1)  What version of ITK are you using now ?
>
>
> 2) Are you getting a compilation error ?
>     If so,
>     please post the exact error message to the mailing list.
>
>
> 3) Please post the section of code where you
>    are getting the error.
>
>
> If you happen to be using the CVS version of ITK,
> you may find useful to look at the examples that use
> the FlatStructuringElement in:
>
>     Insight/Testing/Code/Review/
> itkFlatStructuringElementTest.cxx
> itkMapMaskedRankImageFilterTest.cxx
> itkMapOptGrayscaleDilateImageFilterTest.cxx
> itkMapOptGrayscaleErodeImageFilterTest.cxx
> itkMapOptGrayscaleMorphologicalClosingImageFilterTest.cxx
> itkMapOptGrayscaleMorphologicalOpeningImageFilterTest.cxx
> itkMapRankImageFilterTest.cxx
> itkOptGrayscaleDilateImageFilterTest.cxx
> itkOptGrayscaleErodeImageFilterTest.cxx
> itkOptGrayscaleMorphologicalClosingImageFilterTest.cxx
> itkOptGrayscaleMorphologicalOpeningImageFilterTest.cxx
>
>
>
>     Regards,
>
>
>              Luis
>
>
> ------------------------------------------------
> On Tue, Nov 24, 2009 at 12:37 PM, David Pastor <david.pastor at die.upm.es> 
> wrote:
>> Hello,
>>
>> I've changed my ITK version and now I'm having problems with
>> FlatStructuringElement, I used to call FromImage function to create 
>> custom
>> structuring elements but it's not available anymore... is there any
>> alternative method for it?
>>
>> thanks
>> david pastor
>> _____________________________________
>> 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
>>
>>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> 



More information about the Insight-users mailing list