Main MRPT website > C++ reference for MRPT 1.5.9
CImage_SSEx.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef CImage_SSEx_H
10 #define CImage_SSEx_H
11 
12 #include <mrpt/config.h>
13 
14 // See documentation in the .cpp files CImage_SSE*.cpp
15 
16 void image_SSE2_scale_half_1c8u (const uint8_t* in, uint8_t* out, int w, int h);
17 void image_SSSE3_scale_half_3c8u (const uint8_t* in, uint8_t* out, int w, int h);
18 void image_SSE2_scale_half_smooth_1c8u (const uint8_t* in, uint8_t* out, int w, int h);
19 void image_SSSE3_rgb_to_gray_8u (const uint8_t* in, uint8_t* out, int w, int h);
20 void image_SSSE3_bgr_to_gray_8u (const uint8_t* in, uint8_t* out, int w, int h);
21 
22 
23 #endif
void image_SSSE3_bgr_to_gray_8u(const uint8_t *in, uint8_t *out, int w, int h)
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:3962
unsigned char uint8_t
Definition: rptypes.h:43
void image_SSE2_scale_half_smooth_1c8u(const uint8_t *in, uint8_t *out, int w, int h)
Average each 2x2 pixels into 1x1 pixel (arithmetic average)
Definition: CImage_SSE2.cpp:70
void image_SSSE3_scale_half_3c8u(const uint8_t *in, uint8_t *out, int w, int h)
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3...
Definition: CImage_SSE3.cpp:37
void image_SSE2_scale_half_1c8u(const uint8_t *in, uint8_t *out, int w, int h)
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3...
Definition: CImage_SSE2.cpp:40
GLuint in
Definition: glext.h:6301
void image_SSSE3_rgb_to_gray_8u(const uint8_t *in, uint8_t *out, int w, int h)
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020