/* Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #include #include #include int main() { vl_uint32 nrows = 10; vl_uint32 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, }; vl_uint32 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; }