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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to enhance/brighten/colorize pixels
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndyColmes

USA
351 Posts

Posted - Mar 07 2017 :  03:32:04  Show Profile  Reply
Basically, I have an image with some scattered pixels on a white background. I would like to use a Trackbar to smoothly "highlight" those pixels in a lighter or darker color or shade. How would I do this efficiently? I tried Gamma adjustments but it does not look very promising. I look forward to all your ideas on how to do this.

Thanks in advance.

Andy

w2m

USA
1990 Posts

Posted - Mar 07 2017 :  14:12:12  Show Profile  Reply
As far as I understand imageen processing, I do not think this is possible, because it is extremely difficult to specify the location or X-Y position of the "scattered pixels". Nigel may have some ideas here, but I do not.

Nearly all of the processing functions will operate on a selection, so the problem is to identify the position of pixels that are isolated and then select the groups of pixels to be processed.

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

xequte

39001 Posts

Posted - Mar 07 2017 :  22:38:46  Show Profile  Reply
Hi

Have you tried the processing functions to see if any of the color adjustments make the scattered pixels more obvious?

https://www.imageen.com/help/TImageEnProc.DoPreviews.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 08 2017 :  00:06:53  Show Profile  Reply
Thanks Bill and Nigel for the response. I am trying to apply sort of a Photoshop filter effect on the entire image and if the pixels are in a layer with alpha, then maybe I thought it would only affect the pixels.

I have tried several of the effects and the desired effect that has some success in terms of looks is Gamma/Saturation. But the process is slow and the image needs to refresh in its entirety, making the use of a Trackbar looks hesitant and clumsy. So, I thought maybe there is something else that I could use to smoothly put an effect on the image, like it is when adjusting the Transparency of the layer.

Andy
Go to Top of Page

xequte

39001 Posts

Posted - Mar 08 2017 :  19:16:23  Show Profile  Reply
Hi

I'm not quite understanding your requirements.

But what about if you generated an alpha channel, where it is opaque for pixels, and transparent for white. Then apply that to the image???



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 11 2017 :  23:03:53  Show Profile  Reply
Hi Nigel, it is exactly what I am doing, but maybe with the size of my images, the process is slow and I thought maybe there is another way to enhance the pixels, or more appropriately, brighten the pixels. Is there possibly a third-party filter plug-in in ImageEn that can do this?

Andy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: