Name
read_world_fileT_read_world_fileReadWorldFileReadWorldFile — Read the geo coding from an ARC/INFO world file.
read_world_fileread_world_fileReadWorldFileReadWorldFileReadWorldFile reads a geocoding from an ARC/INFO world
file with the file name FileNameFileNameFileNameFileNamefileName and returns it as a
homogeneous 2D transformation matrix in WorldTransformationWorldTransformationWorldTransformationWorldTransformationworldTransformation.
To find the file FileNameFileNameFileNameFileNamefileName, all directories contained in the
HALCON system variable 'image_dir'"image_dir""image_dir""image_dir""image_dir" (usually this is the
content of the environment variable HALCONIMAGES) are searched (see
read_imageread_imageReadImageReadImageReadImage). This transformation matrix can be used to
transform XLD contours to the world coordinate system before writing
them with write_contour_xld_arc_infowrite_contour_xld_arc_infoWriteContourXldArcInfoWriteContourXldArcInfoWriteContourXldArcInfo. If the matrix
WorldTransformationWorldTransformationWorldTransformationWorldTransformationworldTransformation is inverted by calling
hom_mat2d_inverthom_mat2d_invertHomMat2dInvertHomMat2dInvertHomMat2dInvert, the resulting matrix can be used to
transform contours that have been read with
read_contour_xld_arc_inforead_contour_xld_arc_infoReadContourXldArcInfoReadContourXldArcInfoReadContourXldArcInfo to the image coordinate system.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Name of the ARC/INFO world file.
Transformation matrix from image to world coordinates.
If the parameters are correct and the world file could be read, the
operator read_world_fileread_world_fileReadWorldFileReadWorldFileReadWorldFile returns the value 2 (H_MSG_TRUE). Otherwise
an exception is raised.
hom_mat2d_inverthom_mat2d_invertHomMat2dInvertHomMat2dInvertHomMat2dInvert,
affine_trans_contour_xldaffine_trans_contour_xldAffineTransContourXldAffineTransContourXldAffineTransContourXld,
affine_trans_polygon_xldaffine_trans_polygon_xldAffineTransPolygonXldAffineTransPolygonXldAffineTransPolygonXld
write_contour_xld_arc_infowrite_contour_xld_arc_infoWriteContourXldArcInfoWriteContourXldArcInfoWriteContourXldArcInfo,
read_contour_xld_arc_inforead_contour_xld_arc_infoReadContourXldArcInfoReadContourXldArcInfoReadContourXldArcInfo,
write_polygon_xld_arc_infowrite_polygon_xld_arc_infoWritePolygonXldArcInfoWritePolygonXldArcInfoWritePolygonXldArcInfo,
read_polygon_xld_arc_inforead_polygon_xld_arc_infoReadPolygonXldArcInfoReadPolygonXldArcInfoReadPolygonXldArcInfo
Foundation