⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dichotomic_grouping.m

📁 matlab的工具箱
💻 M
字号:
function [part,B,G] = dichotomic_grouping(pos,options)

% dichotomic_grouping - regroup points into 2^s (s is unknown) bins of nearly equal size. 
%
%   [part,B,G] = dichotomic_grouping_1d(pos,options);
%
%   'part' is a cell array containing the membership of each group.
%   'B' is a vector containing the membership of each point.
%   'G' is the number of points in each bin
%
%   'options' is a structure that can contains : 
%       - options.part_type: the way the dyadic split is performed, can be
%       either:
%           '1axis','2axis','3axis',etc : use the first 1,2,3,etc axis 
%              to do alternatively the split. Typically, if you have
%              3D data and you want approximatively isotropic grouping, 
%              use '3axis'.
%           'kmeans' : use a modified k-means method to do the grouping.
%       - options.ptmax: maximum number of point in each final cell.
%       - options.depthmax: depth of subdivision.
%       - options.part: an initial partition to refine.
%       - options.nb_iter : nbr of iterations for the K-means like clustering.
%
%   Copyright (c) 2004 Gabriel Peyr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -