FastDeploy
latest
Fast & Easy to Deploy!
|
Processor for Limit images by short edge with given paramters. More...
#include <limit_short.h>
Static Public Member Functions | |
static bool | Run (Mat *mat, int max_short=-1, int min_short=-1, int interp=1, ProcLib lib=ProcLib::DEFAULT) |
Process the input images. More... | |
Additional Inherited Members | |
Public Member Functions inherited from fastdeploy::vision::Processor | |
virtual bool | operator() (FDMat *mat) |
operator () for calling processor in this way: processor(mat) More... | |
virtual bool | operator() (FDMat *mat, ProcLib lib) |
operator () for calling processor in this way: processor(mat, lib) This function is for backward compatibility, will be removed in the near future, please use operator()(FDMat* mat) instead and set proc_lib in mat. More... | |
virtual bool | operator() (FDMatBatch *mat_batch) |
operator () for calling processor in this way: processor(mat_batch) More... | |
Processor for Limit images by short edge with given paramters.
|
static |
Process the input images.
[in] | mat | The input image data |
[in] | max_short | target size of short edge |
[in] | min_short | target size of short edge |
[in] | interp | interpolation method, deafult is 1 |
[in] | lib | to define OpenCV or FlyCV or CVCUDA will be used. |