Maximiliano Suster
Maximiliano Suster
> That's true on a 64-bit CPU; it's `Int32` on a 32-bit CPU. Safest is to use `Int`. What happens when you provide `convert(Int, Base.size(img, 1))` and `convert(Int, Base.size(img, 2))`?
See the following posts (old but still relevant) - http://bytefish.de/blog/opencv/code_snippets/ - http://stackoverflow.com/questions/11511715/opencv-indexing-through-mat-of-unknowna-type.
I found a solution for conversion of image arrays from JuliaImages to Mat using templates and have written wrappers to test it. The key is to use `cv::DataType::type` when constructing...