tomwer.gui.stitching.stitchandbackground.StitchAndBackgroundAlphaMixIn#

class tomwer.gui.stitching.stitchandbackground.StitchAndBackgroundAlphaMixIn#

Mix in class for windows displaying a stitched image with or without the background

LEGEND_BACKGROUND = 'background'#
LEGEND_STITCHED_FRAME = 'stitched frame'#
getBackgroundImgAlpha()#

return 0.0 if there is no background image

Return type:

Optional[float]

getStitchedImgAlpha()#
Return type:

float

Returns:

alpha value to set to the stitched image. If only the image is displayed then will be 1.0 else will be the value defined by the “alpha channel’ widget

setAlphaBackgroundImg(value)#
setAlphaStitchedImg(value)#