ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 About ImageEnVect image area selection function...

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
tylin123 Posted - Jan 30 2019 : 21:20:32
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
4   L A T E S T    R E P L I E S    (Newest First)
tylin123 Posted - Feb 11 2019 : 02:40:45
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/TIEMouseInteractItems.html
xequte Posted - Jan 31 2019 : 04:03:45
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
tylin123 Posted - Jan 31 2019 : 02:47:37
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.
xequte Posted - Jan 30 2019 : 23:19:44
Hi James

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



Nigel
Xequte Software
www.imageen.com