X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaRigidRegistration.git;a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageImageRecalageProperties.cxx;fp=PackRecalage%2Fsrc%2FbbPackRecalageImageRecalageProperties.cxx;h=6f763ab80ee6dc8e8dc725f7137e13d584f79a87;hp=ed42c76cf237c027ae47d9cae8daff54fa081a62;hb=5de2560696c73fae856eba087176a1a7b0ba5fbd;hpb=6b024ba9309731b6ba4591ea2f429aa89de3aa9c diff --git a/PackRecalage/src/bbPackRecalageImageRecalageProperties.cxx b/PackRecalage/src/bbPackRecalageImageRecalageProperties.cxx index ed42c76..6f763ab 100644 --- a/PackRecalage/src/bbPackRecalageImageRecalageProperties.cxx +++ b/PackRecalage/src/bbPackRecalageImageRecalageProperties.cxx @@ -36,6 +36,8 @@ void ImageRecalageProperties::Process() image = bbGetInputIn(); if(image != NULL) { + bbSetOutputLengthX((int)image->GetDimensions()[0] - 1); + bbSetOutputLengthY((int)image->GetDimensions()[1] - 1); bbSetOutputLengthZ((int)image->GetDimensions()[2] - 1); if(image->GetScalarType() == VTK_DOUBLE)