dark parts of image brighter only

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
janmartin3
Posts: 1
Joined: 2014-05-22T00:12:05-07:00
Authentication code: 6789

dark parts of image brighter only

Post by janmartin3 »

Hello,

We have a real lot of panoramas.
Dark areas needs to become brighter, without over-exposing the already bright parts.

I am looking for a command-line to do this.
We then will apply this fully automatic.

Single panorama:
http://bit.ly/1h7wU8l

A few panoramas for development:
http://bit.ly/TtnsHh

Contact information:
http://bit.ly/1i6M5Pc

Thanks,
Jan
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: dark parts of image brighter only

Post by snibgo »

janmartin3 wrote:Dark areas needs to become brighter, without over-exposing the already bright parts.
There are many way of doing this, depending on what you are trying to do.

I suggest you make a "before" and "after" image, showing what you want. You could do this in Gimp, perhaps with menu "Colors, Curves". If all images need exactly the same operation, use Gimp to make a clut or hald-clut, and use ImageMagick to apply it.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: dark parts of image brighter only

Post by fmw42 »

What version of Imagemagick are you using and especially on what platform?

try for starters

Code: Select all

convert 000000071.jpg -gamma 1.5 test1.png
or

Code: Select all

convert 000000071.jpg +sigmoidal-contrast 3x100% test2.png

Adjust the values 1.5 or 3 to suit. As user snibgo says, there are many ways to work this.


If on Linux/Mac OSX or Windows with Cygwin, you can look at some of my script at the link below, such as autotone and numerous others
Post Reply