points_foerstner (Image1, 1, 2, 3, 50, 0.1, 'gauss', 'true', Rows1, Columns1, CoRRJunctions, CoRCJunctions, CoCCJunctions, RowArea, ColumnArea, CoRRArea, CoRCArea, CoCCArea) points_foerstner (Image2, 1, 2, 3, 50, 0.1, 'gauss', 'true', Rows2, Columns2, CoRRJunctions, CoRCJunctions, CoCCJunctions, RowArea, ColumnArea, CoRRArea, CoRCArea, CoCCArea)
proj_match_points_ransac (Image1, Image2, Rows1, Columns1, Rows2, Columns2, 'ncc', 10, 0, 0, Height, Width, 0, 0.5, 'gold_standard', 2, 42, HomMat2DUnrectified, Points1Unrectified, Points2Unrectified) * Construct a projective mosaic from the two unrectified images. * 将两个未修改(有径向畸变)的图像构造为一个投影拼接(projective mosaic) concat_obj (Image1, Image2, Images) gen_projective_mosaic (Images, MosaicImageUnrectified, 1, 1, 2, HomMat2DUnrectified, 'default', 'false', MosaicMatrices2DUnrectified)
* 去除图像中的径向畸变 change_radial_distortion_cam_par ('fixed', CamParDist, 0, CamPar) change_radial_distortion_image (Image1, Image1, Image1Rect, CamParDist, CamPar) change_radial_distortion_image (Image2, Image2, Image2Rect, CamParDist, CamPar)
emphasize (Image, ImageEmphasize, 10, 10, 2)
rgb1_to_gray (ImageEmphasize, GrayImage)
threshold (GrayImage, Regions, 63, 255)
connection (Regions, ConnectedRegions)
select_shape (ConnectedRegions, SelectedRegions, ['area','height'], 'and', [0,69.09], [380.26,150])