Improvement suggestion : Boundary Handling in Scratch Removal Tool

Moderator: jsachs

Post Reply
pierrelabreche
Posts: 743
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Improvement suggestion : Boundary Handling in Scratch Removal Tool

Post by pierrelabreche »

Observation: When utilizing the Scratch Removal tool on artifacts that intersect with the image boundary, the Clone recovery method fails to respect the image edge. Specifically, when the source alignment or brush stroke approaches the frame limit, the tool samples "null" or black pixels from the canvas area outside the image dimensions. This results in an incorrect interpolation/replacement that introduces dark artifacts into the image.

Proposed Resolution: The Scratch Removal tool should implement strict boundary constraints for pixel sampling. When the Clone source or destination reaches the image edge, the algorithm should never sample outside of the image actual pixels.
jsachs
Posts: 4833
Joined: January 22nd, 2009, 11:03 pm

Re: Improvement suggestion : Boundary Handling in Scratch Removal Tool

Post by jsachs »

The help file indicates that there are problems using scratch removal at image boundaries -- the issue is not just sampling outside the image.
Jonathan Sachs
Digital Light & Color
Post Reply