CImageView:PlotCursorColRange


The PlotCursorColRange method plots the range of columns inside the image cursor on a displayed image.

Syntax

CPlotView:PlotCursorColRange( CImageView )

bullet.gif    CImageView is a reference to the class object where the image is displayed.

Remarks

This method works with a displayed image. It creates a graph of luminance value versus row number, with one plot series for each column. The column region is specified by the limits of the image cursor. The cursor region can be set using the SetCursorRect method or related methods.

Example

Assume that a CImageView object named V exists. The following script plots 100 columns, from columns 100 through 199, over rows 300 through 500 for the currently displayed image.

R = new_rect()

-- create a CRect object

R:Set(100,199,300,500)

-- specify the region to plot

V:SetCursorRect(R)

-- assign the CRect to the cursor

P = new_plotview()

-- create a CPlotView

P:PlotCursorColRange(V)

-- make the plot

Related Topics

CPlotView class, CImageView, SetCursorRect, PlotCursorRowRange, Image Coordinate System, Subpixel Coordinate Definition, PlotCursorColAbg

 

Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.