Bsoft  1.9
Bernard's software package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_feature.h
Go to the documentation of this file.
1 
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include "marker.h"
11 #include "rwimg.h"
12 
13 //Function prototypes
14 int img_replace_maxima(Bimage* p, float threshold);
15 Bmarker* img_extract_features(Bimage* p, int extract_method,
16  int target_num, float threshold);
17 Bimage* img_find_features(Bimage* p, float threshold, int sign, int wrap);
19 int img_assignAllMyNeighbors(Bimage* p, int* feature_mask, unsigned long index,
20  int feature_number, float threshold, int sign, int wrap);
Bmarker * img_extract_features(Bimage *p, int extract_method, int target_num, float threshold)
Finds local minimums in a grey scale image and uses those as features.
Bimage * img_find_features(Bimage *p, float threshold, int sign, int wrap)
Segments an image into contiguous regions (features).
Definition: marker.h:21
int img_replace_maxima(Bimage *p, float threshold)
Replaces maxima above a threshold using local averages.
Definition: img_feature.cpp:39
double img_average_feature_size(Bimage *p)
Calculates the average size of regions (features) in a level mask.
General image parameter class.
Definition: Bimage.h:153
int img_assignAllMyNeighbors(Bimage *p, int *feature_mask, unsigned long index, int feature_number, float threshold, int sign, int wrap)
Finds all the pixels that are part of the same feature.
Header file for 2D and 3D image I/O.
Header file for image parameter functions.