/******************************** Author: Sravanthi Kota Venkata ********************************/ #include "sdvbs_common.h" I2D* fSortIndices(F2D* input, int dim) { int rows, cols; F2D *in; int i, j, k; I2D *ind; rows = input->height; cols = input->width; in = fDeepCopy(input); ind = iMallocHandle(rows,cols); for(i=0; i