23 __all__ = [
"makeImageFromArray",
"makeMaskFromArray",
"makeMaskedImageFromArrays"]
25 from .image
import Image
26 from .mask
import Mask
27 from .maskedImage
import MaskedImage
31 """Construct an Image from a NumPy array, inferring the Image type from 32 the NumPy type. Return None if input is None. 36 return Image(array, dtype=array.dtype.type)
40 """Construct an Mask from a NumPy array, inferring the Mask type from the 41 NumPy type. Return None if input is None. 45 return Mask(array, dtype=array.dtype.type)
49 """Construct a MaskedImage from three NumPy arrays, inferring the 50 MaskedImage types from the NumPy types.
def makeImageFromArray(array)
def makeMaskFromArray(array)
def makeMaskedImageFromArrays(image, mask=None, variance=None)
A class to represent a 2-dimensional array of pixels.