Is opencv matrix data guaranteed to be continuous?

前端 未结 3 2203
臣服心动
臣服心动 2020-12-02 21:28

I know that, the data contained in an opencv matrix is not guaranteed to be continuous. To make myself clear, here is a paragraph from Opencv documentation:

3条回答
  •  情深已故
    2020-12-02 21:45

    When you create a Mat with Mat::create, it is continuous. Such operation like explicitly Mat::create, or implicitly Mat::clone, Mat::Mat(...).

提交回复
热议问题