Volume Cartographer 2.27.0
Public Types | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
volcart::IntegralTextureNode Class Reference

Generate a Texture by taking the discrete integral (summation) of the neighborhood adjacent to a point. More...

#include <vc/graph/texturing.hpp>

Inheritance diagram for volcart::IntegralTextureNode:
[legend]
Collaboration diagram for volcart::IntegralTextureNode:
[legend]

Public Types

using WeightMethod = texturing::IntegralTexture::WeightMethod
 Weighting Methods. More...
 
using WeightDirection = texturing::IntegralTexture::LinearWeightDirection
 Linear weight direction. More...
 
using ExpoDiffBaseMethod = texturing::IntegralTexture::ExpoDiffBaseMethod
 Exponential difference base calculation method. More...
 

Public Member Functions

 IntegralTextureNode ()
 

Public Attributes

smgl::InputPort< PerPixelMap::Pointerppm
 Input PerPixelMap. More...
 
smgl::InputPort< Volume::Pointervolume
 Input Volume. More...
 
smgl::InputPort< Generatorgenerator
 Neighborhood generator. More...
 
smgl::InputPort< bool > clampValuesToMax
 When enabled, clamp neighborhood intensities to the value specified by setClampMax() More...
 
smgl::InputPort< std::uint16_t > clampMax
 The maximum intensity value allowed in neighborhood prior to integration. More...
 
smgl::InputPort< WeightMethodweightMethod
 Set the weighting method. More...
 
smgl::InputPort< WeightDirectionlinearWeightDirection
 Set the linear weight direction. More...
 
smgl::InputPort< int > exponentialDiffExponent
 Set the weighting exponent used by Exponential Difference weighting. More...
 
smgl::InputPort< ExpoDiffBaseMethodexponentialDiffBaseMethod
 Set the method used to calculate the Exponential Difference base value. More...
 
smgl::InputPort< double > exponentialDiffBaseValue
 Set the base value for Exponential Difference weighting. More...
 
smgl::InputPort< bool > exponentialDiffSuppressBelowBase
 When enabled, do not integrate intensity values below the base value. More...
 
smgl::OutputPort< cv::Mat > texture
 Generated texture image. More...
 

Private Types

using TAlgo = texturing::IntegralTexture
 
using Generator = NeighborhoodGenerator::Pointer
 

Private Member Functions

auto serialize_ (bool useCache, const filesystem::path &cacheDir) -> smgl::Metadata override
 
void deserialize_ (const smgl::Metadata &meta, const filesystem::path &cacheDir) override
 

Private Attributes

TAlgo textureGen_
 
cv::Mat texture_
 

Detailed Description

Generate a Texture by taking the discrete integral (summation) of the neighborhood adjacent to a point.

See also
texturing::IntegralTexture

Definition at line 436 of file texturing.hpp.

Member Typedef Documentation

◆ ExpoDiffBaseMethod

Exponential difference base calculation method.

See also
texturing::IntegralTexture::ExpoDiffBaseMethod

Definition at line 463 of file texturing.hpp.

◆ Generator

Generator class type

Definition at line 442 of file texturing.hpp.

◆ TAlgo

Algorithm class type

Definition at line 440 of file texturing.hpp.

◆ WeightDirection

Linear weight direction.

See also
texturing::IntegralTexture::LinearWeightDirection

Definition at line 458 of file texturing.hpp.

◆ WeightMethod

Weighting Methods.

See also
texturing::IntegralTexture::WeightMethod

Definition at line 453 of file texturing.hpp.

Constructor & Destructor Documentation

◆ IntegralTextureNode()

volcart::IntegralTextureNode::IntegralTextureNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

void volcart::IntegralTextureNode::deserialize_ ( const smgl::Metadata &  meta,
const filesystem::path &  cacheDir 
)
overrideprivate

smgl custom deserialization

◆ serialize_()

auto volcart::IntegralTextureNode::serialize_ ( bool  useCache,
const filesystem::path &  cacheDir 
) -> smgl::Metadata
overrideprivate

smgl custom serialization

Member Data Documentation

◆ clampMax

smgl::InputPort<std::uint16_t> volcart::IntegralTextureNode::clampMax

The maximum intensity value allowed in neighborhood prior to integration.

Definition at line 474 of file texturing.hpp.

◆ clampValuesToMax

smgl::InputPort<bool> volcart::IntegralTextureNode::clampValuesToMax

When enabled, clamp neighborhood intensities to the value specified by setClampMax()

Definition at line 472 of file texturing.hpp.

◆ exponentialDiffBaseMethod

smgl::InputPort<ExpoDiffBaseMethod> volcart::IntegralTextureNode::exponentialDiffBaseMethod

Set the method used to calculate the Exponential Difference base value.

Definition at line 482 of file texturing.hpp.

◆ exponentialDiffBaseValue

smgl::InputPort<double> volcart::IntegralTextureNode::exponentialDiffBaseValue

Set the base value for Exponential Difference weighting.

Definition at line 484 of file texturing.hpp.

◆ exponentialDiffExponent

smgl::InputPort<int> volcart::IntegralTextureNode::exponentialDiffExponent

Set the weighting exponent used by Exponential Difference weighting.

Definition at line 480 of file texturing.hpp.

◆ exponentialDiffSuppressBelowBase

smgl::InputPort<bool> volcart::IntegralTextureNode::exponentialDiffSuppressBelowBase

When enabled, do not integrate intensity values below the base value.

Definition at line 486 of file texturing.hpp.

◆ generator

smgl::InputPort<Generator> volcart::IntegralTextureNode::generator

Neighborhood generator.

Definition at line 470 of file texturing.hpp.

◆ linearWeightDirection

smgl::InputPort<WeightDirection> volcart::IntegralTextureNode::linearWeightDirection

Set the linear weight direction.

Definition at line 478 of file texturing.hpp.

◆ ppm

smgl::InputPort<PerPixelMap::Pointer> volcart::IntegralTextureNode::ppm

Input PerPixelMap.

Definition at line 466 of file texturing.hpp.

◆ texture

smgl::OutputPort<cv::Mat> volcart::IntegralTextureNode::texture

Generated texture image.

Definition at line 488 of file texturing.hpp.

◆ texture_

cv::Mat volcart::IntegralTextureNode::texture_
private

Output image

Definition at line 446 of file texturing.hpp.

◆ textureGen_

TAlgo volcart::IntegralTextureNode::textureGen_
private

Texturing algorithm

Definition at line 444 of file texturing.hpp.

◆ volume

smgl::InputPort<Volume::Pointer> volcart::IntegralTextureNode::volume

Input Volume.

Definition at line 468 of file texturing.hpp.

◆ weightMethod

smgl::InputPort<WeightMethod> volcart::IntegralTextureNode::weightMethod

Set the weighting method.

Definition at line 476 of file texturing.hpp.


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