MRPT
2.0.4
|
#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 86 of file CImage.cpp.
#define MRPT_DISABLE_FULL_OPTIMIZATION |
Definition at line 1929 of file CImage.cpp.
|
static |
Definition at line 142 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 1933 of file CImage.cpp.
|
static |
Referenced by mrpt::img::CImage::getExternalStorageFileAbsolutePath(), mrpt::img::CImage::getImagesPathBase(), and mrpt::img::CImage::setImagesPathBase().
|
static |
Definition at line 93 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 948 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 108 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().
RET pixelDepth2IPLCvDepth | ( | PixelDepth | d | ) |
Definition at line 125 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.
|
static |
Definition at line 52 of file CImage.cpp.
Referenced by mrpt::img::CImage::DISABLE_JPEG_COMPRESSION().
|
static |
Definition at line 53 of file CImage.cpp.
Referenced by mrpt::img::CImage::SERIALIZATION_JPEG_QUALITY().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |