|
MRPT
1.9.9
|
#include "img-precomp.h"#include <mrpt/core/cpu.h>#include <mrpt/core/round.h>#include <mrpt/img/CImage.h>#include <mrpt/io/CFileInputStream.h>#include <mrpt/io/CFileOutputStream.h>#include <mrpt/io/CMemoryStream.h>#include <mrpt/math/CMatrixF.h>#include <mrpt/math/fourier.h>#include <mrpt/math/utils.h>#include <mrpt/serialization/CArchive.h>#include <mrpt/system/CTicTac.h>#include <mrpt/system/CTimeLogger.h>#include <mrpt/system/filesystem.h>#include <mrpt/system/memory.h>#include <iostream>#include <mrpt/3rdparty/do_opencv_includes.h>#include "CImage_impl.h"#include <mexplus/mxarray.h>#include "CImage.SSEx.h"Go to the source code of this file.
Macros | |
| #define | IMAGE_ALLOC_PERFLOG 0 |
| #define | MRPT_DISABLE_FULL_OPTIMIZATION |
Functions | |
| static std::string | IMAGES_PATH_BASE (".") |
| static int | interpolationMethod2Cv (TInterpolationMethod i) |
| template<typename RET = uint32_t> | |
| constexpr RET | pixelDepth2CvDepth (PixelDepth d) |
| template<typename RET = uint32_t> | |
| RET | pixelDepth2IPLCvDepth (PixelDepth d) |
| static PixelDepth | cvDepth2PixelDepth (int64_t d) |
| static bool | my_img_to_grayscale (const cv::Mat &src, cv::Mat &dest) |
| template<unsigned int HALF_WIN_SIZE> | |
| void MRPT_DISABLE_FULL_OPTIMIZATION | image_KLT_response_template (const uint8_t *in, const int widthStep, unsigned int x, unsigned int y, int32_t &_gxx, int32_t &_gyy, int32_t &_gxy) |
Variables | |
| static bool | DISABLE_JPEG_COMPRESSION_value = true |
| static int | SERIALIZATION_JPEG_QUALITY_value = 95 |
| #define IMAGE_ALLOC_PERFLOG 0 |
Definition at line 83 of file CImage.cpp.
| #define MRPT_DISABLE_FULL_OPTIMIZATION |
Definition at line 1923 of file CImage.cpp.
|
static |
Definition at line 139 of file CImage.cpp.
References mrpt::img::D16S, mrpt::img::D16U, mrpt::img::D32F, mrpt::img::D32S, mrpt::img::D64F, mrpt::img::D8S, and mrpt::img::D8U.
Referenced by mrpt::img::CImage::getPixelDepth(), and mrpt::img::CImage::serializeTo().
| void MRPT_DISABLE_FULL_OPTIMIZATION image_KLT_response_template | ( | const uint8_t * | in, |
| const int | widthStep, | ||
| unsigned int | x, | ||
| unsigned int | y, | ||
| int32_t & | _gxx, | ||
| int32_t & | _gyy, | ||
| int32_t & | _gxy | ||
| ) |
Definition at line 1927 of file CImage.cpp.
|
static |
Referenced by mrpt::img::CImage::getExternalStorageFileAbsolutePath(), mrpt::img::CImage::getImagesPathBase(), and mrpt::img::CImage::setImagesPathBase().
|
static |
Definition at line 90 of file CImage.cpp.
References mrpt::img::IMG_INTERP_AREA, mrpt::img::IMG_INTERP_CUBIC, mrpt::img::IMG_INTERP_LINEAR, and mrpt::img::IMG_INTERP_NN.
Referenced by mrpt::img::CImage::scaleHalf(), and mrpt::img::CImage::scaleImage().
|
static |
Definition at line 942 of file CImage.cpp.
References image_SSSE3_bgr_to_gray_8u(), mrpt::cpu::SSSE3, and mrpt::cpu::supports().
Referenced by mrpt::img::CImage::grayscale().
| constexpr RET pixelDepth2CvDepth | ( | PixelDepth | d | ) |
Definition at line 105 of file CImage.cpp.
References mrpt::img::D16S, mrpt::img::D16U, mrpt::img::D32F, mrpt::img::D32S, mrpt::img::D64F, mrpt::img::D8S, and mrpt::img::D8U.
| RET pixelDepth2IPLCvDepth | ( | PixelDepth | d | ) |
Definition at line 122 of file CImage.cpp.
References mrpt::img::D16S, mrpt::img::D16U, mrpt::img::D32F, mrpt::img::D32S, mrpt::img::D64F, mrpt::img::D8S, and mrpt::img::D8U.
Referenced by mrpt::img::CImage::resize().
|
static |
Definition at line 49 of file CImage.cpp.
Referenced by mrpt::img::CImage::DISABLE_JPEG_COMPRESSION().
|
static |
Definition at line 50 of file CImage.cpp.
Referenced by mrpt::img::CImage::SERIALIZATION_JPEG_QUALITY().
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |