-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi there! Thanks for your gorgeous project.
I run this project with
Opencv 4.5.4 & MSVC 2017
after change the view 3D, i open the examples imgs, but the program crashed, the log info is
OpenCV(4.5.4) Error: Assertion failed ((unsigned)i0 < (unsigned)size.p[0]) in cv::Mat::at
the crash happened at
void My::Parse::parseImage(int dimension,QListcv::Mat& list,QListMy::Shape3D*& shapes,QList<Label3D*>& labels){
line 407
if(dimension==2){
cv::Mat mat3=cv::Mat(list.length(),list[0].rows,CV_8UC1);
for(int i=0;i<mat3.rows;i++){
for(int j=0;j<mat3.cols;j++){
mat3.at(i,j)=list[i].at(list[0].rows-j,labels[2]->zindex);
}
}
i want to know is it possible there is a bug? Or just the compatibility problem of opencv?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels