Basic Image AlgorithmS Library
2.8.0
|
basic image filter on the gpu More...
#include <OpenGLFramework/SpecializedBatches/GpuImageFilter.hh>
Public Types | |
enum | filtertype { none, mean, median, gauss } |
Public Member Functions | |
void | ActivateFixedFunctionPipeline () |
glfShaderProgram * | CreateFragmentShaderProgram (const std::string &fragmentShaderCode) |
glfShaderProgram * | CreateFragmentShaderProgramFromFile (const std::string &fragmentShaderPath) |
void | FilterCp (ImageBase &in, ImageBase &out, enum ImageBase::EStorageType type, int rad, float threshold) |
void | FilterGauss (ImageBase &in, ImageBase &out, enum ImageBase::EStorageType type, int rad, float threshold) |
void | FilterMean (ImageBase &in, ImageBase &out, enum ImageBase::EStorageType type, int rad, float threshold) |
void | FilterMedian (ImageBase &in, ImageBase &out, enum ImageBase::EStorageType type, int rad, float threshold, bool planar) |
glfFramebufferObject * | GetRenderTarget () |
glfTexture2D * | GetTextureFromDefaultRenderTarget () |
int | GetTextureFromDefaultRenderTarget (ImageBase &texture) |
unsigned int | GetViewportHeight () |
unsigned int | GetViewportWidth () |
glfTexture2D * | GetZBufferFromDefaultRenderTarget () |
GpuImageFilter () | |
void | SetDefaultFloatRenderTarget (unsigned int width, unsigned height) |
void | SetDefaultRenderTarget (unsigned int width, unsigned height, GLenum internalFormat=GL_LUMINANCE32F_ARB) |
void | SetDefaultRGBRenderTarget (unsigned int width, unsigned height) |
void | SetRenderTarget (glfFramebufferObject *renderTarget) |
void | SetViewPort (unsigned int width, unsigned int height) |
virtual | ~GpuImageFilter () |
Protected Member Functions | |
glfBatch * | GetBatch_ () |
glfDepthBufferMode * | GetDepthBufferMode_ () |
glfElementBuffer * | GetElementBuffer_ () |
glfMatrix * | GetModelViewMatrix_ () |
glfMatrix * | GetProjectionMatrix_ () |
glfShader * | GetShader () |
glfShaderProgram * | GetShaderProgram_ () |
glfVertexBuffer * | GetVertexBuffer_ () |
glfViewport * | GetViewport_ () |
void | InitBatch_ () |
void | InitPrimitiveData_ () |
void | InitVertexTransformation_ () |
basic image filter on the gpu
Definition at line 25 of file GpuImageFilter.hh.
Enumerator | |
---|---|
none | |
mean | |
median | |
gauss |
Definition at line 28 of file GpuImageFilter.hh.
GpuImageFilter::GpuImageFilter | ( | ) |
Definition at line 15 of file GpuImageFilter.cpp.
|
virtual |
Definition at line 335 of file GpuImageFilter.cpp.
|
inlineinherited |
Definition at line 88 of file PerPixelProcessingBase.hh.
References BIAS::glfScreen::GetInstance().
|
inherited |
Definition at line 106 of file PerPixelProcessingBase.cpp.
References BIAS::glfException::GetMessageString().
|
inherited |
Definition at line 133 of file PerPixelProcessingBase.cpp.
References BIAS::glfException::GetMessageString().
Referenced by BIAS::SeparableBilateralFilter::Init().
void GpuImageFilter::FilterCp | ( | ImageBase & | in, |
ImageBase & | out, | ||
enum ImageBase::EStorageType | type, | ||
int | rad, | ||
float | threshold | ||
) |
Definition at line 383 of file GpuImageFilter.cpp.
void GpuImageFilter::FilterGauss | ( | ImageBase & | in, |
ImageBase & | out, | ||
enum ImageBase::EStorageType | type, | ||
int | rad, | ||
float | threshold | ||
) |
Definition at line 354 of file GpuImageFilter.cpp.
void GpuImageFilter::FilterMean | ( | ImageBase & | in, |
ImageBase & | out, | ||
enum ImageBase::EStorageType | type, | ||
int | rad, | ||
float | threshold | ||
) |
Definition at line 348 of file GpuImageFilter.cpp.
void GpuImageFilter::FilterMedian | ( | ImageBase & | in, |
ImageBase & | out, | ||
enum ImageBase::EStorageType | type, | ||
int | rad, | ||
float | threshold, | ||
bool | planar | ||
) |
Definition at line 341 of file GpuImageFilter.cpp.
|
inlineprotectedinherited |
Definition at line 157 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::Draw().
|
inlineprotectedinherited |
Definition at line 172 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::Init().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inlineinherited |
Definition at line 129 of file PerPixelProcessingBase.hh.
|
inlineprotectedinherited |
Definition at line 176 of file PerPixelProcessingBase.hh.
|
inlineprotectedinherited |
Definition at line 180 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::Draw(), and BIAS::SeparableBilateralFilter::SetColorAndSourceAndDest().
|
inlineinherited |
Definition at line 115 of file PerPixelProcessingBase.hh.
|
inlineinherited |
Definition at line 119 of file PerPixelProcessingBase.hh.
|
protectedinherited |
|
inlineprotectedinherited |
Definition at line 169 of file PerPixelProcessingBase.hh.
|
inlineinherited |
Definition at line 60 of file PerPixelProcessingBase.hh.
|
inlineinherited |
Definition at line 57 of file PerPixelProcessingBase.hh.
|
inlineinherited |
Definition at line 112 of file PerPixelProcessingBase.hh.
|
inlineprotectedinherited |
Definition at line 134 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::Init().
|
inlineprotectedinherited |
Definition at line 148 of file PerPixelProcessingBase.hh.
References BIAS::Primitives::PlainQuad2DWithTexture2D().
|
inlineprotectedinherited |
Definition at line 152 of file PerPixelProcessingBase.hh.
|
inherited |
Definition at line 96 of file PerPixelProcessingBase.cpp.
|
inherited |
Definition at line 44 of file PerPixelProcessingBase.cpp.
References BIAS::glfException::GetMessageString().
|
inherited |
Definition at line 101 of file PerPixelProcessingBase.cpp.
|
inlineinherited |
Definition at line 64 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::SetColorAndSourceAndDest().
|
inlineinherited |
Definition at line 52 of file PerPixelProcessingBase.hh.
Referenced by BIAS::SeparableBilateralFilter::SetColorAndSourceAndDest().