[Insight-users] ScalarImageTextureCalculator

marquis marquis2 at etu.unige.ch
Sat Mar 26 16:22:29 EST 2005


hi all,

I read images into "short" pixel Type and i am using the  
ScalarImageTextureCalculator.
With dicom images, it seems to give good values but with jpegs,
i got always just 0's and 1's :

	calculator->SetInput( image );
	calculator->Compute();
	itk::VectorContainer< unsigned char, double >::Pointer means =
		calculator->GetFeatureMeans();
	means->GetElement(0) : always 1  ("energy")
	means->GetElement(1) : always 0 ("entropy")
	means->GetElement(2) : always 1 ("idm")
	means->GetElement(3) : always 0 ("inertia")
	means->GetElement(4) : always 0 ("shade")
	means->GetElement(5) : always 0 ("prominence");

I perform no pre-traitement on the images.
Am i missing sth?

Thanks
Samuel


More information about the Insight-users mailing list