Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, September 9, 2009 10:28:53 PM(UTC)

Groups: Registered
Posts: 1

The effect will leave a selected color unchanged, and convert other color into black and white.
The result from Premiere is very good. I wander anybody know how to implement.

Thank you.

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, September 10, 2009 3:51:04 AM(UTC)


Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Do you mean gray shades by "black and white"?
If you want to do this on an image using LEADTOOLS, you can use the following approach:
1. Define a region that contains the color or colors you want to keep.
2. Store the location of the region (region bounds).
3. Copy the region contents to a temporary bitmap.
4. Convert the original image to grayscale
5. Copy the temporary bitmap contents from step 3 back to the original image using the location information you stored in step 2.

The details depend on which LEADTOOLS version (14, 15, 16, etc.) and programming interface (Main OCX, .NET classes, DLL API, C++ Classes, etc.) you are using.

Have you already tried to implement this? If yes, what is the function you are trying to use?
If you can't get it to work, please send me 2 sample image: The source image before the effect, and the resulting image that has the desired effect.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.066 seconds.