From: tbaudier Date: Fri, 16 Sep 2016 11:31:52 +0000 (+0200) Subject: Debug Number of Component in Pixel Type X-Git-Tag: v1.4.0~3^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bb401b75e10877601bc5a65b6d7994869eb43261;p=clitk.git Debug Number of Component in Pixel Type --- diff --git a/common/vvImageReader.cxx b/common/vvImageReader.cxx index bc1dd20..0e4c22b 100644 --- a/common/vvImageReader.cxx +++ b/common/vvImageReader.cxx @@ -60,7 +60,7 @@ void vvImageReader::Update(LoadedImageType type) reader->ReadImageInformation(); if (mInputFilenames.size() > 1) Update(reader->GetNumberOfDimensions()+1,reader->GetComponentTypeAsString(reader->GetComponentType()),type); - else if (reader->GetComponentSize() > 1 && type != VECTORFIELD && type != VECTORFIELDWITHTIME) + else if (reader->GetNumberOfComponents() > 1 && type != VECTORFIELD && type != VECTORFIELDWITHTIME) Update(reader->GetNumberOfDimensions()+1,reader->GetComponentTypeAsString(reader->GetComponentType()),VECTORPIXELIMAGE); else Update(reader->GetNumberOfDimensions(),reader->GetComponentTypeAsString(reader->GetComponentType()),type);