Jump to content

Recommended Posts

Posted

hi

i want to clean a lot of photos of products which are not clean. i'm including a high resolution sample.

where can i find an easy tutorial on how to easily "blur" such things?

most products aren't white so there are not many that are such problematic.

i'm using inpainting for some products. but i can't clean so many spots of samples like that.

i will use the end photo as low res so it doesn't have to clean it for the high res version.

thanks once again

Screenshot 2021-07-04 222208.png

Posted

Have you tried the Dust and Scratches filter (Live or destructive)? The settings will depend on the size of the image but it does a pretty good job:

1295064928_Screenshot2021-07-04at20_36_11.thumb.png.11b9bdfaee7583bda2cb1d293762deef.png

Watch out for 'rounding' in the corners of the image though.

Affinity Photo 2.6.3,  Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.

Posted
2 hours ago, h_d said:

Watch out for 'rounding' in the corners of the image though.

I am not familiar with this filter but does not the Preserve Alpha check box take care of that corner problem?

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted (edited)
2 minutes ago, Old Bruce said:

I am not familiar with this filter but does not the Preserve Alpha check box take care of that corner problem?

It does ... kinda. There is still rounding at the corners but it isn't transparent.

Edited by R C-R
edited for clarity -- I hope.

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
9 hours ago, Old Bruce said:

does not the Preserve Alpha check box take care of that corner problem?

With Preserve Alpha checked, at higher Radius values I get this is in the corners:

 

491046354_Screenshot2021-07-05at08_13_23.png.97659d421249c8329bf96c3eaef31fc1.png

 

That's on the OP's original screenshot though, which is a very small low-res image. With larger originals the issue isn't anywhere near so obvious, and by the time you reach a point where it kicks in, the original is so degraded as to be pretty much unusable anyway.

Bottom right corner before:

890541155_Screenshot2021-07-05at08_19_54.png.e7774a748b285f187190ad129b720324.png

After:

2115465519_Screenshot2021-07-05at08_20_25.png.6a2d12350da30485676a07c73cd3cff0.png

 

(Could make an interesting artistic effect though...)

 

 

 

 

Affinity Photo 2.6.3,  Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.

Posted
15 minutes ago, h_d said:

(Could make an interesting artistic effect though...)

Does make an interesting artistic effect.

Fixed it for you! :D

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

hi again,

for some reason the "Dust and Scratches filter" is good only when im zooming in.

i mean, when i zoom out, a significant amount of "dirt" still appears.

do you know what might be the cause?

TTNNXX!!!

Posted

If you zoom out, the rendering might not correctly show the effect of filters like sharpen or dust & scratches. Simply merge visible to get an accurate rendering. 


It would help us to solve your issue if you can upload the original file, or at least a big enough portion, using a lossless file format (e.g. afphoto, or a zip file with tiff etc)

personally I’m no big fan of d&s filter as it can produce hard edges. You need to really tweak the settings to get a good result.

Depending on your specific file, a blur filter like bilateral blur might be better suited.

https://affinity.help/photo/English.lproj/pages/Filters/filter_bilateralBlur.html

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Without knowing the effect on the rest of the image you could blur the hell out of that sample and it would not be relevant if whatever isn't being affected so we can't have a point of reference.

 

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

Thats why i asked for the document 😂 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

i will add a sample later

for now, just want to be sure, are you talking about the "merge" button left to the 'delete' button? (screenshot attached)

because if yes, i'm not sure what to do after pressing it. there is a weird mouse curser and weird behaviour after i press it.

or perhaps you meant something else?

Screenshot 2021-07-10 200340.png

 

EDIT

the merge option works fine now. but not on all files that i'm editing. i mean, there is one file that shows this mouse curser for some reason. i can't add a screenshot of the curser when i 'print screen' tho.

 

 

Posted
9 minutes ago, dancebles said:

because if yes, i'm not sure what to do after pressing it. there is a weird mouse curser and weird behaviour after i press it.

That is not what was meant but unless you describe what kind of weird behavior you get if you press that button, there is no way for us to know what is happening that might be weird.

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

@dancebles:

merge visible is available via layers stack, right click, merge visible

image.png.279ecffe6a41a49989c7e85ed49015f4.png

 

@firstdefence

please have a look at the doc attached file. I've added vector shapes with 1 px and 5px stroke, and 2 blur / dust & scratches filter layers with identical settings (30 px  / 10%).

The d&s does far more harm to the thin lines vs. the bilateral blur. (enable them to check result).

 

 

bilateral blur vs dust and scracthesafphoto.afphoto

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
10 minutes ago, NotMyFault said:

please have a look at the doc attached file. I've added vector shapes with 1 px and 5px stroke, and 2 blur / dust & scratches filter layers with identical settings (30 px  / 10%).

The d&s does far more harm to the thin lines vs. the bilateral blur. (enable them to check result).

Why would you ever want to apply a D&S filter to any vector shape layer(s)? 

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

It is only an example to show what happens to thin lines or edges when you use dust & scratches filter, and how bilateral blur differs with respect to them. You may rasterize / merge visible to get an pixel layer, does not impact the result. I'm still waiting for the document from dancebles to see what actual complications are in there.

 

The point i want to show is that bilateral blur better removes small scratches, and preserves other thin lines / edges better than dust & scratches.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
16 minutes ago, NotMyFault said:

The point i want to show is that bilateral blur better removes small scratches, and preserves other thin lines / edges better than dust & scratches.

I am not sure if using those vector shapes with perfect edges, even if rasterized to a pixel layer, is a reasonable substitute for scratches, dust, or other kinds of pixelated spots which are unlikely to have such clean edges. I think that's what the D&S filter is designed for so I am not sure this is a fair test.

But what do I know? 

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.