|
| __init__ (self, image, transparency_factor) |
|
| smoothstep (self, edge0, edge1, x) |
|
| create_mask (self, image_side, mask_width, image_width) |
|
| gammaCorrection (self, gamma) |
|
| alpha_blending (self, image_side) |
|
|
| result_image = None |
|
| transparency_factor = transparency_factor |
|
int | __alpha_gradient = 0: |
|
int | result_image = 1: |
|
◆ alpha_blending()
alpha_blending.MaskCreator.alpha_blending |
( |
| self, |
|
|
| image_side ) |
Applies alpha blending on the gamma-corrected image.
Combines the gamma-corrected part of the image with a black background using the alpha gradient mask.
The documentation for this class was generated from the following file: