Commit d867657d authored by joeljonsson's avatar joeljonsson
Browse files

fixed issue where python arrays were read in transposed

parent 22f06831
......@@ -125,7 +125,7 @@ public:
PixelData<T> input_img;
//TODO: fix memory/ownership passing or just revert to copying?
input_img.init_from_mesh(buf.shape[2], buf.shape[1], buf.shape[0], ptr); // may lead to memory issues
input_img.init_from_mesh(buf.shape[1], buf.shape[0], buf.shape[2], ptr); // may lead to memory issues
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment