comment( : :Comment : )
Comment statement
exit ( : : : )
exit function
open_file ( : :FileName, FileType : FileHandle )
creates ('output' or 'append') or opens (output) a text file
fwrite_string ( : :FileHandle, String : )
写入string
dev_close_window( : : : )
Close the active graphics window.
read_image( : Image : FileName : )
; load image
get_image_pointer1 (Image : : : Pointer, Type, Width, Height )
Get image data. Such as: type (= 'byte', ' ' ', uint2 int2 etc.) and the size of the image (width and height)
dev_open_window( ::Row,Column,WidthHeight,Background :WindowHandle )
Open a graphic window.
dev_set_part ( : :Row1, Column1, Row2, Column2 : )
Modify the position where the image is displayed
dev_set_draw (’fill’)
fill the selected area
dev_set_draw (’margin’)
The displayed object has only edge lines,
dev_set_line_width (3)
Line width is specified with Line Width
threshold ( Image :Region : MinGray, MaxGray : )
Pick a pixel from the input image grayscale value g that satisfies the following conditions: MinGray <= g <= MaxGray.
dev_set_colored (number)
Display region is the number of colors used
dev_set_color ( : :ColorName : )
specifies the color
connection ( Region :ConnectedRegions : : )
Merge all selected pixels to touch interconnected areas
fill_up ( Region :RegionFillUp : : )
Fill in the holes in the selection area
fill_up_shape( Region : RegionFillUp : Feature, Min, Max : )
select_shape ( Regions :SelectedRegions : Features, Operation, Min, Max : )
Select an area with certain characteristics, Operation is an operation, such as "and" "or"
smallest_rectangle1 (Regions : : : Row1, Column1, Row2, Column2 )
Computes the rectangular area (parallel to the input coordinate axes) with the corners of the rectangle in pixel coordinates, Column1, Row2 (Row1, Column2).
dev_display (Object : : : )
display image
disp_rectangle1( : : WindowHandle, Row1, Column1, Row2, Column2 : )
The displayed rectangles are arranged. disp_rectangle1 displays the output of one or more rectangular windows. Describes the upper left corner (Row1,Column1) and lower right corner (Row2,Column2) of a rectangle. The display effect is shown in Figure 1.
texture_laws( Image : ImageTexture : FilterTypes, Shift, FilterSize : )
texture_laws
implements texture transform image FilterTypes: preset filter Shift: reduce grayscale change FilterSize: filter size
mean_image ( Image : ImageMean : MaskWidth, MaskHeight : )
smoothed image, the mean of the original grayscale values MaskWidth: the width of the filter mask
bin_threshold( Image : Region : : )
Automatically determine the threshold Region: dark regions of the image
dyn_threshold( OrigImage, ThresholdImage : RegionDynThresh : Offset,LightDark : )
Comparing two pixel image pixels RegionDynThresh(Out) segmented region Offset: Reduce noise caused problems LightDark extracts light, dark or similar?
dilation_circle( Region : RegionDilation : Radius : )
dilates the region Radius circle radius with a circular structuring element
complement( Region : RegionComplement : : )
returns the complemented region
reduce_domain( Image, Region : ImageReduced : : )
Reduce the image that defines the region ImageReduced=Image- Region
opening_circle( Region : RegionOpening : Radius : )
Open areas with circular structuring elements and smooth the borders of the image. Radius: radius
dev_clear_window( : : : )
clear view form
get_mbutton( : : WindowHandle : Row, Column, Button )
Wait in place until the mouse is pressed
select_region_point( Regions : DestRegions : Row, Column : )
Select all areas containing the given pixel
dilation_rectangle1( Region : RegionDilation : Width, Height : )
扩张有矩形元素地区 Width构建的矩形的宽度
difference( Region, Sub : RegionDifference : : )
计算两个区域的差异
gen_region_line( : RegionLines : BeginRow, BeginCol, EndRow, EndCol : )
计算区域(起始点和终点)中的线段
intersection( Region1, Region2 : RegionIntersection : : )
计算两个区域的交叉点
shape_trans( Region : RegionTrans : Type : )
变换形状,形状取决于Type