I think I understand what it should do, but I don't seem to be able to make it work well.
- the tool seems to be unresponsive often (or at least computationally intensive, even with small speck sizes).
- I'm not sure if I understand how it is supposed to display mask changes - if I change the settings (e.g. speck size, threshold) there is a computation going on, but are the changes to the mask displayed, or do I need to hit the running-man button to see them?
- when I zoom to 1:1 and then adjust the speck size or threshold slider, the mask seems to recompute, and then the preview zooms to fit.
Is there an example mask (or a recipe to make one that would have proper pinholes in them) that I could try to confirm that it works?
Mask pinhole tool
Moderator: jsachs
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Mask pinhole tool
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: Mask pinhole tool
Like the other mask tools, it updates right away.
Here is a workspace script that illustrates it:
workspace_script 1.0
PWP_Version ″Picture Window Pro 8.0.143″
color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ wcs_profile ″AdobeRGB1998.icc″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0
image index 1 caption ″Texture″ saved_as ″″ saved_on ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 0 n_masks 0 command ‴texture 0 onx 256 ony 256 dpi 100 n 1024 units 0 power -1.0000 rmin 0 rmax 1 amin 0.0000 amax 1 seed 1234567 do16 0 equalize 0 colorline 2 0.000000 5 3 0 1.000000 0 0 ffffff‴
end_image
image index 2 caption ″Brightness Curve″ saved_as ″″ saved_on ″″ parent 1 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 1 command ‴brightness_curve 0 amount 0 1 0 1 ″Amount: ″ ″Mask″colorspace 0 advanced 0 mask_histogram 0 which_curve 0 curve 2 2 0 0 255 255 radius 10 threshold 100 detail 1 antialias 0 curve1 2 2 0 0 255 255 radius1 10 threshold1 100 detail1 1 antialias1 0 display 1 sync_scroll 1 auto_preview 1 ‴
mask base_image 2 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask″ command ‴mask 0 nx 256 ny 256 mask_color 0 mask_transparency 5 mask_mode 0 mask16 0 mask_operation 0 initial_level 0 n_op 2 brush_settings 0 0 10 0 100 25 30 1 0 feather_settings 0 0 0 0 floodfill_settings 0 32 texture_settings 0 0 0 0 255 gradient_settings 0 2 0.000000 5 3 ffffff 1.000000 0 0 0 0 pinhole_settings 0 3 34 2 median_settings 0 1 1 blur_settings 0 50 curve_settings 0 4 0 0 0 165 245 172 0 255 255 0 shape_settings 0 2 2 0 0 255 255 separate_settings 0 0 0 1 0 1 0 1 0 0 ffffff 1 ffffff 1 ffffff 1 ffffff color_range_settings 0 0 ff 0 1024 0 1024 0 1024 0 1024 0 1024 0 1024 command1 operation 9 mask_mode 0 mask_operation 9 channel 0 curve 4 0 0 0 165 245 172 0 255 255 command2 operation 15 mask_mode 0 mask_operation 15 pinhole 3 34 2 ‴
end_image
current_image 2
end
Here is a workspace script that illustrates it:
workspace_script 1.0
PWP_Version ″Picture Window Pro 8.0.143″
color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ wcs_profile ″AdobeRGB1998.icc″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0
image index 1 caption ″Texture″ saved_as ″″ saved_on ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 0 n_masks 0 command ‴texture 0 onx 256 ony 256 dpi 100 n 1024 units 0 power -1.0000 rmin 0 rmax 1 amin 0.0000 amax 1 seed 1234567 do16 0 equalize 0 colorline 2 0.000000 5 3 0 1.000000 0 0 ffffff‴
end_image
image index 2 caption ″Brightness Curve″ saved_as ″″ saved_on ″″ parent 1 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 1 command ‴brightness_curve 0 amount 0 1 0 1 ″Amount: ″ ″Mask″colorspace 0 advanced 0 mask_histogram 0 which_curve 0 curve 2 2 0 0 255 255 radius 10 threshold 100 detail 1 antialias 0 curve1 2 2 0 0 255 255 radius1 10 threshold1 100 detail1 1 antialias1 0 display 1 sync_scroll 1 auto_preview 1 ‴
mask base_image 2 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask″ command ‴mask 0 nx 256 ny 256 mask_color 0 mask_transparency 5 mask_mode 0 mask16 0 mask_operation 0 initial_level 0 n_op 2 brush_settings 0 0 10 0 100 25 30 1 0 feather_settings 0 0 0 0 floodfill_settings 0 32 texture_settings 0 0 0 0 255 gradient_settings 0 2 0.000000 5 3 ffffff 1.000000 0 0 0 0 pinhole_settings 0 3 34 2 median_settings 0 1 1 blur_settings 0 50 curve_settings 0 4 0 0 0 165 245 172 0 255 255 0 shape_settings 0 2 2 0 0 255 255 separate_settings 0 0 0 1 0 1 0 1 0 0 ffffff 1 ffffff 1 ffffff 1 ffffff color_range_settings 0 0 ff 0 1024 0 1024 0 1024 0 1024 0 1024 0 1024 command1 operation 9 mask_mode 0 mask_operation 9 channel 0 curve 4 0 0 0 165 245 172 0 255 255 command2 operation 15 mask_mode 0 mask_operation 15 pinhole 3 34 2 ‴
end_image
current_image 2
end
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Re: Mask pinhole tool
I tried to us Mask Pinholes on the Workspace script above. Those pinholes are a few pixels in size. With Threshold set to zero, increasing the Speck Size slider kills increasingly more of them, but not all, and at higher values (more than 10) some start reappearing. I had much better luck with the Mask/Median Filter.
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: Mask pinhole tool
I agree the median filter works better, but it has a tendency to round off sharp corners.
Jonathan Sachs
Digital Light & Color
Digital Light & Color