Matrix to single row
Hello,
I need to convert a square cv::Mat to a single row. Right now I iterate over its rows and append them horizontally (cv::hconcat) to a separate matrix to get my single row matrix, but is there perhaps a better way?
Best regards, Hans