[Insight-users] How to compute the local maximas in an image

Oliver Trebbe otrebbe at uni-muenster.de
Fri Dec 19 13:43:55 EST 2008


Oliver Trebbe schrieb:
> Gaëtan Lehmann schrieb:
>>
>> Le 19 déc. 08 à 15:29, Oliver Trebbe a écrit :
>>
>>> Hello again Guys :)
>>>
>>> i just need the number of the maximas, where they are can also be 
>>> important but not necessary...
>>
>>
>> Hi,
>>
>> You may want to try an itk::RegionalMaximaImageFilter followed by an 
>> itk::ConnectedComponentImageFilter. Once the filters updated, you can 
>> get the number of regional maxima with the method 
>> itk::ConnectedComponentImageFilter::GetObjectCount().
>>
>> Maybe regional extrema is not exactly what you want though.
>>
>> Regards,
>>
>> Gaëtan
>>
> Hi,
>
> dont know where´s my failure, but it says there is no 
> itkRegionalMaximaImageFile header...
> so i used the Valued, this one works...
> cause of "Maybe regional extrema is not exactly what you want though."
> I want the 1 derivate of my 3D Image with extracted Regions (not in a 
> ROI just in a Image in a List) to know how many watersheds i need to 
> use or lay above it, or how to say...
> (maybe im also just wrong in my thoughts and u know how to do it 
> better :))
>
> Regards
>
> Oliver
>
And to explain it better:
My Image is (imho) defined as a 'model' of a Polynomial of n degrees so 
i want a Polyonomial to fit into it, and then i want to get the 
Polynomials extremas...

Regards

Oliver

-- 
Oliver Trebbe
Department of Neurology
University of Muenster
48129 Muenster, Germany




More information about the Insight-users mailing list