Remove dust spots and power lines automatically

Use discount code GREGBENZ for $10 off Luminar Neo (valid through May 10).

Wouldn’t it be nice if you could get rid of distractions in your image with the click of a button? With the latest artificial intelligence (AI) software you can. But you need to know a couple simple tricks to ensure you don’t just swap one problem for another. In this tutorial, you’ll learn how to eliminate 80% of the tedious work required to clone out dust spots and power lines.

I previously demonstrated how you can use Skylum’s Luminar to add beams of light or other creative effects to your images (links below). Skylum has iterated the product quite a bit over the years and the latest version, Luminar Neo, contains a couple of tools that automatically remove dust spots and power lines. You’ll get substantial improvements with a single click. Combine that with a few simple manual cleanup steps and you can great results in a fraction of the time normally required.

Tools built with AI tend to provoke one of two immediate reactions: “amazing!” or “awful!”. That’s generally built on the assumption that the tool should do all the work. Perfection is not a realistic expectation for most AI and overlooks the real value it offers. There are very few cases (now or in the near future) where AI will produce perfect results every time. However, there are many cases where it can help you save time or produce better results if you combine the AI with some additional manual work. Even if your first impression was “amazing”, there’s a very good chance that you can get even better results by viewing AI as one step in a larger process – rather than as a crutch to do all the work for you.

So with that in mind, I’m going to outline a couple of workflows that I believe will help make Neo an incredibly powerful tool for avoiding a lot (but not all) of the drudgery of removing dust spots and power lines.


Removing dust, power lines, and other distractions:

The key workflow with Neo is:

  • Create a single layer to adjust. Ideally this is a Smart Object to work non-destructively. This will allow you to make changes to the underlying content at any time, without minimal to no need to redo the work you’ve done with Neo. For example, you can go back and change exposure or white balance and Neo will update its work automatically.
    • If you need to adjust across multiple layers, <shift>-click to select all of the layers, right click, and convert to a Smart Object.
    • If you don’t like working with Smart Object, create a stamp of your image (via <cmd/ctrl><alt/option><shift>-E) instead so that you preserve your original and can apply Neo’s changes selectively through a layer mask.
  • Select the layer to correct.
  • PS: Filter / Skylum Software / Luminar Neo **
  • Neo: Edit (at the top), Erase (blue icon at right), and click on “Remove Powerlines“, “Remove Dust Spots“, or both.
  • Click “Apply” (you do not have to wait for the preview to update to do this).

** Note that you can record this step as an action in Photoshop to apply more quickly or even as a batch operation. I’d include native support in Lumenzia to further automate the process, but Neo is not currently designed to allow 3rd-party developers to request that it remove dust and power lines. I’ve contacted them to request this, and hopefully we’ll see support in the future.


If you wish to use Neo to remove other types of objects, the top of the same “Erase” tool has an “erase” button to help do that. The basic workflow to use select/deselect to paint a red target area and then click “erase” to fix that red area. If you need to undo, make another red selection and click “restore” (or use the circular arrow at top-right to “reset tool” and undo all the changes).


Visualizing dust spots and Neo’s changes:

No AI is 100% perfect, so it helps to review what it has done so you can refine and perfect the results. Here are a few things to look out for:

  • The dust spot removal is incredible in skies and I would mask it into any sky area without much thought. However, it can cause slightly negative changes to other areas of detail. In particular, I’ve seen some loss of shadow detail. So be sure to review its impact when applying it to anything outside the sky or smooth areas.
  • The power line removal tool is incredible in sky areas as well. Occasionally it misses a line – especially if that line is very thin.
  • Shadows of power lines seem to be ignored, so you may need to manually clone them out.
  • Watch out for areas where power lines cross over buildings or other areas of clear detail. Use the manual refinement steps below to repair these areas as needed.


