1mlib_VolumeFindMaxBMask_U8(m3eMdLiIaBL)ib Library Funmcltiibo_nVsolumeFindMaxBMask_U8(3MLIB)
2
3
4
6 mlib_VolumeFindMaxBMask_U8, mlib_VolumeFindMaxBMask_S16 - maximum
7 intensity searching
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VolumeFindMaxBMask_U8(mlib_u8 *max,
14 const mlib_rays *rays, const mlib_u8 *bmask);
15
16
17 mlib_status mlib_VolumeFindMaxBMask_S16(mlib_s16 *max,
18 const mlib_rays *rays, const mlib_u8 *bmask);
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]; bmask[j] = 1 }
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
49 bmask Pointer to a 1-bit mask array. Eight mask bits are packed into
50 one byte. A 1 corresponds to the data in the step to be con‐
51 sidered.
52
53
55 The function returns MLIB_SUCCESS if successful. Otherwise it returns
56 MLIB_FAILURE.
57
59 See attributes(5) for descriptions of the following attributes:
60
61
62
63
64 ┌─────────────────────────────┬─────────────────────────────┐
65 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
66 ├─────────────────────────────┼─────────────────────────────┤
67 │Interface Stability │Committed │
68 ├─────────────────────────────┼─────────────────────────────┤
69 │MT-Level │MT-Safe │
70 └─────────────────────────────┴─────────────────────────────┘
71
73 mlib_VolumeFindMax_U8(3MLIB), mlib_VolumeFindMaxCMask_U8(3MLIB),
74 attributes(5)
75
76
77
78SunOS 5.11 2 Mar 2007 mlib_VolumeFindMaxBMask_U8(3MLIB)