MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / compute

Method compute

dependency/densecrf3d/src/permutohedral.cpp:598–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597#endif
598void Permutohedral::compute ( MatrixXf & out, const MatrixXf & in, bool reverse ) const
599{
600 if( out.cols() != in.cols() || out.rows() != in.rows() )
601 out = 0*in;
602 if( in.rows() <= 2 )
603 seqCompute( out.data(), in.data(), in.rows(), reverse );
604 else
605 sseCompute( out.data(), in.data(), in.rows(), reverse );
606}
607MatrixXf Permutohedral::compute ( const MatrixXf & in, bool reverse ) const
608{
609 MatrixXf r;

Callers 3

initLatticeMethod · 0.45
filterMethod · 0.45
featureGradientMethod · 0.45

Calls 3

colsMethod · 0.45
rowsMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected