1mlib_VolumeFindMaxCMask_U8(m3eMdLiIaBL)ib Library Funmcltiibo_nVsolumeFindMaxCMask_U8(3MLIB)
2
3
4

NAME

6       mlib_VolumeFindMaxCMask_U8,   mlib_VolumeFindMaxCMask_S16   -   maximum
7       intensity searching
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_VolumeFindMaxCMask_U8(mlib_u8 *max,
14            const mlib_rays *rays, const mlib_u8 *cmask, mlib_s32 thresh);
15
16
17       mlib_status mlib_VolumeFindMaxCMask_S16(mlib_s16 *max,
18            const mlib_rays *rays, const mlib_u8 *cmask, mlib_s32 thresh);
19
20

DESCRIPTION

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]; cmask[j] > thresh }
29
30
31
32       where i = 0, 1, ..., rays->nrays - 1.
33

PARAMETERS

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 max‐
45                 imum      step      on      a      ray.      For     example,
46                 rays->results[rays->nsteps[i]][i] on ray i might not equal 0.
47
48
49       cmask     Pointer to an  unsigned  8-bit  mask  array.  If  cmask[j]  >
50                 thresh,  then  data  in step j, rays->results[j], are consid‐
51                 ered.
52
53
54       thresh    Threshold.
55
56

RETURN VALUES

58       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
59       MLIB_FAILURE.
60

ATTRIBUTES

62       See attributes(5) for descriptions of the following attributes:
63
64
65
66
67       ┌─────────────────────────────┬─────────────────────────────┐
68       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
69       ├─────────────────────────────┼─────────────────────────────┤
70       │Interface Stability          │Committed                    │
71       ├─────────────────────────────┼─────────────────────────────┤
72       │MT-Level                     │MT-Safe                      │
73       └─────────────────────────────┴─────────────────────────────┘
74

SEE ALSO

76       mlib_VolumeFindMax_U8(3MLIB),        mlib_VolumeFindMaxBMask_U8(3MLIB),
77       attributes(5)
78
79
80
81SunOS 5.11                        2 Mar 2007 mlib_VolumeFindMaxCMask_U8(3MLIB)
Impressum