Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/libmv/libmv/simple_pipeline/detect.h')
-rw-r--r--intern/libmv/libmv/simple_pipeline/detect.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/intern/libmv/libmv/simple_pipeline/detect.h b/intern/libmv/libmv/simple_pipeline/detect.h
index 1035287bcf2..8ddf0025e4b 100644
--- a/intern/libmv/libmv/simple_pipeline/detect.h
+++ b/intern/libmv/libmv/simple_pipeline/detect.h
@@ -39,7 +39,7 @@ typedef unsigned char ubyte;
struct Feature {
Feature(float x, float y) : x(x), y(y) {}
Feature(float x, float y, float score, float size)
- : x(x), y(y), score(score), size(size) {}
+ : x(x), y(y), score(score), size(size) {}
// Position of the feature in pixels from top-left corner.
// Note: Libmv detector might eventually support subpixel precision.
@@ -88,9 +88,9 @@ struct DetectOptions {
// Find only features similar to this pattern. Only used by MORAVEC detector.
//
- // This is an image patch denoted in byte array with dimensions of 16px by 16px
- // used to filter features by similarity to this patch.
- unsigned char *moravec_pattern;
+ // This is an image patch denoted in byte array with dimensions of 16px by
+ // 16px used to filter features by similarity to this patch.
+ unsigned char* moravec_pattern;
// Threshold value of the Harris function to add new featrue
// to the result.
@@ -101,12 +101,11 @@ struct DetectOptions {
//
// Image could have 1-4 channels, it'll be converted to a grayscale
// by the detector function if needed.
-void Detect(const FloatImage &image,
- const DetectOptions &options,
- vector<Feature> *detected_features);
+void Detect(const FloatImage& image,
+ const DetectOptions& options,
+ vector<Feature>* detected_features);
-std::ostream& operator <<(std::ostream &os,
- const Feature &feature);
+std::ostream& operator<<(std::ostream& os, const Feature& feature);
} // namespace libmv