PBL4_2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
imageBlender.ImageBlender Class Reference

A class for blending two images. More...

Public Member Functions

 __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.
 

Public Attributes

 blend_ratio
 

Detailed Description

A class for blending two images.

Constructor & Destructor Documentation

◆ __init__()

imageBlender.ImageBlender.__init__ (   self,
  blend_ratio = 0.21 
)

Constructor for ImageBlender.

Parameters
blend_ratioThe ratio at which images will be blended, default is 0.21.

Member Function Documentation

◆ blend_images()

imageBlender.ImageBlender.blend_images (   self,
  left_image,
  right_image 
)

Blends two images together using the specified blend ratio.

Parameters
left_imageThe left image to blend.
right_imageThe 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: