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
 ROI (ROI2-ROI1) selection question

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
zhengyuanyi27 Posted - Oct 10 2020 : 13:12:25
I just wonder whether it is possible to make the following selection? Thanks.
I know it doesn't permit us to make multiple ROI selections in one Imageenvect, I wonder whether we can make the following selection in two or more Imageenvect.
For example,
Open the same Image in Imageenvect1 and Imageenvect2 and Imageenvecr3.
select ROI-1 in Imageenvect1, and then select a bigger ROI in Imageenvect2, and the program will automatically select the area ROI3 which is inside ROI2 and outside ROI1 (ROI2-ROI1) in Imageenvect3.
Thanks a lot.




2   L A T E S T    R E P L I E S    (Newest First)
zhengyuanyi27 Posted - Oct 13 2020 : 13:07:50
Thank you very much.
The following codes work very well.
ImageEnView1.Select( 42, 133, 826, 614, iespReplace );
imageenview1.select( 100, 153, 426, 360, iespSubtract );

xequte Posted - Oct 11 2020 : 17:06:26
Hi

To remove from an existing selection with code use the iespSubtract parameter of Select():

https://www.imageen.com/help/TImageEnView.Select.html

The user can do the same by holding down the Ctrl key while selecting. Or it can be forced with:

https://www.imageen.com/help/TImageEnView.ShiftKeyLock.html

Nigel
Xequte Software
www.imageen.com