Main MRPT website > C++ reference for MRPT 1.5.6
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: glew.h:1797
GLuint in
Definition: glew.h:7146
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
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.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018