1mlib_VolumeFindMax_U8(3MLIBm)ediaLib Library Functionmslib_VolumeFindMax_U8(3MLIB)
2
3
4
6 mlib_VolumeFindMax_U8, mlib_VolumeFindMax_S16 - maximum intensity
7 searching
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VolumeFindMax_U8(mlib_u8 *max,
14 const mlib_rays *rays);
15
16
17 mlib_status mlib_VolumeFindMax_S16(mlib_s16 *max,
18 const mlib_rays *rays);
19
20
22 Each function performs maximum intensity searching.
23
24
25 It uses the following equation:
26
27 max[i] = MAX{ rays->results[j][i]
28 j = 0, 1, ..., rays->nsteps[i] }
29
30
31
32 where i = 0, 1, ..., rays->nrays - 1.
33
35 The function takes the following arguments:
36
37 max Pointer to an array of rays->nrays maximum values of the sam‐
38 ples in each ray.
39
40
41 rays Pointer to an mlib_rays structure. The data rays->results are
42 organized with ray number (rather than ray step) varying
43 fastest. Ray number and ray step are the output of the ray
44 casting functions. The data might have values beyond the maxi‐
45 mum step on a ray. For example,
46 rays->results[rays->nsteps[i]][i] on ray i might not equal 0.
47
48
50 The function returns MLIB_SUCCESS if successful. Otherwise it returns
51 MLIB_FAILURE.
52
54 See attributes(5) for descriptions of the following attributes:
55
56
57
58
59 ┌─────────────────────────────┬─────────────────────────────┐
60 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │Interface Stability │Committed │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │MT-Level │MT-Safe │
65 └─────────────────────────────┴─────────────────────────────┘
66
68 mlib_VolumeFindMaxBMask_U8(3MLIB), mlib_VolumeFindMaxCMask_U8(3MLIB),
69 attributes(5)
70
71
72
73SunOS 5.11 2 Mar 2007 mlib_VolumeFindMax_U8(3MLIB)