Author |
Topic |
|
harry stahl
Germany
62 Posts |
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 |
|
w2m
USA
1990 Posts |
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 |
|
|
harry stahl
Germany
62 Posts |
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 |
|
|
harry stahl
Germany
62 Posts |
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 |
|
|
w2m
USA
1990 Posts |
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 |
|
|
|
Topic |
|