[mmFrame] [Up] [mmGconst] Image Creation

mmConst
Create a constant image (obsolete).

Synopsis

Image mmConst ( const Image& COORD , const Double& V = 0, const String& TYPE = "uint8" );

Input

COORD Image [ Gray-scale (uint8 or uint16) or binary image ]

Image size: [rows cols].

V Double [ Non-negative integer. ]

Pixel value.

Default: 0

TYPE String

'uint8', 'uint16', or 'binary'.

Default: "uint8"

Output

Y Image [ Gray-scale (uint8 or uint16) or binary image ]

Description

Create a constant image of size specified the elements of coord. All the pixels will have value v of give type. Obsolete, use function mmGconst .

See also

mmGconst Create a constant image.
[mmFrame] [Up] [mmGconst]