Page 1 of 1

scratch removal tool problem - incomplete removal

Posted: August 7th, 2023, 12:06 pm
by pierrelabreche
The scratch removal tool did not completely remove a scratch.

I used the tool as shown below :
Capture d’écran 2023-08-07 115640 v1.jpg
Capture d’écran 2023-08-07 115640 v1.jpg (120.57 KiB) Viewed 652 times
Source image :
1956 Robert bébé 001 crop  v1.jpg
1956 Robert bébé 001 crop v1.jpg (121.25 KiB) Viewed 652 times
Output image :
1956 Robert bébé 001 crop  v2.jpg
1956 Robert bébé 001 crop v2.jpg (119.7 KiB) Viewed 652 times
Script:
script 1.0

PWP_Version ″Picture Window Pro 8.0.379″ saved ″7-août-2023 12:04:00″

script_directory ″″
original_script_pathname ″C:\Users\pierr\Pictures\Thérèse D. Lafontaine\1956 Robert bébé 001 crop v2.jpg.script″
associated_image_pathname ″C:\Users\pierr\Pictures\Thérèse D. Lafontaine\1956 Robert bébé 001 crop v2.jpg″
associated_original_pathname ″C:\Users\pierr\Pictures\Thérèse D. Lafontaine\1956 Robert bébé 001 crop v1.jpg″ 1
top_level_index 1

color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 on_multiple_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ ar_profile ″″ gray_ar_profile ″″ wcs_profile ″sRGB Color Space Profile.icm″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0

image index 1 caption ″File Open - 1956 Robert bébé 001 crop v1.jpg″ comment ″″ saved_as_pathname ″″ saved_on_date ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 0 n_masks 0 command ‴file_open 0 n_files 1 current 0 from_default 0 multiple 0 file1 ″C:\Users\pierr\Pictures\Thérèse D. Lafontaine\1956 Robert bébé 001 crop v1.jpg″ time1 ″20230807 155409″‴
end_image

image index 2 caption ″Scratch Removal″ comment ″″ saved_as_pathname ″C:\Users\pierr\Pictures\Thérèse D. Lafontaine\1956 Robert bébé 001 crop v2.jpg″ saved_on_date ″07-août-2023 16:04:00″ parent 1 bypass 0 same_size 1 size_specific 1 breakpoint 0 n_inputs 0 n_masks 1 command ‴scratch 1 nx 1231 ny 693 amount 1 -1 0 1 ″Amount: ″ ″Mask″ current_scratch -1 scratch_radius 29.458 scratch_strength 1 scratch_softness 0.5 scratch_mode 0 scratch_method 1 display 2 sync_scroll 1 auto_preview 1 nscratches 1 scratchv11 29.458 1 0.5 0 1 8 0.5628 0.344 0.509 0.3736 0.4667 0.4533 0.4295 0.5649 0.4167 0.6606 0.6038 0.6014 0.6538 0.5718 0.7205 0.5718‴
end_image

end 2 1 4

Re: scratch removal tool problem - incomplete removal

Posted: August 7th, 2023, 4:16 pm
by jsachs
Fixed for next release. The problem only shows up in cases where horizontal scan lines intersect the scratch removal polygon in multiple segments, so the workaround for now is to remove the scratch in separate sections.

In any case, the Clone tool does a better job on this image and is just as fast to use.