I use ImageEnVect's image area selection function.
When I use the mouse to select an area on the image and also use the 'SelectRect' to read the coordinate value of the area range, but the value obtained is abnormal.
From the results below, it is unlikely that the four coordinate values in the rectangular range are abnormally large.
stru_RECT.Left = ImageEnVect1->SelectedRect.x;
stru_RECT.Top = ImageEnVect1->SelectedRect.y;
stru_RECT.Right = ImageEnVect1->SelectedRect.x +
stru_RECT.Bottom = ImageEnVect1->SelectedRect.y +
When I use the manual selection of the image area, why do I get the abnormal coordinate value?
If I use the code to select the area (like this), it can get the coordinate
normally. But, when manually selected areas will get abnormal coordinate values. Why?
ImageEnVect1->Select(650, 670, 850, 1030); // <-- It's OK.
Do I have to ignore something details?