ROPO
Loading...
Searching...
No Matches
ropo
fmi_image_filter.h
1
24
/* THIS LIBRARY CONTAINS IMAGE PROCESSING OPERATIONS FOR GENERAL PURPOSE */
25
/* radar images, satellite images why not ... */
26
27
/* #define UNVISITED 255 */
28
#define VISITED 1
29
30
/*
31
#include "fmi_image_filter_speck.h"
32
#include "fmi_image_filter_line.h"
33
#include "fmi_image_filter_texture.h"
34
*/
35
36
void
detect_horz_gradient(
FmiImage
*source,
FmiImage
*trace);
37
void
detect_vert_gradient(
FmiImage
*source,
FmiImage
*trace);
38
39
/* LOCAL MAXIMA */
40
void
detect_horz_maxima(
FmiImage
*source,
FmiImage
*trace);
41
void
detect_horz_maxima2(
FmiImage
*source,
FmiImage
*trace);
/* normalized */
42
void
detect_horz_edges(
FmiImage
*source,
FmiImage
*trace);
43
44
/*/ Finds local maxima, magnitude defined as the lower difference to neighbouring intensities. */
45
void
detect_vert_maxima(
FmiImage
*source,
FmiImage
*trace);
/* MP changed 2010: zeros also written. */
46
47
void
detect_vert_maxima2(
FmiImage
*source,
FmiImage
*trace);
48
void
detect_vert_edges(
FmiImage
*source,
FmiImage
*trace);
49
50
/* INFINITE INPULSE RESPONSE FILTERS */
51
/* simple */
52
void
iir_left(
FmiImage
*source,
FmiImage
*trace,
int
promille);
53
void
iir_right(
FmiImage
*source,
FmiImage
*trace,
int
promille);
54
void
iir_up(
FmiImage
*source,
FmiImage
*trace,
int
promille);
55
void
iir_down(
FmiImage
*source,
FmiImage
*trace,
int
promille);
56
57
/* In source, change pixels (i,j) with mask(i,j) < threshold to c */
58
void
mask_image(
FmiImage
*source,
FmiImage
*mask,Byte threshold,Byte c);
59
60
void
threshold_image(
FmiImage
*source,
FmiImage
*target,Byte threshold);
61
void
binarize_image(
FmiImage
*source,
FmiImage
*target,Byte threshold);
62
/*void high_boost(FmiImage *source,FmiImage *target,Byte threshold); */
63
64
/* Propagate = spread MAX information within a speck or segment */
65
/* source = information, as byte values; or NULL -> byte=0 */
66
/* domain = area {(x,y)|f(x,y)>0} inside which information is spread */
67
/* target = target image */
68
/* slope = slope for increasing/decreasing byte value */
69
/* Typically, threshold is applied first. */
70
71
void
propagate_right(
FmiImage
*source,
FmiImage
*domain,
FmiImage
*target,
signed
char
slope,
void
(* put_func)(
FmiImage
*,
int
,
int
,
int
,Byte));
72
void
propagate_left(
FmiImage
*source,
FmiImage
*domain,
FmiImage
*target,
signed
char
slope,
void
(* put_func)(
FmiImage
*,
int
,
int
,
int
,Byte));
73
void
propagate_horz(
FmiImage
*source,
FmiImage
*domain,
FmiImage
*target,
signed
char
slope,
void
(* put_func)(
FmiImage
*,
int
,
int
,
int
,Byte));
74
void
propagate_up(
FmiImage
*source,
FmiImage
*domain,
FmiImage
*target,
signed
char
slope,
void
(* put_func)(
FmiImage
*,
int
,
int
,
int
,Byte));
75
void
propagate_down(
FmiImage
*source,
FmiImage
*domain,
FmiImage
*target,
signed
char
slope,
void
(* put_func)(
FmiImage
*,
int
,
int
,
int
,Byte));
76
77
void
horz_seg_lengths(
FmiImage
*source,
FmiImage
*target);
78
void
vert_seg_lengths(
FmiImage
*source,
FmiImage
*target);
79
80
void
row_statistics(
FmiImage
*source,Byte *nonzero,Byte *sum,Byte *sum2);
81
void
col_statistics(
FmiImage
*source,Byte *nonzero,Byte *sum,Byte *sum2);
fmi_image
Definition
fmi_image.h:128
Generated by
1.11.0