22 from __future__
import absolute_import, division, print_function
24 __all__ = [
"makeImageFromArray",
"makeMaskFromArray",
"makeMaskedImageFromArrays"]
26 from .image
import Image
27 from .mask
import Mask
28 from .maskedImage
import MaskedImage
32 """Construct an Image from a NumPy array, inferring the Image type from 33 the NumPy type. Return None if input is None. 37 return Image(array, dtype=array.dtype.type)
41 """Construct an Mask from a NumPy array, inferring the Mask type from the 42 NumPy type. Return None if input is None. 46 return Mask(array, dtype=array.dtype.type)
50 """Construct a MaskedImage from three NumPy arrays, inferring the 51 MaskedImage types from the NumPy types.
def makeImageFromArray(array)
def makeMaskFromArray(array)
def makeMaskedImageFromArrays(image, mask=None, variance=None)