2.6.4.6 imgInfo


Brief Information

Output basic parameters of image to script window

Command Line Usage

imgInfo;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix img

Input

Image

<active>
Specify a image. Then the X-Function will output its basic information.
Width width

Output

int

<unassigned>
Specify the output of the width of the image.
Height height

Output

int

<unassigned>
Specify the output of the height of the image.
Bits bits

Output

int

<unassigned>
Specify the output of bits.
Colors colors

Output

int

<unassigned>
Output the color of the image.
Isgray isgray

Output

int

<unassigned>
Whether the image is gray image.
Order order

Output

int

<unassigned>
Color order of the bitmap. This field is meaningful if the image does not have a palette. It indicates whether the color values are in red-green-blue or blue-green-red order. Possible values are ORDER_RGB, ORDER_BGR and ORDER_GRAY
Min min

Output

int

<unassigned>
Get the minimum intensity values.
Max max

Output

int

<unassigned>
Get the maximum intensity values.

Description

This function is used to output the basic information of the image into the Script window.

Related X-Functions

imgFile