#include "bane.h"
#include "privateBane.h"
Defines | |
#define | INVERT(d, i) |
#define | PVG_HISTEQ_BINS 2048 |
#define | PVG_INFO "Create color-mapped pictures of p(v,g)" |
Functions | |
Nrrd * | _baneGkmsDonNew (int invert) |
int | baneGkms_pvgMain (int argc, char **argv, char *me, hestParm *hparm) |
BANE_GKMS_CMD (pvg, PVG_INFO) | |
Variables | |
float | _baneGkmsDonData [] |
char * | _baneGkms_pvgInfoL |
#define INVERT | ( | d, | |||
i | ) |
Value:
(d)[1 + (i)*4] = 255 - (d)[1 + (i)*4]; \ (d)[2 + (i)*4] = 255 - (d)[2 + (i)*4]; \ (d)[3 + (i)*4] = 255 - (d)[3 + (i)*4]
#define PVG_HISTEQ_BINS 2048 |
#define PVG_INFO "Create color-mapped pictures of p(v,g)" |
Nrrd* _baneGkmsDonNew | ( | int | invert | ) |
BANE_GKMS_CMD | ( | pvg | , | |
PVG_INFO | ||||
) |
int baneGkms_pvgMain | ( | int | argc, | |
char ** | argv, | |||
char * | me, | |||
hestParm * | hparm | |||
) |
char* _baneGkms_pvgInfoL |
Initial value:
(PVG_INFO ". This produces a qualitative visualization of the boundary information " "that was captured in the histogram volume. The quantity shown is called " "the \"position function\" in GK's published work, but a better term " "would be \"distance map\", as a function of value (v) and gradient " "magnitude (g).")
float _baneGkmsDonData[] |
Initial value:
{0 , 0, 0, 0, 0 , 0, 0, 0, 0 , 0, 0, 0, -9.5, 0, 107, 255, -8.5, 51, 104, 255, -7.5, 103, 117, 255, -6.5, 123, 124, 255, -5.5, 141, 130, 255, -4.5, 156, 132, 255, -3.5, 166, 131, 245, -2.5, 174, 131, 231, -1.5, 181, 130, 216, -0.5, 255, 255, 255, 0.5, 255, 255, 255, 1.5, 192, 129, 186, 2.5, 197, 128, 172, 3.5, 200, 128, 158, 4.5, 204, 127, 142, 5.5, 210, 126, 113, 6.5, 212, 126, 98, 7.5, 213, 126, 84, 8.5, 216, 126, 49, 9.5, 220, 133, 0}