mex -lopencv_core -lopencv_imgproc -L/usr/local/lib -I/usr/local/include/ resize.cpp MxArray.cpp
mex -lopencv_core -lopencv_imgproc -L/usr/local/lib -I/usr/local/include/ calcIIF.cpp MxArray.cpp
mex im2colstep.c