Ask Your Question

Revision history [back]

Is it Possible to Create a Continuous Image?

Is it possible to create a cv::Mat of arbitrary size for which isContinuous() will return true, i.e. no row padding, without using externally allocated data?

It seems that only the constructor for using externally allocated data supports setting the step/stride variable.

Is it Possible to Create a Continuous Image?

Is it possible to create a cv::Mat of arbitrary arbitrary size for which isContinuous() will return true, i.e. no no row padding, without without using externally allocated data?

It seems that only the constructor for using externally allocated data supports setting the step/stride variable.