[Insight-users] Does WrapITK support texture feature extraction?

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Jan 12 11:02:10 EST 2009


Le 12 janv. 09 à 14:52, Gaëtan Lehmann a écrit :

>
> Le 12 janv. 09 à 13:05, Shlomi Lifshits a écrit :
>
>>
>> Hi All,
>>
>> When executing the following Python code, I get an error:
>>
>> import itk
>> InputPixelType=itk.UC
>> Dimension=2
>>
>> InputImageType=itk.Image[InputPixelType,Dimension]
>> GLCMGeneratorType
>> =
>> itk.ScalarImageToGreyLevelCooccurrenceMatrixGenerator[InputImageType]
>>
>> The error:
>>
>> AttributeError: 'LazyITKModule' object has no attribute
>> 'ScalarImageToGreyLevelCooccurrenceMatrixGenerator'
>>
>> Does WrapITK support texture feature extraction?
>>
>
> Hi Shlomi,
>
> No WrapITK doesn't have that class. The stable version - the one  
> included in ITK source code - shouldn't have it in the near future,  
> because it requires to use the itk::Statistics::Histogram class, and  
> this class can't be used with cableswig.
>
> It should be possible to put it in wrapitk unstable - the one hosted  
> at googlecode. I'll see what I can do.
>

Just done.

http://code.google.com/p/wrapitk/source/detail?r=174

If you get a chance to test it, please let me know how it works for you.

Regards,

Gaëtan


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090112/0b3a3bd3/attachment.pgp>


More information about the Insight-users mailing list