Enhance Your Images with Apple’s Clean Up Tool in Photos

Originally published at: Enhance Your Images with Apple’s Clean Up Tool in Photos - TidBITS

To my mind, Clean Up is the most impressive Apple Intelligence tool we have now. Introduced in Photos in macOS 15.1 Sequoia, iOS 18.1, and iPadOS 18.1, Clean Up enables you to remove distracting people and objects from the background of photos, replacing them with AI-generated scenery. Clean Up may automatically highlight items you might want to remove, and you can always scrub over or circle an unwanted one to eliminate it.

Object removal capabilities are widespread in other apps. Since I seldom edit photos, I can’t compare how well Clean Up works to other tools. To an extent, that’s irrelevant—I would never use Photoshop to edit an image or purchase an app purely to remove objects, but I will use Photos. I suspect I’m far from alone.

Also, for snapshots or informal sharing, if Clean Up’s results aren’t perfect, it doesn’t matter—nobody will notice. However, if you’re making a large print or sharing in a venue where the image will attract scrutiny, you might want to switch to a professional tool like Photoshop or Lightroom, or ask a friend with one of those tools to help.

Nevertheless, my testing of Clean Up has provided a sense of where it works well, where it’s unlikely to succeed, and when its results are more variable than you might expect. It can prove valuable when the objects to be removed are small and cleanly silhouetted. However, it may struggle in busy scenes or when the background is difficult to recreate convincingly.

✅ Cleanly Silhouetted Objects

When it’s good, Clean Up is very good. When it’s bad, it’s laughable. It works best when the people or objects you want to remove are relatively small and cleanly silhouetted against an easily faked background.

In this photo of me at a cross-country race, the pedestrians and car on the stone bridge behind me are easily removed, as is the blue course marking flag on the ground. (Ignore the general blurriness of the photo—it was taken at a distance using the Camera+ Action mode as part of a burst, and I had to crop heavily to make myself the focus of the shot. Apple’s ads notwithstanding, even the iPhone 16 Pro is a weak camera for sports photography.)

Before and after image with Clean Up

If you zoom into the right-hand photo and look carefully at where the truck was, you can see that Clean Up didn’t do a fabulous job of simulating either the stonework or the leaves. With the stonework, it went a little overboard and replaced pixels that would have been better left alone. In contrast, the leaves are utterly random, but Clean Up introduced an unnatural pattern in the replacement. Regardless, most people wouldn’t notice because the edits aren’t near the subject of the photo, and the leaves have an unpredictable texture to begin with.

Here’s another example where Clean Up performed well. The original was marred by the child’s hat in front of me, and the large metal traffic signal poles and wires also distract from the dragon.

Clean Up before and after

Even though the hat is quite large, it’s silhouetted cleanly against the uniform road surface, which Clean Up can easily fake. Removing the hat was easy, but selecting the metal poles and wires took more time. Nevertheless, Clean Up removed them without a trace because they were backed by either a tree or the sky. Even the man standing in front of the pole looks as if his face is in shadow, although closer examination shows that Clean Up removed part of his head. Again, for informal sharing, Clean Up’s results are entirely acceptable.

❌ Busy Scenes

It can be tempting—even for Clean Up—to remove items in the backgrounds of busy scenes. In my experience with photos like the one below, Clean Up struggles when there are multiple overlapping objects or when the background contains complex patterns or textures that are difficult to recreate convincingly. On the left, Clean Up suggested removing the people under the tent in the background, the car to the left, various shadows, and more—Photos highlights them with a shimmering colorful animation to call out its suggestions.

Clean Up being overzealous

As you can see on the right, when I took all of Clean Up’s suggestions, the trees look strange; it added a blur to the right of the silver cup and orange bell, and the area occupied by the car and bystanders on the left of the photo gets weird. Ironically, the main thing I wanted to remove from the photo was my shadow at the bottom; although Clean Up didn’t suggest it for removal, it did a good job when I selected it manually.

🤔 Variable Results

Finally, although this image of Tonya finishing a run at one of our Tuesday night workouts doesn’t really need much editing, it illustrates an important fact about Clean Up, which is that one removal may affect the next.

For the test, I decided to focus the entire photo on Tonya in the front, removing the other runners, the silver car on the road behind them, the little barbecue grill and picnic table to the left of her head, and the power lines cutting across the top right of the photo.

Original image to use with Clean Up

Clicking each runner or group of runners removed them, with Clean Up filling in an AI-generated background based on the surroundings behind them. For the first two runners on the left, this worked almost flawlessly. However, removing the larger groups to the right resulted in the ugly artifacts in the left screenshot below. The groups are so large that Clean Up doesn’t accurately predict what’s behind them.

Various artifacts left by Clean Up

