···743743 return true;
744744 }
745745746746+ if (header[0] >= 32 || header[1] >= 32) {
747747+ CALIB_ERROR("Matrix dimensions for '%s' is too large: '%ux%u'", name, header[0], header[1]);
748748+ return false;
749749+ }
750750+746751 //! @todo We may have written things other than CV_32F and CV_64F.
747752 if (header[0] == 4) {
748753 temp.create(static_cast<int>(header[1]), static_cast<int>(header[2]), CV_32F);