MRPT
1.9.9
|
#include "img-precomp.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/io/zip.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/otherlibs/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_ZIP_COMPRESSION_value = false |
static bool | DISABLE_JPEG_COMPRESSION_value = true |
static int | SERIALIZATION_JPEG_QUALITY_value = 95 |
#define IMAGE_ALLOC_PERFLOG 0 |
Definition at line 89 of file CImage.cpp.
#define MRPT_DISABLE_FULL_OPTIMIZATION |
Definition at line 1867 of file CImage.cpp.
|
static |
Definition at line 145 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 1871 of file CImage.cpp.
|
static |
Referenced by mrpt::img::CImage::getExternalStorageFileAbsolutePath(), mrpt::img::CImage::getImagesPathBase(), and mrpt::img::CImage::setImagesPathBase().
|
static |
Definition at line 96 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 962 of file CImage.cpp.
References image_SSSE3_bgr_to_gray_8u().
Referenced by mrpt::img::CImage::grayscale().
constexpr RET pixelDepth2CvDepth | ( | PixelDepth | d | ) |
Definition at line 111 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 128 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 50 of file CImage.cpp.
Referenced by mrpt::img::CImage::DISABLE_JPEG_COMPRESSION().
|
static |
Definition at line 49 of file CImage.cpp.
Referenced by mrpt::img::CImage::DISABLE_ZIP_COMPRESSION().
|
static |
Definition at line 51 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: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |