/* AUTORIGHTS Copyright (C) 2007-09 Andrea Vedaldi and Brian Fulkerson This file is part of VLFeat, available in the terms of the GNU General Public License version 2. */ #include #include #include int main() { vl_uint nrows = 10; vl_uint ncols = 3; double Pic[3*10] = { 0.6813, 0.3028, 0.8216, 0.3795, 0.5417, 0.6449, 0.8318, 0.1509, 0.8180, 0.5028, 0.6979, 0.6602, 0.7095, 0.3784, 0.3420, 0.4289, 0.8600, 0.2897, 0.3046, 0.8537, 0.3412, 0.1897, 0.5936, 0.5341, 0.1934, 0.4966, 0.7271, 0.6822, 0.8998, 0.3093, }; int r,c; VlAIB * aib; vl_uint * parents; printf("Pic = ["); for(r=0; r %d\n", r, parents[r]); vl_aib_delete(aib); } /* free(Pic); */ printf("IB done\n"); return 0; }