ClassesClassesClassesClasses | | | | Operators

create_rectification_gridcreate_rectification_gridCreateRectificationGridcreate_rectification_gridCreateRectificationGridCreateRectificationGrid (Operator)

Name

create_rectification_gridcreate_rectification_gridCreateRectificationGridcreate_rectification_gridCreateRectificationGridCreateRectificationGrid — Generate a PostScript file, which describes the rectification grid.

Signature

create_rectification_grid( : : Width, NumSquares, GridFile : )

Herror create_rectification_grid(double Width, const Hlong NumSquares, const char* GridFile)

Herror T_create_rectification_grid(const Htuple Width, const Htuple NumSquares, const Htuple GridFile)

Herror create_rectification_grid(const HTuple& Width, const HTuple& NumSquares, const HTuple& GridFile)

void CreateRectificationGrid(const HTuple& Width, const HTuple& NumSquares, const HTuple& GridFile)

static void HMisc::CreateRectificationGrid(double Width, Hlong NumSquares, const HString& GridFile)

static void HMisc::CreateRectificationGrid(double Width, Hlong NumSquares, const char* GridFile)

void HOperatorSetX.CreateRectificationGrid(
[in] VARIANT Width, [in] VARIANT NumSquares, [in] VARIANT GridFile)

void HMiscX.CreateRectificationGrid(
[in] double Width, [in] Hlong NumSquares, [in] BSTR GridFile)

static void HOperatorSet.CreateRectificationGrid(HTuple width, HTuple numSquares, HTuple gridFile)

static void HMisc.CreateRectificationGrid(double width, int numSquares, string gridFile)

Description

create_rectification_gridcreate_rectification_gridCreateRectificationGridcreate_rectification_gridCreateRectificationGridCreateRectificationGrid generates a checkered pattern with NumSquaresNumSquaresNumSquaresNumSquaresNumSquaresnumSquares x NumSquaresNumSquaresNumSquaresNumSquaresNumSquaresnumSquares alternating black and white squares. This pattern is WidthWidthWidthWidthWidthwidth meters wide (and high). Around the pattern there is an inner frame of 0.3 times the width of one square, which continues the checkered pattern. The pattern is completed by a solid white outer frame of 0.7 times the width of one square. In the center of the pattern there are two circular marks, one black on a white square and one white on a black square. These marks are used by gen_grid_rectification_mapgen_grid_rectification_mapGenGridRectificationMapgen_grid_rectification_mapGenGridRectificationMapGenGridRectificationMap to rotate the detected layout of the grid points into the correct orientation. It is assumed that the black mark is positioned to the left of the white mark, when oriented correctly. The file GridFileGridFileGridFileGridFileGridFilegridFile contains the PostScript description of the rectification grid.

Parallelization

Parameters

WidthWidthWidthWidthWidthwidth (input_control)  real HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Width of the checkered pattern in meters (without the two frames).

Default value: 0.17

Suggested values: 1.2, 0.8, 0.6, 0.4, 0.2, 0.1

Recommended increment: 0.1

Restriction: 0.0 < Width

NumSquaresNumSquaresNumSquaresNumSquaresNumSquaresnumSquares (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of squares per row and column.

Default value: 17

Suggested values: 11, 13, 15, 17, 19, 21, 23, 25, 27

Recommended increment: 2

Restriction: 2 <= NumSquares

GridFileGridFileGridFileGridFileGridFilegridFile (input_control)  filename.write HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

File name of the PostScript file.

Default value: 'rectification_grid.ps' "rectification_grid.ps" "rectification_grid.ps" "rectification_grid.ps" "rectification_grid.ps" "rectification_grid.ps"

File extension: .ps

Result

find_rectification_gridfind_rectification_gridFindRectificationGridfind_rectification_gridFindRectificationGridFindRectificationGrid returns 2 (H_MSG_TRUE) if all parameter values are correct and the file has been written successfully. If necessary, an exception is raised.

See also

find_rectification_gridfind_rectification_gridFindRectificationGridfind_rectification_gridFindRectificationGridFindRectificationGrid, saddle_points_sub_pixsaddle_points_sub_pixSaddlePointsSubPixsaddle_points_sub_pixSaddlePointsSubPixSaddlePointsSubPix, connect_grid_pointsconnect_grid_pointsConnectGridPointsconnect_grid_pointsConnectGridPointsConnectGridPoints, gen_grid_rectification_mapgen_grid_rectification_mapGenGridRectificationMapgen_grid_rectification_mapGenGridRectificationMapGenGridRectificationMap

Module

Foundation


ClassesClassesClassesClasses | | | | Operators