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

Plot per-face L stretch error metrics. More...

#include <vc/graph/texturing.hpp>

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

Public Member Functions

 PlotLStretchErrorNode ()
 

Public Attributes

smgl::InputPort< Metricserror
 Input error metrics. More...
 
smgl::InputPort< cv::Mat > cellMap
 Per-pixel mesh cell assignment, generally from a PerPixelMap. More...
 
smgl::InputPort< ColorMapcolorMap
 Color map/LUT for visualization. More...
 
smgl::InputPort< bool > drawLegend
 Whether to add a legend to the image. More...
 
smgl::OutputPort< cv::Mat > l2Plot
 L2 error image. More...
 
smgl::OutputPort< cv::Mat > lInfPlot
 LInf error image. More...
 

Private Types

using Metrics = texturing::LStretchMetrics
 

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

Metrics error_ {}
 
cv::Mat cellMap_ {}
 
ColorMap colorMap_ {ColorMap::Plasma}
 
bool drawLegend_ {false}
 
cv::Mat l2Plot_ {}
 
cv::Mat lInfPlot_ {}
 

Detailed Description

Plot per-face L stretch error metrics.

See also
texturing::PlotLStretchError

Definition at line 157 of file texturing.hpp.

Member Typedef Documentation

◆ Metrics

Metrics type alias

Definition at line 161 of file texturing.hpp.

Constructor & Destructor Documentation

◆ PlotLStretchErrorNode()

volcart::PlotLStretchErrorNode::PlotLStretchErrorNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cellMap

smgl::InputPort<cv::Mat> volcart::PlotLStretchErrorNode::cellMap

Per-pixel mesh cell assignment, generally from a PerPixelMap.

Definition at line 179 of file texturing.hpp.

◆ cellMap_

cv::Mat volcart::PlotLStretchErrorNode::cellMap_ {}
private

Per-pixel cell map

Definition at line 165 of file texturing.hpp.

◆ colorMap

smgl::InputPort<ColorMap> volcart::PlotLStretchErrorNode::colorMap

Color map/LUT for visualization.

Definition at line 181 of file texturing.hpp.

◆ colorMap_

ColorMap volcart::PlotLStretchErrorNode::colorMap_ {ColorMap::Plasma}
private

Color map

Definition at line 167 of file texturing.hpp.

◆ drawLegend

smgl::InputPort<bool> volcart::PlotLStretchErrorNode::drawLegend

Whether to add a legend to the image.

Definition at line 183 of file texturing.hpp.

◆ drawLegend_

bool volcart::PlotLStretchErrorNode::drawLegend_ {false}
private

Whether to add a legend to the image

Definition at line 169 of file texturing.hpp.

◆ error

smgl::InputPort<Metrics> volcart::PlotLStretchErrorNode::error

Input error metrics.

Definition at line 177 of file texturing.hpp.

◆ error_

Metrics volcart::PlotLStretchErrorNode::error_ {}
private

Error metrics

Definition at line 163 of file texturing.hpp.

◆ l2Plot

smgl::OutputPort<cv::Mat> volcart::PlotLStretchErrorNode::l2Plot

L2 error image.

Definition at line 185 of file texturing.hpp.

◆ l2Plot_

cv::Mat volcart::PlotLStretchErrorNode::l2Plot_ {}
private

L2 error image

Definition at line 171 of file texturing.hpp.

◆ lInfPlot

smgl::OutputPort<cv::Mat> volcart::PlotLStretchErrorNode::lInfPlot

LInf error image.

Definition at line 187 of file texturing.hpp.

◆ lInfPlot_

cv::Mat volcart::PlotLStretchErrorNode::lInfPlot_ {}
private

LInf error image

Definition at line 173 of file texturing.hpp.


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