Rev | Line | |
---|
[2798] | 1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
[3502] | 2 | /* |
---|
| 3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
| 4 | * |
---|
| 5 | */ |
---|
[4889] | 6 | #ifndef NV_GRADIENT_FILTER_H |
---|
| 7 | #define NV_GRADIENT_FILTER_H |
---|
[883] | 8 | |
---|
[4889] | 9 | namespace nv { |
---|
| 10 | |
---|
[2844] | 11 | typedef enum { |
---|
| 12 | DATRAW_UCHAR, |
---|
| 13 | DATRAW_FLOAT, |
---|
| 14 | DATRAW_USHORT |
---|
| 15 | } DataType; |
---|
[883] | 16 | |
---|
[2877] | 17 | extern void computeGradients(float *gradients, void *volData, |
---|
| 18 | int *sizes, float *spacing, DataType dataType); |
---|
[2844] | 19 | |
---|
[883] | 20 | extern void filterGradients(float *gradients, int *sizes); |
---|
[2844] | 21 | |
---|
[883] | 22 | extern void quantizeGradients(float *gradientsIn, void *gradientsOut, |
---|
[2844] | 23 | int *sizes, DataType dataType); |
---|
[887] | 24 | |
---|
[4889] | 25 | } |
---|
| 26 | |
---|
[2844] | 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.