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
 Assign function-results only to a selected region

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
harry stahl Posted - Jul 15 2016 : 12:03:52
E.G. I have selected with the Wizzard only a part of an image. Now I want that the processing results of the function "Proc.IntensityRGBall" (or any other proc.function) is assigend only to the selected parts of the image.

How can I do that?

By the way, ImageEn is realy great.

HS
4   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Jul 15 2016 : 13:16:06
I do not think you can apply the preview to only the selected area with DoPreviews because a selection is not possible in the "Result" image preview.

You can achieve this by developing your own dialog to do this where a selection is possible in the result image. You then would use the other ImageEnView1.Proc functions to apply the function you are looking for.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
harry stahl Posted - Jul 15 2016 : 13:02:58
Perhaps one additional question:

When I use

OK := ImageEnView1.Proc.DoPreviews (pe, True, 800, 600);

Then the effect in the peview-window of the dialog is processed to the whole image, not only to selected part of the image.

At the end the changings are assigned only to the selected area, but it would be fine to see it also in the selected parts in the preview.

Is there a way to reach that?

HS
harry stahl Posted - Jul 15 2016 : 12:43:03
Hello Bill,

thank you for your reply. That makes it much easier than I have thought. So I can process the needed functions directly to my ImageEnview.

Yes, I like your book, it is very helpfull!

HS
w2m Posted - Jul 15 2016 : 12:16:33
Any ImageEnProc procedure applies the "effect" to only the selected rectangle if there is a selection and if there is no selection the "effect" is applied to the entire image.

This is the way ImageEn was designed to operate, so if you do not want to apply the effect to the selection then call ImageEnView.DeSelect (to remove the selection) before calling the procedure.

There is no other way to achieve what you described that I am aware of.

Do you like my ImageEn EBook?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development