MMDevice
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Debayer Class Reference

Utility class to build a color image from a Bayer grayscale image. More...

#include <Debayer.h>

Public Member Functions

 Debayer ()
 
 ~Debayer ()
 
int Process (ImgBuffer &out, const ImgBuffer &in, int bitDepth)
 
int Process (ImgBuffer &out, const unsigned char *in, int width, int height, int bitDepth)
 
int Process (ImgBuffer &out, const unsigned short *in, int width, int height, int bitDepth)
 
const std::vector< std::string > GetOrders () const
 
const std::vector< std::string > GetAlgorithms () const
 
void SetOrderIndex (int idx)
 
void SetAlgorithmIndex (int idx)
 

Detailed Description

Utility class to build a color image from a Bayer grayscale image.

Based on the Debayer_Image plugin for ImageJ, by Jennifer West, University of Manitoba.

Constructor & Destructor Documentation

◆ Debayer()

Debayer::Debayer ( )

◆ ~Debayer()

Debayer::~Debayer ( )

Member Function Documentation

◆ GetAlgorithms()

const std::vector< std::string > Debayer::GetAlgorithms ( ) const
inline

◆ GetOrders()

const std::vector< std::string > Debayer::GetOrders ( ) const
inline

◆ Process() [1/3]

int Debayer::Process ( ImgBuffer & out,
const ImgBuffer & in,
int bitDepth )

◆ Process() [2/3]

int Debayer::Process ( ImgBuffer & out,
const unsigned char * in,
int width,
int height,
int bitDepth )

◆ Process() [3/3]

int Debayer::Process ( ImgBuffer & out,
const unsigned short * in,
int width,
int height,
int bitDepth )

◆ SetAlgorithmIndex()

void Debayer::SetAlgorithmIndex ( int idx)
inline

◆ SetOrderIndex()

void Debayer::SetOrderIndex ( int idx)
inline

The documentation for this class was generated from the following files: