CPlotView:PlotCursorRowRange
The PlotCursorRowRange method plots the range of rows inside the image cursor on a displayed image.
CPlotView:PlotCursorRowRange( CImageView ) |
CImageView is a reference to the class object where the image is displayed.
This method works with an image displayed in a CImageView. It creates a graph of luminance value versus column number, with one plot series for each row. The row region is specified by the limits of the image cursor. The cursor region can be set using the SetCursorRect method or related methods.
Assume that a CImageView object named V exists. The following script plots 200 rows, from row 300 through row 499, over columns 100 through 200 for the displayed image:
|
-- create a CRect object |
|
-- specify the region to plot |
|
-- assign the CRect to the cursor |
|
-- create a CPlotView |
|
-- plot all rows inside the image cursor |
CPlotView class, CImageView, SetCursorRect, PlotCursorColRange, Image Coordinate System, Subpixel Coordinate Definition, PlotCursorRowAvg
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.