Skip to content
Snippets Groups Projects

Implements #141 normals

Merged Nicolas Pope requested to merge feature/141/normals into master
7 files
+ 198
3
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -376,6 +376,7 @@ const GLTexture &ftl::gui::Camera::captureFrame() {
cv::Mat tmp;
switch(channel_) {
case Channel::Normals:
case Channel::Energy:
if (depth_.rows == 0) { break; }
visualizeEnergy(depth_, tmp, 10.0);
@@ -399,7 +400,6 @@ const GLTexture &ftl::gui::Camera::captureFrame() {
case Channel::Flow:
case Channel::Confidence:
case Channel::Normals:
case Channel::Right:
if (depth_.rows == 0 || depth_.type() != CV_8UC3) { break; }
texture_.update(depth_);
Loading