YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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.
 
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 153 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 141 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 9 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 75 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 159 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 147 of file DeBayer.cpp.

◆ isBayer16()

bool isBayer16 ( int  v)
inline

Definition at line 28 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 19 of file DeBayer.h.