Volume Cartographer 2.27.0
|
Generate a texture image using a variety of composite volume filters. More...
#include <vc/texturing/CompositeTexture.hpp>
Public Types | |
enum class | Filter { Minimum = 0 , Maximum , Median , Mean , MedianAverage } |
using | Pointer = std::shared_ptr< CompositeTexture > |
![]() | |
using | Pointer = std::shared_ptr< TexturingAlgorithm > |
using | Texture = std::vector< cv::Mat > |
Public Member Functions | |
CompositeTexture ()=default | |
~CompositeTexture () override=default | |
CompositeTexture (CompositeTexture &)=default | |
CompositeTexture (CompositeTexture &&)=default | |
auto | operator= (const CompositeTexture &) -> CompositeTexture &=default |
auto | operator= (CompositeTexture &&) -> CompositeTexture &=default |
void | setGenerator (NeighborhoodGenerator::Pointer g) |
Set the Neighborhood generator. More... | |
void | setFilter (Filter f) |
Set the filtering method. More... | |
auto | compute () -> Texture override |
Compute the Texture. More... | |
![]() | |
virtual | ~TexturingAlgorithm ()=default |
void | setPerPixelMap (PerPixelMap::Pointer ppm) |
Set the input PerPixelMap. | |
void | setVolume (Volume::Pointer vol) |
Set the input Volume. | |
virtual auto | compute () -> Texture=0 |
Compute the Texture. More... | |
auto | getTexture () -> Texture |
Get the generated Texture. | |
auto | progressIterations () const -> std::size_t override |
Returns the maximum progress value. More... | |
virtual std::size_t | progressIterations () const =0 |
Static Public Member Functions | |
static auto | New () -> Pointer |
Private Attributes | |
NeighborhoodGenerator::Pointer | gen_ |
Filter | filter_ {Filter::Maximum} |
Additional Inherited Members | |
![]() | |
Signal | progressStarted |
Signal< std::size_t > | progressUpdated |
Signal | progressComplete |
![]() | |
TexturingAlgorithm ()=default | |
TexturingAlgorithm (TexturingAlgorithm &)=default | |
TexturingAlgorithm (TexturingAlgorithm &&)=default | |
auto | operator= (const TexturingAlgorithm &) -> TexturingAlgorithm &=default |
auto | operator= (TexturingAlgorithm &&) -> TexturingAlgorithm &=default |
![]() | |
PerPixelMap::Pointer | ppm_ |
Volume::Pointer | vol_ |
Texture | result_ |
Generate a texture image using a variety of composite volume filters.
This class generates a texture image by filtering the Volume using one of a number of composite measures:
Definition at line 24 of file CompositeTexture.hpp.
using volcart::texturing::CompositeTexture::Pointer = std::shared_ptr<CompositeTexture> |
Pointer type
Definition at line 28 of file CompositeTexture.hpp.
|
strong |
Filter list
Definition at line 47 of file CompositeTexture.hpp.
|
default |
Default constructor
|
overridedefault |
Default destructor
|
default |
Default copy constructor
|
default |
Default move constructor
|
overridevirtual |
Compute the Texture.
Implements volcart::texturing::TexturingAlgorithm.
|
static |
Make shared pointer
|
default |
Default move operator
|
default |
Default copy operator
void volcart::texturing::CompositeTexture::setFilter | ( | Filter | f | ) |
Set the filtering method.
Default: Maximum
void volcart::texturing::CompositeTexture::setGenerator | ( | NeighborhoodGenerator::Pointer | g | ) |
Set the Neighborhood generator.
This class supports generators of dimension >= 1
|
private |
Filter method
Definition at line 86 of file CompositeTexture.hpp.
|
private |
Neighborhood shape
Definition at line 83 of file CompositeTexture.hpp.