However, it reveals a subtle but important fact about Clean Up. Individual removals may affect subsequent ones by changing the nearby pixels. In the left screenshot above, I removed each group of runners from left to right, which most people who read in that direction would probably do. When I reversed the direction, removing the runners from right to left, Clean Up was able to do a better job with the smaller groups in the back, creating a more realistic background you can see in the middle screenshot above.

The variability I encountered with the order of removals extends to using Clean Up on other platforms, too. When I edited the photo on my iPhone 16 Pro, Clean Up automatically highlighted the same runners and correctly removed the items I scrubbed over with my finger. Although scrubbing with a finger wasn’t as precise as with the Mac’s pointer, I could pinch to zoom first to select the smaller objects more accurately.

However, as you can see in the rightmost screenshot above, the background area behind where the runners were is different, and the iPhone version of Clean Up left a more prominent and unsightly artifact than the Mac version. I won’t bore you with yet another screenshot, but I was able to use Clean Up once again to remove that artifact.

💡 Clean Up Tips

Here’s what I’ve learned about using Clean Up effectively:

  • Choose photos where the people or objects to be removed are relatively small and cleanly silhouetted against an easily faked background.
  • When removing multiple overlapping or nearby selections, the order in which you remove them may make a difference. If you’re unhappy with the initial result, try removing objects in a different order.
  • Make additional passes with manual Clean Up selections to remove previously generated artifacts.
  • Within an editing session, you can undo any individual Clean Up action with Command-Z or by tapping the Undo button on an iPhone or iPad. Undo them all with Revert to Original. Command-Z also reverses Revert to Original, so you can check your edits against the original without manually recreating them.
  • Results may differ slightly between the Mac and the iPhone. (I presume the iPad’s results will be similar to the iPhone’s, but I don’t have one running iPadOS 18.1 to confirm.) If you care deeply about getting the best results and aren’t happy with one platform, try another. Manual selection is the most precise on the Mac, but remember that you can pinch to zoom in on an iPhone or iPad to scrub over small objects more precisely.

I have one final recommendation, which is to compose your photos to avoid extraneous or distracting objects in the background so you don’t need to use Clean Up at all. I try to remember that when taking photos, so relatively few of mine would benefit from Clean Up, which made it hard to find examples for this article. It’s no coincidence that the photos above are all action shots taken in public situations where it was difficult or impossible to control what appeared in the background.

Ultimately, Clean Up works well and may be able to rescue photos that would be great without distracting objects cluttering the background. I encourage you to try it the next time you have a photo that might benefit from some selective removal of objects.

However, as Jeff Carlson showed me after his edit pass, a professional tool like Lightroom may be able to do a significantly better job—I can’t see any oddities or artifacts in his version below. Remember that Clean Up as we see it today is Apple’s first pass; it’s likely to improve in future releases.

Lightroom edited image

6 Likes

IMO all of the original pictures are better than the ‘cleaned-up’ versions.

You are removing context and context makes a picture more interesting.

But that’s just my opinion.

2 Likes

Thanks for teasing out the intricacies of where Clean Up works and where it doesn’t, this is very interesting. For the last photo I agree with @niallom: I think removing all the runners makes it a much less interesting image. In the original there’s a sense of motion and Tanya leading a group of runners. In the cleaned up version it looks like a somewhat random photo of her running in a field.

Where I would definitely use clean up is to remove overhead wires (and the poles in the earlier photo). Like you @ace, I try to compose shots so they don’t have unwanted elements. But for some views it can be impossible to exclude poles and wires. Whilst our brain ‘skips’ them when viewing a scene live, in a photo they stand out and can ruin it. In these situations, Clean Up can actually result in something that more accurately portrays the experience of viewing the original scene, where your brain doesn’t notice the wires.

1 Like

Saw this on FB this a.m.

TIDBITS.COM
Enhance Your Images with Apple’s Clean Up Tool in Photos - TidBITS
dam Engst evaluates the new Apple Intelligence-based Clean Up tool in Photos,

Was that an FB editorial comment? :slightly_smiling_face:

Nope. A Typo in the article summary text. Visible from the main tidbits.com home page and its RSS feed:

You’re not wrong. :slight_smile: For the most part, these photos were meant to show off what Clean Up can and cannot do, not necessarily make better photos. As I said at the end, I usually compose my photos to avoid distracting objects in the background, so I had a lot of trouble even finding these photos to use as examples.

The dragon and award ceremony photos were heavily cropped to turn them from landscape to portrait. In the case of the dragon, it was so I could show side-by-side images at a decent size in the article; the award ceremony image needed heavy cropping to remove extraneous stuff that detracted from the subjects. The cross-country race photo was also very heavily cropped because it started as a landscape photo in which I was a much smaller subject.

