How we change what others think, feel, believe and do |
Dave's Alpha Control
Disciplines > Photography > Affinity Photo > Resources > Dave's Alpha Control Download | Discussion | Alpha Squeeze'n'Stretch | Full Alpha Selection | Erase Wt/Gy/Bk Paper | Flatten Alpha | Alpha Map | Alpha to White | Alpha to Black | Alpha to Red | See Also
DownloadClick here to download the latest 'Dave's Alpha Control' macro set. To insert this into your library, simply click on the 3-line 'hamburger' on the top right of the library panel, click on 'Import Macros...' and point it at the downloaded file. Then click on the layer for which you want a model and click once on the appropriate macro in the 'Dave's Alpha Control' library group category. Discussion'Alpha' is the same as transparency or opacity, and is also related to masks and selection. Every pixel is described with RGBA values, where RGB is the familiar Red, Green and Blue, while the A stands for Alpha. This means any pixel may be opaque, transparent or partially transparent. In an 8 bit system, where RGB values can each can have 256 different values, so also can the Alpha value of that pixel. When doing selection, the 'selection' is actually an indication of the alpha value selected, including when you select with a soft brush, you feather the selection or do a Refine. The resultant partially selected pixels are helpful for blending in a selected and adjusted area, but may extend too far. A typical example is in selecting hair, where you get unwanted parts of the background along with the hair. The macros in this group are intended to help with such editing problems, where pixel alpha may be less than 100%. In particular, they are useful for one of:
Note: To be able to see the transparency of pixels, either ensure that Document/Transparent Background is checked, or add a temporary Fill Layer below, set with a contrasting colour (such as magenta). Alpha Squeeze'n'StretchDescriptionThis macro is to help increase or decrease alpha of partially transparent pixels, effectively shifting the perceived boundaries of the layer. To use it, double-click the Procedural Texture adjustment that appears at the top of the layer stack and adjust the controls as below. Controls
DiscussionThe general principle of this macro is to adjust alpha of partially transparent pixels (value greater than 0 and less than 1). An example of its use is after hair selection and 'refine', to remove unwanted extra pixels. The Mono/Colour removal is an extra tool that may be useful where unwanted edge pixels are dark or light (for example caused by sharpening). Full Alpha SelectionThis allows for the selection of pixels with alpha values within a defined range, including fully transparent or opaque. DescriptionThis creates a new layer with the visible image, then adds a Procedural Texture child adjustment layer. To use this, hide the layers below the added layers, then double click the Procedural Texture layer and adjust the controls as below. The best approach is to first turn off layers beneath, then set the first four controls to create the selected area. Then apply other adjustments to suit. Controls
DiscussionThis macro is based on other Dave's Selection macros such as found in Luminosity and Hue selection, where a zone with feathered edges is set up for selection, then other controls may be applied, such as changing the feathering algorithm or inverting the selection. The Mono Protect feature works as in other macros, preventing lower saturation pixels from being selected. This is helpful when you want to keep tones and select colours. To reverse this, you can select the MP Invert control. Erase Wt/Gy/Bk PaperThis is an extension of the 'Erase White Paper' filter, giving dynamic control, Black/Grey erasing and selection inversion. DescriptionThis works by reducing alpha in white/grey/black with individual controls for each. Note that grey erase works from mid-grey outwards. While the White/Grey/Black controls can be used together, the basic intent is that only one is used at a time. The Erase/Invert switch allows you to turn from an erase into a selection, simply by inverting the alpha value. ControlsNote that the White, Grey and Black controls have a snap point half way up. This may provide a convenient basic value. From zero, nudge a minimum amount to erase pure white/mid-grey/pure black.
DiscussionThe algorithms used work on the principle of combining lightness, as determined by minimum and maximum RGB values and how monochrome the pixel, as determined by the difference between the maximum and the minimum RGB values. Pixels with 'White' in have a minimum value greater than zero. Pixels with black in have a maximum value less than 100%. Pixels with grey in have both minimum value greater than zero and maximum value less than 100%. The sliders have a 'snap point' mid-way as the algorithm changes here. The controls are non-linear in order to give a very wide span of control. Flatten AlphaThis macro simply ensures all pixels are opaque, removing any feathering. DescriptionThis works simply by bumping up the alpha value of all pixels to 100%, so each pixel is opaque. Any pixels which have no information in them, such as those which have been erased, appear as black. DiscussionThis macro can be used to 'unfeather' images, restoring 'faded' areas. It will also show where there is no useful information in the image. Alpha MapThis macro simply turns all opaque pixels white, all transparent pixels black, and partially transparent pixels to shades of grey. DescriptionThe macro works by creating a new image from the visible pixels and then turning this into a greyscale map of opacity. A simple use of this is to identify where pixels are transparent, partially transparent or opaque. The map may also be converted into a mask for selective treatment. Alpha to WhiteThis macro converts all transparent and partially transparent pixels to white. DescriptionThis effectively sets all pixels to opaque, removing transparency. This is useful for such as subsequent blending or printing (for example where you have a partially transparent border which you want to print in white. DiscussionPartially transparent pixels appear as more white than their original colour. This allows for deliberate fading to white. The macro is very similar to the Alpha to Black and Alpha to Red macros. Alpha to BlackThis macro converts all transparent and partially transparent pixels to black. DescriptionThis effectively sets all pixels to opaque, removing transparency. This is useful for such as subsequent blending or printing (for example where you have a partially transparent border which you want to print in black. DiscussionPartially transparent pixels appear as more black than their original colour. This allows for deliberate fading to black. The macro is very similar to the Alpha to White and Alpha to Red macros. Alpha to RedThis macro converts all transparent and partially transparent pixels to red. DescriptionThis effectively sets all pixels to opaque, removing transparency. This is done as a way to make partially transparent pixels more visible, in the same manner as used in the Quick Mask and in selection Refine. DiscussionPartially transparent pixels appear as more red than their original colour. The macro is very similar to the Alpha to White and Alpha to Black macros. See alsoIf you are having problems downloading the macros, click here to download as zip file.
|
Site Menu |
| Home | Top | Quick Links | Settings | |
Main sections: | Disciplines | Techniques | Principles | Explanations | Theories | |
Other sections: | Blog! | Quotes | Guest articles | Analysis | Books | Help | |
More pages: | Contact | Caveat | About | Students | Webmasters | Awards | Guestbook | Feedback | Sitemap | Changes | |
Settings: | Computer layout | Mobile layout | Small font | Medium font | Large font | Translate | |
You can buy books here |
And the big |
| Home | Top | Menu | Quick Links | |
|
Site Menu |
| Home | Top | Quick Links | Settings | |
Main sections: | Disciplines | Techniques | Principles | Explanations | Theories | |
Other sections: | Blog! | Quotes | Guest articles | Analysis | Books | Help | |
More pages: | Contact | Caveat | About | Students | Webmasters | Awards | Guestbook | Feedback | Sitemap | Changes | |
Settings: | Computer layout | Mobile layout | Small font | Medium font | Large font | Translate | |
| Home | Top | Menu | Quick Links | |
|