MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Harris.hpp File Reference

Harris corner detection and non-maximum suppression. More...

#include "Features.hpp"
+ Include dependency graph for Harris.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 
namespace  MayaFlux::Kinesis::Vision
 

Functions

std::vector< KeypointMayaFlux::Kinesis::Vision::extract_peaks (std::span< const float > response, uint32_t w, uint32_t h, float threshold, uint32_t nms_radius)
 Extract peaks from a response map via non-maximum suppression.
 
void MayaFlux::Kinesis::Vision::harris_response (std::span< const float > gray, std::span< float > dx, std::span< float > dy, std::span< float > tmp, std::span< float > ixx, std::span< float > iyy, std::span< float > ixy, std::span< float > sxx, std::span< float > syy, std::span< float > sxy, std::span< float > dst, uint32_t w, uint32_t h, float k, std::span< const float > kern)
 Compute the Harris corner response map into caller-supplied buffers.
 
std::vector< float > MayaFlux::Kinesis::Vision::harris_response (std::span< const float > gray, uint32_t w, uint32_t h, float k=0.04F, float sigma=1.0F)
 Compute the Harris corner response map.
 

Detailed Description

Harris corner detection and non-maximum suppression.

Pure functions. No MayaFlux type dependencies.

Conventions

  • Input is single-channel normalised float in [0, 1]
  • w and h are pixel dimensions; caller ensures span size == w * h
  • Response map is normalised to [0, 1] by observed peak
  • Keypoint positions are normalised to [0, 1]
  • Parallelism handled internally via Parallel::par_unseq

Definition in file Harris.hpp.