由于find_shape_model函数中的角度可以使用亚像素精度,一个直径小于200像素的模板可以选择AngleStep>= 1. 如果选择AngleStep='auto' (or 0 向后兼容),create_shape_model将会基于模板的大小自动定义一个合适的角度步长. 自动计算出来的AngleStep可以使用get_shape_model_params函数查看。 如果没有选择complete pregene...
1、算子find_aniso_shape_model在输入图像Image(参数)中找到各向异性尺度不变形状模型ModelID(参数)的最佳NumMatches(参数)个实例。模型ModelID(参数)必须先通过调用create_aniso_shape_model或read_shape_model创建。 2、所得实例在行和列方向上的位置,旋转和缩放会以参数Row,Column,Angle,ScaleR和ScaleC的形式返回。
Contrast(in):设置对比度(可以通过inspect_shape_modelinspect_shape_model算子确定对比度) MinContrast(in):设置最小对比度(对于灰度差距不大时,使用低对比度) ModelID(out):输出模板句柄 二、匹配模板算子 1.查找ncc模型 find_ncc_model(Image : : ModelID, AngleStart, AngleExtent, MinScore, NumMatches, M...
gen_sin_bandpass Generate a bandpass filter with sinusoidal shape. gen_std_bandpass Generate a bandpass filter with Gaussian or sinusoidal shape. optimize_fft_speed Optimize the runtime of the FFT. optimize_rft_speed Optimize the runtime of the real-valued FFT. phase_correlation_fft Compute the ...