Skip to content

Modernize VPClus

Gerhard Raven requested to merge modernize-vpclus into TDR
  • make super pixel patterns const static, in anonymous namespace (instead of member data)
  • avoid move, enable RVO in VPClus::operator()
  • prefer updateHandler over code in VPClus::initialize
  • avoid integer multiplication in boolean expression, while still at the same time avoiding a branch (see here)
  • prefer span over bare pointer with unspecified range
Edited by Gerhard Raven

Merge request reports

Loading