A class for blending two images.
More...
|
| __init__ (self, blend_ratio=0.21) |
| Constructor for ImageBlender.
|
|
| blend_images (self, left_image, right_image) |
| Blends two images together using the specified blend ratio.
|
|
A class for blending two images.
◆ __init__()
imageBlender.ImageBlender.__init__ |
( |
|
self, |
|
|
|
blend_ratio = 0.21 |
|
) |
| |
Constructor for ImageBlender.
- Parameters
-
blend_ratio | The ratio at which images will be blended, default is 0.21. |
◆ blend_images()
imageBlender.ImageBlender.blend_images |
( |
|
self, |
|
|
|
left_image, |
|
|
|
right_image |
|
) |
| |
Blends two images together using the specified blend ratio.
- Parameters
-
left_image | The left image to blend. |
right_image | The right image to blend. |
- Returns
- A tuple containing the blended left and right images.
The documentation for this class was generated from the following file: