mexGaussianSubsample.cpp

Go to the documentation of this file.
00001 
00011 // This file is part of the SaliencyToolbox - Copyright (C) 2006-2007
00012 // by Dirk B. Walther and the California Institute of Technology.
00013 // See the enclosed LICENSE.TXT document for the license agreement. 
00014 // More information about this project is available at: 
00015 // http://www.saliencytoolbox.net
00016 
00017 #include "mexLog.h"
00018 #include "Image.h"
00019 #include "Filters.h"
00020 #include "MexParams.h"
00021 
00022 /* the main program */
00023 void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
00024 {
00025   MexParams Params(0,1,nlhs,plhs,1,1,nrhs,prhs);
00026   const Image img(Params.getInput(0));
00027   Image result = lowPass6yDecY(lowPass6xDecX(img));
00028   Params.setOutput(0,result.getArray());
00029 }

Generated on Fri Sep 7 13:09:49 2007 for SaliencyToolbox by  doxygen 1.5.2