Ignore:
Timestamp:
Mar 25, 2013, 1:17:55 PM (12 years ago)
Author:
ldelgass
Message:

Use normalizeScalar common function where possible. Also, don't set NaNs? to
-1 in unnormalized data since -1 could be a valid data value. Need to make
sure gradient filtering properly handles NaNs?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/ReaderCommon.h

    r3502 r3574  
    1111
    1212extern void
    13 normalizeScalar(float *fdata, int count, float min, float max);
     13normalizeScalar(float *data, int count, int stride, double min, double max);
    1414
    1515extern float *
    16 computeGradient(float *fdata,
    17                 int width, int height, int depth,
     16computeGradient(float *data,
     17                int nx, int ny, int nz,
    1818                float dx, float dy, float dz,
    1919                float min, float max);
    2020
    2121extern void
    22 computeSimpleGradient(float *data, int nx, int ny, int nz,
     22computeSimpleGradient(float *data,
     23                      int nx, int ny, int nz,
    2324                      float dx = 1.0f, float dy = 1.0f, float dz = 1.0f);
    2425
Note: See TracChangeset for help on using the changeset viewer.