Function extract

  • Extract the pixels of an image, as specified in a mask.

    Parameters

    • image: Image

      The image to process.

    • mask: Mask

      The mask defining which pixels to keep.

    • options: ExtractOptions = {}

      Extract options.

    Returns Image

    The extracted image.