Compute the laplacian field of a RGB image before reconstructing the initial image through integration, using a filter as described in Convolution Pyramids, Farbman et al., 2011.
More...
#include <LaplacianIntegrator.hpp>
|
|
ConvolutionPyramid | _pyramid |
| | The convolution pyramid.
|
| |
|
Program * | _prepare |
| | Shader to compute the laplacian field of a RGB image.
|
| |
|
Program * | _composite |
| | Passthrough to output the result.
|
| |
|
Texture | _preproc |
| | Contains the computed laplacian field.
|
| |
|
Texture | _compo |
| | Contains the integrated result at input resolution.
|
| |
|
int | _scale |
| | The downscaling factor.
|
| |
Compute the laplacian field of a RGB image before reconstructing the initial image through integration, using a filter as described in Convolution Pyramids, Farbman et al., 2011.
◆ LaplacianIntegrator()
| LaplacianIntegrator::LaplacianIntegrator |
( |
uint |
width, |
|
|
uint |
height, |
|
|
uint |
downscaling |
|
) |
| |
Constructor.
- Parameters
-
| width | internal processing width |
| height | internal processing height |
| downscaling | downscaling factor for the internal convolution pyramid resolution |
◆ preprocId()
| const Texture * LaplacianIntegrator::preprocId |
( |
| ) |
const |
|
inline |
The ID of the texture containing the laplacian field.
- Returns
- the laplacian texture ID.
◆ process()
| void LaplacianIntegrator::process |
( |
const Texture & |
texture | ) |
|
Filter a given input texture, first computing its laplacian field before performing integration.
- Parameters
-
| texture | the GPU ID of the texture |
◆ resize()
| void LaplacianIntegrator::resize |
( |
uint |
width, |
|
|
uint |
height |
|
) |
| |
Resize the internal buffers.
- Parameters
-
| width | the new width |
| height | the new height |
◆ texture()
| const Texture * LaplacianIntegrator::texture |
( |
| ) |
const |
|
inline |
The ID of the texture containing the integration result.
- Returns
- the result texture ID.
The documentation for this class was generated from the following files: