Standard Library function thatextracts a profile from an image.
XStart The starting x location of the lower-left corner of the image in the window.
YStart The starting y location of the lower-left corner of the image in the window.
OPENR, unit, FILEPATH('aerial_demo.img', Subdir = 'data'), /Get_Lun
Open the file containing the image.
img = BYTARR(512, 512)
READU, unit, img
WINDOW, 0, XSize = 512, YSize = 512
Create a window to display an image from the file.
TV, img
Display the first image from the file.
HIST_EQUAL_CT, img vals = PROFILE(img)
Retrieve a profile from the file.
INFO, vals
Examine the type and number of elements in the returned vector.
FREE_LUN, unit
Close the file and free the file unit number.