EImageEncoder::Encode

Encodes an image or an ROI as a coded image.

Namespace: Euresys::Open_eVision

[C++]

void Encode(
   const EROIBW8& sourceImage,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW16& sourceImage,
   ECodedImage2& codedImage
)

void Encode(
   const EROIC24& sourceImage,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW8& sourceImage,
   const EROIBW8& inputMask,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW16& sourceImage,
   const EROIBW8& inputMask,
   ECodedImage2& codedImage
)

void Encode(
   const EROIC24& sourceImage,
   const EROIBW8& inputMask,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW8& sourceImage,
   const ERegion& region,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW16& sourceImage,
   const ERegion& region,
   ECodedImage2& codedImage
)

void Encode(
   const EROIC24& sourceImage,
   const ERegion& region,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW8& sourceImage,
   const EFrame& frame,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW16& sourceImage,
   const EFrame& frame,
   ECodedImage2& codedImage
)

void Encode(
   const EROIC24& sourceImage,
   const EFrame& frame,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW8& sourceImage,
   const ERegion& region,
   const EFrame& frame,
   ECodedImage2& codedImage
)

void Encode(
   const EROIBW16& sourceImage,
   const ERegion& region,
   const EFrame& frame,
   ECodedImage2& codedImage
)

void Encode(
   const EROIC24& sourceImage,
   const ERegion& region,
   const EFrame& frame,
   ECodedImage2& codedImage
)

[[deprecated]]
void Encode(
   const EROIBW1& sourceImage,
   ECodedImage2& codedImage
)

[[deprecated]]
void Encode(
   const EROIBW1& sourceImage,
   const EROIBW8& inputMask,
   ECodedImage2& codedImage
)

[[deprecated]]
void Encode(
   const EROIBW1& sourceImage,
   const ERegion& region,
   ECodedImage2& codedImage
)

Parameters

sourceImage

The input image that is to be encoded.

codedImage

The coded image that will hold the result of the encoding process.

inputMask

The possible input Flexible Mask that restricts the encoding. The input mask is a grayscale image having the same height and the same width as the source image. Any pixel in the source image that is covered by a value of 0 in the input mask will not get encoded in any layer. Any other pixel value in the input mask causes the pixel to be a candidate for the encoding.

region

Region of the input image that is to be encoded.

frame

Frame of reference. It is used to compute some features of the coded elements. The region must also be defined in this frame of reference.

Remarks

The previous content of the result coded image is discarded.

EImageEncoder.Encode

Encodes an image or an ROI as a coded image.

Namespace: Euresys.Open_eVision

[C#]

void Encode(
   EROIBW8 sourceImage,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW16 sourceImage,
   ECodedImage2 codedImage
)

void Encode(
   EROIC24 sourceImage,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW8 sourceImage,
   EROIBW8 inputMask,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW16 sourceImage,
   EROIBW8 inputMask,
   ECodedImage2 codedImage
)

void Encode(
   EROIC24 sourceImage,
   EROIBW8 inputMask,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW8 sourceImage,
   ERegion region,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW16 sourceImage,
   ERegion region,
   ECodedImage2 codedImage
)

void Encode(
   EROIC24 sourceImage,
   ERegion region,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW8 sourceImage,
   EFrame frame,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW16 sourceImage,
   EFrame frame,
   ECodedImage2 codedImage
)

void Encode(
   EROIC24 sourceImage,
   EFrame frame,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW8 sourceImage,
   ERegion region,
   EFrame frame,
   ECodedImage2 codedImage
)

void Encode(
   EROIBW16 sourceImage,
   ERegion region,
   EFrame frame,
   ECodedImage2 codedImage
)

void Encode(
   EROIC24 sourceImage,
   ERegion region,
   EFrame frame,
   ECodedImage2 codedImage
)

[Obsolete]
void Encode(
   EROIBW1 sourceImage,
   ECodedImage2 codedImage
)

[Obsolete]
void Encode(
   EROIBW1 sourceImage,
   EROIBW8 inputMask,
   ECodedImage2 codedImage
)

[Obsolete]
void Encode(
   EROIBW1 sourceImage,
   ERegion region,
   ECodedImage2 codedImage
)

Parameters

sourceImage

The input image that is to be encoded.

codedImage

The coded image that will hold the result of the encoding process.

inputMask

The possible input Flexible Mask that restricts the encoding. The input mask is a grayscale image having the same height and the same width as the source image. Any pixel in the source image that is covered by a value of 0 in the input mask will not get encoded in any layer. Any other pixel value in the input mask causes the pixel to be a candidate for the encoding.

region

Region of the input image that is to be encoded.

frame

Frame of reference. It is used to compute some features of the coded elements. The region must also be defined in this frame of reference.

Remarks

The previous content of the result coded image is discarded.

EImageEncoder.Encode

Encodes an image or an ROI as a coded image.

Module: open_evision

[Python]

Encode(
    sourceImage: EROIBW8
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW16
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIC24
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW8
    inputMask: EROIBW8
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW16
    inputMask: EROIBW8
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIC24
    inputMask: EROIBW8
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW8
    region: ERegion
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW16
    region: ERegion
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIC24
    region: ERegion
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW8
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW16
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIC24
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW8
    region: ERegion
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIBW16
    region: ERegion
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Encode(
    sourceImage: EROIC24
    region: ERegion
    frame: EFrame
    codedImage: ECodedImage2
) -> None

Parameters

sourceImage

The input image that is to be encoded.

codedImage

The coded image that will hold the result of the encoding process.

inputMask

The possible input Flexible Mask that restricts the encoding. The input mask is a grayscale image having the same height and the same width as the source image. Any pixel in the source image that is covered by a value of 0 in the input mask will not get encoded in any layer. Any other pixel value in the input mask causes the pixel to be a candidate for the encoding.

region

Region of the input image that is to be encoded.

frame

Frame of reference. It is used to compute some features of the coded elements. The region must also be defined in this frame of reference.

Remarks

The previous content of the result coded image is discarded.