20.8.1 Image Properties


Pixel is considered the basic element of an image. Image is consist of hundreds of thousands of pixels. It is important to know the image properties before and during the image processing, that is, the brightness value of each pixel, or, a more useful way, the histogram of an image provided the frequency of the brightness values (vertical axis) vs gray levels (horizontal axis).

To get the gray scale info of an image

To get the histogram of an image, you can select Analysis: Histogram.

You can also select Plot: Image: Profiles to know the Image Profiles.

To get basic info of image file

Runing imgInfo will print out the given image file's basic information in script window. The output information is listed in the following table:

Properties
Description
width The width of the image
height The height of the image
bits Number of bits per pixel
colors Color depth
isgray Whether the image is a gray image
order Color order