You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running your test and I get a segmentation fault at line 89 of Compare.cpp : resize(dist, dist, Size(400, 400));
I don't know if it can be related but in the for loop just above, the one filling dist, There are several warning about uncompatible types.
The line : dist.at<Vec3b>(j,i)={255-0.6*shortest_2d[i][j], 200-0.6*shortest_2d[i][j], 200-0.6*shortest_2d[i][j]};
There are doubles and ints being forced into unsigned char.
Edit : I'm using OpenCV 4.5.5.
The text was updated successfully, but these errors were encountered:
Hello,
I tried running your test and I get a segmentation fault at line 89 of Compare.cpp :
resize(dist, dist, Size(400, 400));
I don't know if it can be related but in the for loop just above, the one filling
dist
, There are several warning about uncompatible types.The line :
dist.at<Vec3b>(j,i)={255-0.6*shortest_2d[i][j], 200-0.6*shortest_2d[i][j], 200-0.6*shortest_2d[i][j]};
There are doubles and ints being forced into unsigned char.
Edit : I'm using OpenCV 4.5.5.
The text was updated successfully, but these errors were encountered: