Vinoj John Hosan
Vinoj John Hosan

Reputation: 6873

is there opencv matrix multiplication limits in size?

I am multiplying two big matrices of size 360x25600 and 25600x360. A error occurs as memory access violation.

a - size of 360x25600
b - size of 25600x360

cv::Mat L_mat;

cv::Multiply(a,b,L_mat);

Upvotes: 0

Views: 161

Answers (1)

Timothy Shields
Timothy Shields

Reputation: 79531

cv::muliply is element-wise multiplication. You want operator *.

Upvotes: 1

Related Questions