X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FcreaImageIOGimmickView.cpp;h=3e1224b66c44f786abf094b46a218eb2db91f47b;hb=refs%2Ftags%2FCREATOOLS.2-0-3;hp=2fbc2586920fd133520f917c62c7193345900ef1;hpb=80dc7421c0a44fa7f37d19c7c5752ff6d0c0d38c;p=creaImageIO.git diff --git a/src/creaImageIOGimmickView.cpp b/src/creaImageIOGimmickView.cpp index 2fbc258..3e1224b 100644 --- a/src/creaImageIOGimmickView.cpp +++ b/src/creaImageIOGimmickView.cpp @@ -417,7 +417,7 @@ void GimmickView::ReadImagesNotThreaded(std::vector& s, std::vect vtkImageData* first = mReader.GetImage( i_file); int dim[3]; first->GetDimensions(dim); - if (dim[3] > 1) + if (dim[2] > 1) { bres = false; } @@ -462,7 +462,7 @@ void GimmickView::ReadImagesNotThreaded(std::vector& s, std::vect // If we want only one output information structure, we set it outside the loop if(!i_attr.mult) { - getAttributes(im.front(), o_output.front().infos,i_attr); + getAttributes(im.front(), o_output.front().infos, i_attr); } } @@ -564,7 +564,7 @@ void GimmickView::ReadImagesNotThreaded(std::vector& s, std::vect } - ////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////// // create an output structure with n entries (T size) = T + n output ////////////////////////////////////////////////////////// void GimmickView::readImages4(std::vector& o_output, std::vector im, @@ -685,7 +685,6 @@ void GimmickView::ReadImagesNotThreaded(std::vector& s, std::vect - void GimmickView::ReadImagesNotThreadedInVector(std::vector& s, std::vector im, int dimension) { // Create the output data @@ -927,4 +926,4 @@ void GimmickView::ReadImagesNotThreadedInVector(std::vector& s, s // } //} // -} // EO namespace creaImageIO \ No newline at end of file +} // EO namespace creaImageIO