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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, April 9, 2008 12:48:09 AM(UTC)

RaYWoLF  
RaYWoLF

Groups: Registered
Posts: 22


Hello,

We are really thinking about buying Raster Imaging Pro 15 (.Net 2.0 version), but first we need to get the same effect in the images that we get using another application. The problem is that I can't get the same quality. The name of the filter I have applied with the application is "Extend contrast (auto)" and this is the effect I have applied with Leadtools:

GammaCorrectExtendedCommand cmd = new GammaCorrectExtendedCommand();
cmd.Type = GammaCorrectExtendedCommandType.YuvSpace;
cmd.Gamma = 210;

I attach the 3 images (original, what I get with Leadtools and what the application gets) so you can see the results. Is there any filter which can do it better?

Thanks in advance.
File Attachment(s):
Images.zip (719kb) downloaded 16 time(s).
 

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 : Wednesday, April 9, 2008 7:18:08 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


What you tried is already pretty good.  I was able to produce similar results with the LightCommand (screenshot attached).  We don't have any single function that will be able to get exactly the results that the other software has accomplished.  You may be able to use a combination of a few functions to acheive similar results, but it will honestly just take some playing around.  The best demo for this is our API Image Processing Features demo.  It has nearly all of the image processing functions available and has a dialog for modifying and previewing the image for all of them as well.  There's not an equivalent demo in the .NET, but all of the functions should be in the .NET so you'll be able to see how the different functions affect the image.

I tried almost all of our brightness/color correction functions by themselves and the Gamma correct and Light functions gave me the best single function results.  I tried combining a few together and it helped brighten the image and show the edges well, but the quality in regards to the noise was hard to compensate for.  You may want to throw in some kind of blurring function like Antialias or Gaussian to smooth it out once you've brightened the image sufficiently.


GregR attached the following image(s):
light control.JPG
 
#3 Posted : Wednesday, April 9, 2008 11:29:14 PM(UTC)

RaYWoLF  
RaYWoLF

Groups: Registered
Posts: 22


Thanks for the answer and the time you spent. I already have a few questions:

  • Where can I download the API Image Processing Features demo?
  • I'm trying to apply the LightCommand with the values you use in the attached image, but I don't know what LightCommand's properties use. There isn't nothing similiar to color space,low average... This are the properties it has:

Ambient -> Gets or sets the factor used when mixing the ambient color with the image.  
AmbientColor -> Gets or sets the ambient color of the light sources in the Data property.  
Bright -> Gets or sets a value that represents the brightness of the ambient light of the entire image.  
Data -> Gets or sets an array of LightCommandData structures that contains information on each light source.  
HasProgress -> (Inherited from Leadtools.ImageProcessing.RasterCommand)

Thanks in advance




 
#4 Posted : Wednesday, April 9, 2008 11:33:24 PM(UTC)

RaYWoLF  
RaYWoLF

Groups: Registered
Posts: 22


Forget about the second question, the command I have to use is LightControlCommand, not LightCommand.
 
#5 Posted : Thursday, April 10, 2008 12:12:44 PM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


As long as you chose to install the API interface when you originally installed, you should be able to find the demo as shown in the attached screenshot.

If you didn't install the API interface, then you'll need to reinstall the SDK with that interface.
GregR attached the following image(s):
screen.JPG
 
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-2020, Yet Another Forum.NET
This page was generated in 0.204 seconds.