ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 About ImageEnVect image area selection function...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tylin123

Taiwan
25 Posts

Posted - Jan 30 2019 :  21:20:32  Show Profile  Reply
Dear Sir,

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 +
                       ImageEnVect1->SelectedRect.width;
    stru_RECT.Bottom = ImageEnVect1->SelectedRect.y +
                       ImageEnVect1->SelectedRect.height;



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?

Thanks.

James Lin
2019/01/31

xequte

4399 Posts

Posted - Jan 30 2019 :  23:19:44  Show Profile  Reply
Hi James

I cannot reproduce this in 8.1.2. What version of ImageEn are you using?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Jan 31 2019 :  02:47:37  Show Profile  Reply
Hi, Nigel:

The ImageEn version and development tool version I am using is as follows:

ImageEN v8.1.0(41851)
Embarcadero C++ Builder Berlin 10.1

James Lin.
Go to Top of Page

xequte

4399 Posts

Posted - Jan 31 2019 :  04:03:45  Show Profile  Reply
Hi James

Please email me for 8.1.2, and if the problem still exists give me the steps to reproduce.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Feb 11 2019 :  02:40:45  Show Profile  Reply
Hi, Nigel

Good day!

Finally I found the problem.
Because I combined the wrong options when setting up MouseInteract.
Thank you for your reply.

https://www.imageen.com/help/ImageEn/TIEMouseInteractItems.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: