Correcting exposure retrospectively with Urban Lightscape
On the Dot
The Urban Lightscape photo tool lets you adjust local brightness levels within an image, thus turning a simple snapshot into a real eye-catcher.
You have a great subject and have captured it impeccably in a photograph, but when you open the file on your computer, you notice an overexposed spot that leaves part of the image blurry or difficult to see. Don't panic; try Urban Lightscape [1], a tool that adjusts brightness just in the area that really needs fixing.
Urban Lightscape is available for Windows, Mac, and Linux. License fees are charged for the Windows and Mac versions, but the program is available for free for Linux users who are willing to build it from the source code. Ubuntu users can also obtain Urban Lightscape through a PPA archive [2], which simplifies the installation for non-technical users. All you need is a short excursion to the command line:
$ sudo add-apt-repository ppa:dhor/myway $ sudo apt-get update $ sudo apt-get install urbanlightscape
To run the program, just enter urbanlightscape
at the command line.
Image Formats
The first step is to load your photos. Dragging and dropping from the file manager does not work; the only solution is via the File dialog. There, you have a number of formats from which to choose, including JPEG, PNG, TIFF, and various Windows formats. The formats from Photoshop and RAW files are missing from the selection; however, the All files choice allowed me to load RAW images from a Canon camera.
Getting Started
Once you have the first photo loaded, you can get straight to work. The program impresses with its very simple structure (Figure 1), and you might be surprised by how few controls are in the interface. However, don't worry; you'll have nothing to enable or install later.
You can easily create your first control point by double-clicking on a point of the image that you want to customize. After a moment, you see a control point – a small circle with a serial number (Figure 2) – appear. These control points are similar to the U-point controls in the Nik Collection [3].
Holding down the mouse button after double-clicking lets you modify the control point. Drag the mouse up to increase the brightness; drag the mouse down to make the point and the adjacent area slightly darker (Figure 3). You can then add any number of additional control points to give the image the right balance in terms of brightness (Figure 4).
Smart Distribution
Depending on the nature of the photo, it can make sense to add a relatively large number of control points – in some cases, the desired effect even requires you to do so. The process is not particularly complicated, because you can create a point quite quickly.
It may happen that two adjacent control points brighten up part of the image, but between them lies a region that you want to keep darker. To address this, insert an additional intermediate control point that takes the brightness down a bit. At difficult points of the image, you are likely to produce a jumble of control points quickly.
You have the option of adjusting the control points later on. To do so, use View | Overlay to enable the view showing the numbered control points. Then double-click and hold to change the values, just as you did when creating them. You can also use the mouse in this mode to move the control points. To delete a control point, simply drag it out of the window.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.