Combine images, overlay images, or highlight selected pixels
The AlphaBlender
System object™ combines two images, overlays one image over another, or highlights selected
pixels.
To combine two images, overlay one image over another, or highlight selected pixels:
Create the vision.AlphaBlender
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
alphablend = vision.AlphaBlender
creates an alpha blender
System object, alphablend
, which combines two images, overlays one
image over another, or highlights selected pixels.
sets properties using one or more name-value pairs. Enclose each property name in
quotes. For example, alphablend
= vision.AlphaBlender(Name,Value
)alphablend =
vision.AlphaBlender('Operation','Blend')
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)