Rendu
A lightweight rendering engine for experimentations
Main Page
Modules
Namespaces
Classes
Files
Related Pages
File List
Loading...
Searching...
No Matches
src
engine
processing
LaplacianIntegrator.hpp
1
#pragma once
2
#include "processing/ConvolutionPyramid.hpp"
3
#include "resources/Texture.hpp"
4
#include "resources/ResourcesManager.hpp"
5
#include "Common.hpp"
6
11
class
LaplacianIntegrator
{
12
13
public
:
19
LaplacianIntegrator
(uint width, uint height, uint downscaling);
20
24
void
process
(
const
Texture
&
texture
);
25
30
void
resize
(uint width, uint height);
31
35
const
Texture
*
texture
()
const
{
return
&
_compo
; }
36
40
const
Texture
*
preprocId
()
const
{
return
&
_preproc
; }
41
42
private
:
43
ConvolutionPyramid
_pyramid
;
44
Program
*
_prepare
;
45
Program
*
_composite
;
46
Texture
_preproc
;
47
Texture
_compo
;
48
int
_scale
;
49
};
ConvolutionPyramid
Implements a multiscale scheme for approximating convolution with large filters. This is the basis of...
Definition:
ConvolutionPyramid.hpp:13
LaplacianIntegrator
Compute the laplacian field of a RGB image before reconstructing the initial image through integratio...
Definition:
LaplacianIntegrator.hpp:11
LaplacianIntegrator::preprocId
const Texture * preprocId() const
Definition:
LaplacianIntegrator.hpp:40
LaplacianIntegrator::_composite
Program * _composite
Passthrough to output the result.
Definition:
LaplacianIntegrator.hpp:45
LaplacianIntegrator::process
void process(const Texture &texture)
Definition:
LaplacianIntegrator.cpp:22
LaplacianIntegrator::texture
const Texture * texture() const
Definition:
LaplacianIntegrator.hpp:35
LaplacianIntegrator::resize
void resize(uint width, uint height)
Definition:
LaplacianIntegrator.cpp:53
LaplacianIntegrator::_preproc
Texture _preproc
Contains the computed laplacian field.
Definition:
LaplacianIntegrator.hpp:46
LaplacianIntegrator::_prepare
Program * _prepare
Shader to compute the laplacian field of a RGB image.
Definition:
LaplacianIntegrator.hpp:44
LaplacianIntegrator::_scale
int _scale
The downscaling factor.
Definition:
LaplacianIntegrator.hpp:48
LaplacianIntegrator::_pyramid
ConvolutionPyramid _pyramid
The convolution pyramid.
Definition:
LaplacianIntegrator.hpp:43
LaplacianIntegrator::_compo
Texture _compo
Contains the integrated result at input resolution.
Definition:
LaplacianIntegrator.hpp:47
Program
Represents a group of shaders used for rendering.
Definition:
Program.hpp:31
Texture
Represents a texture containing one or more images, stored on the CPU and/or GPU.
Definition:
Texture.hpp:12
Generated by
Doxygen
1.9.5 - Theme by
Simon Rodriguez