YARP
Yet Another Robot Platform
DeBayer.h File Reference
#include <yarp/sig/Image.h>
+ Include dependency graph for DeBayer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool isBayer8 (int v)
 Basic implementations of debayering functions. More...
 
bool isBayer16 (int v)
 
bool deBayer_GRBG8_TO_RGB (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 
bool deBayer_BGGR8_TO_RGB (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 
bool deBayer_RGGB8_TO_RGB (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 
bool deBayer_GRBG8_TO_BGR (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 
bool deBayer_BGGR8_TO_BGR (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 
bool deBayer_RGGB8_TO_BGR (yarp::sig::Image &source, yarp::sig::Image &dest, int pixelSize)
 

Function Documentation

◆ deBayer_BGGR8_TO_BGR()

bool deBayer_BGGR8_TO_BGR ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)

Definition at line 156 of file DeBayer.cpp.

◆ deBayer_BGGR8_TO_RGB()

bool deBayer_BGGR8_TO_RGB ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)

Definition at line 144 of file DeBayer.cpp.

◆ deBayer_GRBG8_TO_BGR()

bool deBayer_GRBG8_TO_BGR ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)

Definition at line 12 of file DeBayer.cpp.

◆ deBayer_GRBG8_TO_RGB()

bool deBayer_GRBG8_TO_RGB ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)

Definition at line 78 of file DeBayer.cpp.

◆ deBayer_RGGB8_TO_BGR()

bool deBayer_RGGB8_TO_BGR ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)
inline

Definition at line 162 of file DeBayer.cpp.

◆ deBayer_RGGB8_TO_RGB()

bool deBayer_RGGB8_TO_RGB ( yarp::sig::Image source,
yarp::sig::Image dest,
int  pixelSize 
)

Definition at line 150 of file DeBayer.cpp.

◆ isBayer16()

bool isBayer16 ( int  v)
inline

Definition at line 33 of file DeBayer.h.

◆ isBayer8()

bool isBayer8 ( int  v)
inline

Basic implementations of debayering functions.

Used to convert Bayer images received in a YARP port. Prototype implementation, in the future we should replace these functions with better implementations, like the ones in the Bayer Carrier. If we decide to implement debayering by chaining carriers this code could be removed completely.

Definition at line 22 of file DeBayer.h.