#include <mex.h>
#include "Matlab/mexConverts.H"
#include "Image/Image.H"
#include "Raster/GenericFrame.H"
#include "Raster/Raster.H"
#include <exception>
Go to the source code of this file.
Functions | |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
Read any image into matlab. |
Definition in file mexInvtread.C.
void mexFunction | ( | int | nlhs, | |
mxArray * | plhs[], | |||
int | nrhs, | |||
const mxArray * | prhs[] | |||
) |
Read any image into matlab.
Definition at line 52 of file mexInvtread.C.
References GenericFrame::asRgbF32(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U8, Image2mexArray(), Image2mexArrayUint8(), LFATAL_PRINTS_ABORT, LFATAL_XTRA_NOISY, LOG_FLAGS, MYLOGVERB, GenericFrame::nativeType(), GenericFrame::NONE, Raster::ReadFrame(), GenericFrame::RGB_F32, GenericFrame::RGB_U8, RGBImage2mexArray(), and RGBImage2mexArrayUint8().