computeIntensity

lsst.afw.display.computeIntensity(imageR, imageG=None, imageB=None)

Return a naive total intensity from the red, blue, and green intensities

Parameters:
imageR : lsst.afw.image.MaskedImage, lsst.afw.image.Image, or numpy.ndarray, (Nx, Ny)

intensity of image that’ll be mapped to red; or intensity if imageG and imageB are None

imageG : lsst.afw.image.MaskedImage, lsst.afw.image.Image, or numpy.ndarray, (Nx, Ny)

intensity of image that’ll be mapped to green; or None

imageB : lsst.afw.image.MaskedImage, lsst.afw.image.Image, or numpy.ndarray, (Nx, Ny)

intensity of image that’ll be mapped to blue; or None

Returns:
image : type of imageR, imageG, and imageB`