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
 Questions about miSelectPolygon / Layer

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
flatserv Posted - Jun 01 2012 : 13:14:59
Hi,

i have 2 questions:

- If i set MouseInteract := [miSelectPolygon] and select a region, how can I close my selected region? I want to remove the selected using ClearSel, but without closing the region the complete image is away …
- Is there a way to move the selected region instead of moving the complete Layer? For example I want to select an eye using Magic Wand and want to move this selection to another place on the same layer.
6   L A T E S T    R E P L I E S    (Newest First)
flatserv Posted - Jun 02 2012 : 06:11:16
If you need a beta tester for your PDF, please let me know :)
w2m Posted - Jun 02 2012 : 05:19:34
You can also double click the polygon to end selection.

William Miller
w2m Posted - Jun 02 2012 : 05:12:42
Yes, I am writing an electronic book about ImageEn. Currently it is about 1,500 pages with enhanced help, discussion and "How To's". The book will be published as a PDF with thousands of links between pages. It is not known when the book will be finished.

William Miller
flatserv Posted - Jun 02 2012 : 03:51:15
Found it. Just include iesoRightButtonTerminatePolySelect in SelectOptions or call EndSelect Method.
flatserv Posted - Jun 02 2012 : 01:33:34
Ok, no eye moving.

But do you know a way to solve this problem?

If i set MouseInteract := [miSelectPolygon] and select a region, how can I "close" my selected region? I want to remove the selected using ClearSel, but without closing the region the complete image is away. For example, try to select a trapeze (Trapez), where all borders closed ... It is not possible and i need a way to do this.


BTW: Do you write eBooks about ImageEn? Please let as know ...
w2m Posted - Jun 01 2012 : 16:06:33
There maybe other ways, but try selecting an eye with miSelectCircle, after you make the selection, position the selection over the first eye... Then press and hold the SHIFT Key and select the second eye. Unfortunately I know of no way to position the second selection precisely over the eye without moving the selection over the first eye.

If you happen to click on the screen after making both selections, both selections will be removed. If you try to reposition the second selection over the second eye, the first selection will move with the second selection and will probably not be where you want it to be (over the first eye), so you have to click on the screen to clear the selection and start over.

It would be nice to be able to position multiple selections around on the screen for this sort of thing, so you could select the first eye, reposition the selection precisely where you want it on the first eye, then press and hold the SHIFT key to select the second eye, then reposition the selection precisely where you want it over the second eye but ImageEn does not support this feature.

The good news is even if you do not have the selections precisely where you want, but the selection covers all of the red part of the eye then you call RemoveRedEyes the area around the eye is not changed very much because the selection is quite small and only the portion of the selection that is red will be changed. What this means is that precise selection of just the red area of an eye is usually not necessary, but if your selection does not include all of the red part of the eye, the unselected red part of the eye will not be changed. In this case you will have to reselect the missed part of the redeye and try again.

From my electronic book in draft "A Programmers Introduction To Using The ImageEn Image Library". Release date is not known.

William Miller