As far as actual Clean Up improvements, there were three:

  • I didn’t like the baseball hat in the picture of the dragon and was happy to remove that, but taking out all the traffic posts and wires was mostly testing.

  • With the picture of the award ceremony, as I said, I only really wanted to remove my shadow from the bottom, which Clean Up did well

  • In the dragon photo and picture of Tonya, the overhead wires added nothing.

With the picture of Tonya running, there’s no question that it’s a better image to start. I was just curious about what happened when I used Clean Up to remove much of the content of the picture.

5 Likes

Hah! No, as @Shamino pointed out, it was a selection error. I just missed a character when copying the blurb from Google Docs to WordPress.

1 Like

Oh yeah Adam I suspected you were using the Clean Up tool more than you would normally.

I forgot to say the removal of your own shadow is the one use where I could see myself perhaps giving in as it doesn’t change the nature of the picture in a significant way and is genuinely just removing a distraction.

I do a lot of photography in social situations and the other common issue is photographing people in front of a mirror and it can be tricky to avoid seeing yourself if the room is packed and you cannot move to a preferred angle - usually I’d end up crouching down a bit so my reflection is hidden - but there are times when you have to take the shot from a high angle - would I use the clean-up tool to solve that issue?

I still think I’d burn in the reflection so it is less noticeable and that’s a technique I’ve used since my darkroom days - as making an area darker seems less of a cheat than absolute removal - but yeah, I may be overthinking or too idealogical :slight_smile:

Certainly interesting to see how well or not the feature works in different situations.

Thanks for the review!

3 Likes

I’ve used Touch Retouch to do these edits. Paid for it many years ago. The developer has changed the app structure a few times, including recently introducing a huge multi-hundred-megabyte ML model that does a much worse job, but I managed to install an old version which at only ~60MB gives better (more predictable) results. imho.

My favourite use case is to remove dust from photos of things like watches that I’m showing or selling.

I’m still on iOS 17 (no plans to update just yet) so I’ll keep on truckin’

2 Likes

This looked interesting, and I wanted to try it, but I can’t find it.

I searched Photos help on my Mac and it said this:

Note: The tool you have depends on your Mac model and region. Use Clean Up to remove distractions from your photos (Mac with M1 or later) With Apple Intelligence,* you can use the Clean Up tool to remove distracting objects in the background of a photo. Note: Clean Up is available in macOS 15.1 or later on Mac computers with M1 or later, in most languages and regions.

I’m using a 2021 MBP M1, but I don’t see “Clean Up” in the toolbar when editing a photo. Any ideas?

Thanks.

1 Like

Adobe released these kinds of edits around April 2023. First in a standalone app called Firefly then in Photoshop. These results look about the same as the ones generated by the Adobe software. I will say that work on the stone work by Apple AI is worse than most of the results I get from Photoshop. Photoshop cleaned up what needed cleaning easily. But it struggled when I tried to give you a new bib number - but after 24 variations it came up with something ok

3 Likes

Maybe it is being released in the US first? Aren’t you in Japan?

Do the Adobe apps to the processing on-device or are they sending your images to a cloud server? You can get much better results throwing a big server at the problem, but at a greater risk of your data going where you don’t want it.

Photoshops’s Generative Fill uses the Adobe servers that power Firefly.

It’s a good thing that Adam has no problem with his content being used to teach AI. I massaged that image so much that it is now solidly embedded in the Adobe servers. So I am pretty confident that the next time someone uses the prompt ‘Old dude in track shorts’, the image of Adam Engst will magically appear. (That is factually false - the servers use Adobe stock photos and don’t access user content.)

2 Likes

“666” - lol!

Too many hits on that. But if you try “old very fit dude in track shorts,” it would likely return Adam’s image.

:grin:

2 Likes

Maybe this is why they bought Pixelmator Pro? It was doing this years ago with its Band Aid tool.

I really hope they keep Pixelmator as a Mac app, but I anticipate they’ll dissolve its various features into Photos and Preview - the very same apps I relished avoiding with Pixelmator.

I don’t know what I’m going to do if that happens.

cough-not-anarticle-ideahem

1 Like

You need Apple Intelligence turned on in System Settings > Apple Intelligence & Siri, and then the Clean Up button appears at the top when you’re editing a photo in Photos. As someone else suggested, it may not be available outside the US yet either.

CleanShot 2024-11-19 at 18.17.36

1 Like

Hey, that’s AI - it’s not like I picked the number!

2 Likes

At Six Colors, Joe Rosensteel has posted a video showing how well Clean Up works invn various situations and compares it to similar operations in other photo apps and plug-ins:

One tip from the video: if you intend to crop a photo, clean up things on the edge of the crop BEFORE cropping.

3 Likes