generate_chi2inv_lut.m
来自「RANSAC Toolbox by Marco Zuliani email: 」· M 代码 · 共 32 行
M
32 行
% NAME:% generate_chi2inv_LUT%% DESC:% generates a look up table for the chi2inv function% AUTHOR:% Marco Zuliani, email: marco.zuliani@gmail.com% Copyright (C) 2008 by Marco Zuliani % % LICENSE:% This toolbox is distributed under the terms of the GNU LGPL.% Please refer to the files COPYING and COPYING.LESSER for more information.clear close allclc% parameter rangev_LUT = 1:8;p_LUT = linspace(0.5, 1-eps, 512);x_LUT = zeros(length(p_LUT), length(v_LUT));for h = 1:length(p_LUT) for k = 1:length(v_LUT) x_LUT(h, k) = chi2inv(p_LUT(h), v_LUT(k)); end;end;save chi2inv_LUT p_LUT v_LUT x_LUT
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?