In practice, I’ve found that Neo is so good with dust spots in areas of clear sky that it’s safe to simply mask it into the sky without needing to confirm. For areas of detail outside the sky, it’s best to review the changes the software is making and use a mask to selectively reveal it only where it is helpful. There are a few ways to do this:

  • You can use the “isolate” (eyeball icon) button in the Lumenzia‘s Basics panel to quickly review what changes a filter is making on a Smart Object. Once you’ve applied Neo to a Smart Object, just select the Smart Object and <ctrl/cmd>-click the isolate button. This will create a visualization showing all the areas which have changes that have not been applied (darker areas either did not change or the changes have been applied because the filter mask is white in that area). Just paint white on the filter mask anywhere you’d like to accept the changes from Neo. When you’re done, click “isolate” again and your edited filter mask will be loaded back to the original layer and the visualization removed (you can alternatively manually delete the layers or click “X” if you wish to discard the preview and any changes).
  • If you don’t have Lumenzia and you’re removing dust, you can use the “visualize spots” feature in Adobe Camera RAW (ACR) to see any remaining dust spots (keyboard shortcut: cmd/ctrl-A to invoke the filter, <B> to switch to the healing panel and then <Y> to visualize). This is a more iterative process, since you cannot edit the filter mask while using this visualization, but it is helpful.
  • A more generalized manual workflow (for power lines and such) is to create a duplicate of the layer, change it to difference blend mode (which highlights changes), and you’ll probably want to add a curves or levels adjustment above that difference layer to make the differences more obvious. Make sure you set the layer or filter mask on your working layer to black so that you are comparing the changes (otherwise you’re comparing two versions of the adjusted image, which is identical and will show pure black with the difference blend mode). When you’re done, delete the extra layers (the duplicate in difference mode and any levels/curves you added).


Manual refinement:

Once you’ve reviewed Neo’s changes, you may still need to do some manual cloning in areas the AI missed or where you don’t feel it did a good job (such as possible artifacts when removing power lines in front of detailed buildings). At this point, you should use your normal cloning techniques. I prefer to create a new blank layer and use the clone and healing tools set to “current and below” or “sample all layers”. This approach allows you to work non-destructively by preserving your Smart Object and allowing you to easily undo or update the cloning later.

For power lines, you can save a lot of time by taking advantage of the fact that power lines are typically nearly-straight lines. With the spot healing brush, just click on one end of a straight section and then <shift>-click on the other end of that straight section.*** This will cause the spot healing brush to be applied along the line connecting those two points. If you’ve used a soft brush large enough to cover the line, it should be removed. You might need to touch up a few points, but you’re now doing that detailed work in only a small portion of the image.

*** There are a few things to watch for if you’re using a Wacom pen with the spot healing brush. There are 2 different settings which may cause the spot healing brush to be much smaller than you desire. Both of these set the size proportional to the pressure you use with the pen, but it becomes very unpredictable when clicking on a point (nearly impossible to get the full size). The first one to check is the icon with concentric circles in the toolbar is off / not dark (this has a tooltip which says “always use pressure for size…”). The second is a very hidden dropdown inside the brush options (same place where you have sliders for hardness and spacing). At the bottom of those popout options, “size” should be set to off (if set to “pen pressure”, this has the same effect as the icon button). Alternatively, you can just use a mouse for these steps to avoid issues with pressure-sensitivity.


Other great tools in Luminar Neo

I previously demonstrated a few other features from Luminar 4 which are part of Luminar Neo (in a slightly different locations, but they work the same):

  • The “Sunrays”  filter is amazing for adding beams of light to your images (jump to 9:20 in the video for Luminar).
  • The Accent AI slider can add general “pop” and interst to your image. This  feature is now found under “Enhance” in Neo. The tutorial also shows how you can use luminosity masks to help get the best results with Luminar or any 3rd-party software.

Neo has several other powerful features. My favorites include Atmosphere AI to add fog, Toning for sky color, Landscape (golden hour) for sky color, Sky AI for quick sky replacements, and Develop’s white balance sliders or Color Harmony Color Contrast / Split Color for correcting non-RAW color.


Use discount code GREGBENZ for $10 off Luminar Neo (valid through May 10).

[Disclosure:  This post contains affiliate links.  If you purchase through these links, a small percentage of the sale will be used to help fund the content on this site, but the price you pay remains the same.  Please see my ethics statement if you have any questions.]

Greg Benz Photography