Auto Brightness, Auto Contrast, Auto Levels

delphi

    Next

  • 1. effect
    I want to use panels having slide transmision effects such as roll, wipe in the same form. What should I do, or what programs should I use? Thans for your help.
  • 2. printer (driver)
    (I hope this is the right place for printer questions.) I want to create a way for users to select a custom "printer" using the standard Windows page setup dialog or other standard printer selection dialog. What I want to do is, once my "printer" is selected, and the "print" button pushed, I want my custom program to run. My program will then post-process the graphics being printed (move it, align it, etc.) and then allow the user to pass it along to a REAL printer. Any ideas or suggestions? Dave
  • 3. LoadIcon
    Hey guys, I have an icon in my *.res file with 16x and 32x. Now when trying to load with MyIcon.handle := LoadIcon(..) he always loads the 32x icon but how can I load _or_ access the 16x icon as well through my TIcon class? thanks, Alex
  • 4. to learn Skewing images
    Hi, When i'm tired of coding (long projects), i like to break by solving how to do things i use units/3rd party solutions for. I've hit a deadend with Skewing images. My searches have brought up next to nothing in Delphi (some examples in ASM(?)) Can any one start me off with a hint on which direction i might want to start? I like to do the code experimenting, like us all, but i don't even know where to start with this. rik

Auto Brightness, Auto Contrast, Auto Levels

Postby Bill Miller » Tue, 27 Apr 2004 00:21:09 GMT

Does anyone know how to set an image's Auto Brightness, Auto Contrast and
Auto Levels...
or what the concepts are to accomplish this assuming I am using an image
component that can set brightness and contrast to a specific value?  I guess
the key here is how to get the auto value?

Regards,

Bill Miller



Re: Auto Brightness, Auto Contrast, Auto Levels

Postby Francesco Savastano » Tue, 27 Apr 2004 01:08:26 GMT

Hello Bill,
AutoLevels means that you stretch the histograms of the 3 channels in a
smart way: it's assumed that an histogram is well stretched when it covers
most of the tones (from 0..255). To know more about histogram stretching you
can google, i'm sure you will find a lot of information. About how to
automatically stretch, there is some trick, i think you can have a look to
EFG site where i saw an example of autostretch. My personal contribute to
your search is this: you should find the best optimal minimum and maximum
threshold to which perform the stretch: this can be obtained analyzing the
density of histogram.

About Auto Contrast, often it's related to autostretch of the only
Luminosity channel.

About Auto Brightness there is no way to exactly know  how much to brighten
or darken a picture (for example if it's a night picture it should be dark,
if it's a morning picture it should be bright) so i think the user should
choose brightness himself and that is the smartest thing that could be done.


-- 
New World Software
Creative Tools for Creative People
 http://www.**--****.com/ 
"Bill Miller" <w2matnetheavendotcom> ha scritto nel messaggio


guess



Re: Auto Brightness, Auto Contrast, Auto Levels

Postby Bill Miller » Tue, 27 Apr 2004 22:52:16 GMT

Francesco,

Thanks for your reply...  but there must be ways to get an auto setting for
brightness and contrast because many commercial products have automatic
settings.  Paint Shop Pro, Adobe Elements, Microsoft Digital Image and so
on... all have auto levels, brightness and contrast among others including
one step "picture fix".

I'll check out EFG's site to see if I can come up with more.

Regards,

Bill Miller



Re: Auto Brightness, Auto Contrast, Auto Levels

Postby Lord Crc » Tue, 27 Apr 2004 23:25:37 GMT

On Mon, 26 Apr 2004 09:52:16 -0400, "Bill Miller"




They all modify the histogram one way or another.

In PS:
- Auto Levels stretches the histogram of each individual channel
- Auto Contras stretches the luminosity channel

Both of them will change the brightness of an image.

- Asbjn

Similar Threads:

1.Error message on 'Levels' while trying to batch auto contrast

I am trying to create a batch process to take several hundred pictures and
run them through the auto contrast feature and save the processed pictures
to a different folder. I walked through the batch record process and after I
stopped the recording and tried to run it I got the following message:
Error: The command "Levels" is not currently available. (-25920)

This message was repeated for all 450 pictures with the name of the file on
the line above this message. Can some one tell me what to do to get this
batch processing working?

  Thanks


2.Auto Levels vs. Levels -- Histogram smoothness

If I take an image whose brightness range doesn't span black to white and
apply the Auto Levels command, I get a histogram that runs the entire range 
and is smooth, but if I do a supposedly identical thing with the Levels 
dialog box, I get a histogram that has many holes in it because the 
brightness levels are simply spread out and not interpolated.

Is there any way to get the smooth histogram effect while using the Levels 
Dialog so I can manipulate the mid-grey level independently of the black and 
white?

TIA
    Norm


3.Stop auto TADOConnection from auto connect

At design time, programmers may set some TADOQuery to true to test
something, but it automatically turned the associate
TADOConnection.Connected  to 'TRUE', how can I stop it without manually set
it back to 'FALSE'?


Thanks




4.scanning TEM (bw) negatives: auto contrast

Hello,

I am scanning TEM (transmission electron microscopy) negatives using PS

CS and Epson Perfection Photo 4990. In these negatives, there is a
small rectangular area on the bottom which has some information like
micron bar, etc. This area is in complete contrast with the remaining
part of the image. For a long time, I would scan negatives and
everytime it would give me different results (image contrast). I just
realized that it was doing so because it has some kind of auto
contrast, which would change the image depending upon the area I select

with the marquee during scanning. If I select only a part of the film
(without the transparent area in the bottom), it would give me results
as expected. I also noticed that if there is a feature in the
micrograph which has higher contrast, like a dark precipitate, it will
further increase the contrast. I just want my scanner software/PS to
scan as I shot the film, not to act smart on its own.

Is there a way to disable this auto contrast? I went into
configurations and tried a few things but could not fix the problem. It

is important for me to scan the whole film as it is, including the bar
in the bottom. 

Alpesh

5.Batch Auto Contrast Question

I shoot about 300 photos on a day out and want to batch run them through
auto-contrast. Can you run the auto contrast or auto color correction on a
batch basis? I really need to be able to do this as doing it one at a time
is a real pain in the fingers.
   Thanks for any help on this




Return to delphi

 

Who is online

Users browsing this forum: No registered users and 75 guest