Output basic parameters of image to script window
imgInfo;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Matrix | img |
Input Image |
|
Specify a image. Then the X-Function will output its basic information. |
Width | width |
Output int |
|
Specify the output of the width of the image. |
Height | height |
Output int |
|
Specify the output of the height of the image. |
Bits | bits |
Output int |
|
Specify the output of bits. |
Colors | colors |
Output int |
|
Output the color of the image. |
Isgray | isgray |
Output int |
|
Whether the image is gray image. |
Order | order |
Output int |
|
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 |
|
Get the minimum intensity values. |
Max | max |
Output int |
|
Get the maximum intensity values. |
This function is used to output the basic information of the image into the Script window.