From bb401b75e10877601bc5a65b6d7994869eb43261 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 16 Sep 2016 13:31:52 +0200 Subject: [PATCH] Debug Number of Component in Pixel Type --- common/vvImageReader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1