Skip to content

Commit

Permalink
Akaze: Start sampling the descriptor from the center of the point.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanemagnenat committed Jun 12, 2023
1 parent 0be91b3 commit 786d88a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions akaze/src/descriptors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ impl Akaze {
scale: f32,
evolutions: &[EvolutionStep],
) -> Result<(), Error> {
let xf = xf + 0.5;
let yf = yf + 0.5;
let pattern_size = self.descriptor_pattern_size;
let nr_channels = self.descriptor_channels;
let mut valuepos = 0;
Expand Down

0 comments on commit 786d88a

Please sign in to comment.