]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageImageRecalageProperties.cxx
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageRecalageProperties.cxx
index ed42c76cf237c027ae47d9cae8daff54fa081a62..6f763ab80ee6dc8e8dc725f7137e13d584f79a87 100644 (file)
@@ -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)