![]() |
VR-Vantage 2.7 API Documentation
|
Go to the source code of this file.
Classes | |
| struct | bitmapINFOHEADER |
| struct | RGBquad |
| struct | bitmapINFO |
| struct | bitmapFILEHEADER |
| struct | RGBSGIHeader |
Macros | |
| #define | BIT8 8 |
| #define | BIT16 16 |
| #define | WRITE 1 |
| #define | READ 0 |
| #define | READ_NORMALIZED 2 |
| #define | SINGLE_VALID_CHANNEL 1 |
| #define | LOG_DISPLAY 2 |
| #define | FIMAGE_MAX 65535.0 |
| #define | FMAX8BIT 255.0 |
| #define | FMAX16BIT 65535.0 |
| #define | COLORS8BIT 256 |
| #define | COLORS16BIT 65536 |
| #define | PIXELSPERMETER 2834 |
| #define | BI_RGB 0L |
| #define | BI_RLE8 1L |
| #define | BI_RLE4 2L |
| #define | BI_BITFIELDS 3L |
| #define | SIZEOFbitmapFILEHEADER 14 |
| #define | JRMImage double* |
| #define | JRMCImage COMPLEX* |
Typedefs | |
| typedef long | LONG |
| typedef unsigned long | ULONG |
| typedef ULONG * | PULONG |
| typedef unsigned short | USHORT |
| typedef USHORT * | PUSHORT |
| typedef unsigned char | UCHAR |
| typedef unsigned long | DWORD |
| typedef int | BOOL |
| typedef unsigned char | BYTE |
| typedef unsigned short | WORD |
| typedef float | FLOAT |
| typedef FLOAT * | PFLOAT |
| typedef int | INT |
| typedef unsigned int | UINT |
| typedef unsigned int * | PUINT |
Functions | |
| JRMLIBRARY_API double | CardSpline_Step1 (double t, double p1, double p2, double p3, double p4) |
| JRMLIBRARY_API void | sample_bicubic (double *in, long npts, double *out, long sample_pts) |
| JRMLIBRARY_API void | sample_quadratic (double *in, long npts, double *out, long sample_pts) |
| JRMLIBRARY_API double * | BiCubic2D (double *array, long *num_cols, long *num_rows, long out_cols, long out_rows) |
| JRMLIBRARY_API void | linear_interpolate (double *xin, double *yin, long inpts, double *xout, double *yout, long outpts, double limita, double d) |
| JRMLIBRARY_API double * | MirrorImage (double *fimage, long *num_cols, long *num_rows, long mirror_cols, long mirror_rows) |
| JRMLIBRARY_API double * | CropImage (double *fimage, long *num_cols, long *num_rows, long crop_cols, long crop_rows, long start_col, long start_row) |
| JRMLIBRARY_API void | MirrorFunction (double **x, double **y, long inpts, long outpts) |
| JRMLIBRARY_API void | MirrorComplexFunctionUnindexed (COMPLEX **y, long inpts, long outpts) |
| JRMLIBRARY_API void | MirrorFunctionUnindexed (double **y, long inpts, long outpts) |
| JRMLIBRARY_API long | OutputImage (double *fimage, long num_cols, long num_rows, long out_bit_depth, char *output_file, double gain, double level, long proc_flag) |
| JRMLIBRARY_API long | OutputBMPImage2 (double *fimage, long num_cols, long num_rows, long out_bit_depth, char *output_file, double gain, double level, long proc_flag) |
| JRMLIBRARY_API unsigned char * | ReadWriteBMP (char *file, double **fimage, long *num_cols, long *num_rows, unsigned short *bit_depth, double gain, double level, long proc_flag, long readwrite, int *err) |
| JRMLIBRARY_API unsigned char * | ReadWriteBMP2 (char *file, double **fimage, long *num_cols, long *num_rows, unsigned short *bit_depth, double gain, double level, long proc_flag, long readwrite, double *fmax_in, double *fmin_in) |
| JRMLIBRARY_API int | Free_BMPImage (double **fimage) |
| JRMLIBRARY_API int | hsfilenameBMP (int i, char *io, char *fileaddress) |
| JRMLIBRARY_API double * | Create_BMPImage (int num_pixels) |
| JRMLIBRARY_API JRMImage | CreateJRMImage (int num_pixels) |
| JRMLIBRARY_API JRMCImage | CreateJRMCImage (int num_pixels) |
| JRMLIBRARY_API void | FreeJRMImage (JRMImage imagein) |
| JRMLIBRARY_API void | FreeJRMCImage (JRMCImage cimagein) |
| JRMLIBRARY_API unsigned char | freadchar (FILE *fileon) |
| JRMLIBRARY_API unsigned short | freadshort (FILE *fileon) |
| JRMLIBRARY_API unsigned long | freadlong (FILE *fileon) |
| JRMLIBRARY_API void | fwritechar (unsigned char charin, FILE *fileon) |
| JRMLIBRARY_API void | fwriteshort (unsigned short shortin, FILE *fileon) |
| JRMLIBRARY_API void | fwritelong (unsigned long longin, FILE *fileon) |
| JRMLIBRARY_API int | expandrow (double *optr, unsigned char *iptr) |
| JRMLIBRARY_API double * | ReadSGIRGB (char *filename, RGBSGIHeader *headeron) |
| JRMLIBRARY_API void | WriteSGIRGB (char *filename, double *pixeldata, RGBSGIHeader *headeron) |
| JRMLIBRARY_API int * | ReadFPFFileInt (char *filename, int width, int height) |
| JRMLIBRARY_API double * | ReadFPFFileDouble (char *filename, int width, int height) |
| JRMLIBRARY_API float * | ReadFPFFileFloat (char *filename, int width, int height) |
| JRMLIBRARY_API void | WriteFPFFileInt (char *filename, int *idata, int width, int height) |
| JRMLIBRARY_API void | WriteFPFFileDouble (char *filename, double *ddata, int width, int height) |
| JRMLIBRARY_API void | WriteFPFFileFloat (char *filename, float *fdata, int width, int height) |
| JRMLIBRARY_API void | FreeFPFInt (int **data) |
| JRMLIBRARY_API void | FreeFPFDouble (double **data) |
| JRMLIBRARY_API void | FreeFPFFloat (float **data) |
| JRMLIBRARY_API lVEC_HV | GetImageStatistics (int objectID, lVEC_HV *window_center, lVEC_HV window_extents, lVEC_HV image_extents, int objectIDDepth, int radianceDepth, double *objectidMap, double *radianceMap, double *avet, double *devt, double *numt, double *aveb, double *devb, double *numb) |
| JRMLIBRARY_API double | averageimage (double *imagein, long num_cols, long num_rows, unsigned short bit_depth, double rmax, double rmin) |
| JRMLIBRARY_API int | ConvertCIED65toGivenSpectralDomain (long nlambda, double *lambda, double *CIED65) |
| JRMLIBRARY_API int | MultiplyReflectivityByCIED65 (long nlambda, double *lambda, double *reflectivity, double *CIEspectrum) |
| JRMLIBRARY_API double | SpectralRadiance2Luminance (double lambda_um, double radiance_Wm2srum) |
| JRMLIBRARY_API double | SpectralRadiance2LuminanceVstar (double lambda_um, double radiance_Wm2srum) |
| JRMLIBRARY_API int | ConvertCIECMFtoGivenSpectralDomain (long nlambda, double *lambda, double *CIEX, double *CIEY, double *CIEZ) |
| JRMLIBRARY_API int | CIEXYZforSpectrum (long nlambda, double *lambda, double *spectrum, double *X, double *Y, double *Z) |
| JRMLIBRARY_API double | Clinear2Csrgb (double Clinear) |
| JRMLIBRARY_API VECTOR | ConvertCIEXYZtoCIEsRGB (VECTOR XYZ) |
| JRMLIBRARY_API int | GetCIEsRGBfromReflectivitySpectrum (long nlambda, double *lambda, double *reflectivity, VECTOR *RGB) |
| JRMLIBRARY_API double | GetWhiteBodyCIEYResponse () |
| JRMLIBRARY_API jrmbool | SpectrumRotateToCartesianGrayAxisSystem (double *spectrum, int depth) |
| JRMLIBRARY_API jrmbool | SpectrumCartesianToSphericalGrayAxisSystem (double *spectrum, int depth) |
| JRMLIBRARY_API jrmbool | SpectrumTransformToScaledSphericalGrayAxisSystem (double *input, int depth, double maxpixelvalue, double satweight, double lumweight) |
| #define BIT8 8 |
| #define BIT16 16 |
| #define WRITE 1 |
| #define READ 0 |
| #define READ_NORMALIZED 2 |
| #define SINGLE_VALID_CHANNEL 1 |
| #define LOG_DISPLAY 2 |
| #define FIMAGE_MAX 65535.0 |
| #define FMAX8BIT 255.0 |
| #define FMAX16BIT 65535.0 |
| #define COLORS8BIT 256 |
| #define COLORS16BIT 65536 |
| #define PIXELSPERMETER 2834 |
| #define BI_RGB 0L |
| #define BI_RLE8 1L |
| #define BI_RLE4 2L |
| #define BI_BITFIELDS 3L |
| #define SIZEOFbitmapFILEHEADER 14 |
| #define JRMImage double* |
| #define JRMCImage COMPLEX* |
| typedef long LONG |
| typedef unsigned long ULONG |
| typedef unsigned short USHORT |
| typedef unsigned char UCHAR |
| typedef unsigned long DWORD |
| typedef BOOL |
| typedef unsigned char BYTE |
| typedef unsigned short WORD |
| typedef float FLOAT |
| typedef UINT |
| JRMLIBRARY_API double CardSpline_Step1 | ( | double | t, |
| double | p1, | ||
| double | p2, | ||
| double | p3, | ||
| double | p4 | ||
| ) |
| JRMLIBRARY_API void sample_bicubic | ( | double * | in, |
| long | npts, | ||
| double * | out, | ||
| long | sample_pts | ||
| ) |
| JRMLIBRARY_API void sample_quadratic | ( | double * | in, |
| long | npts, | ||
| double * | out, | ||
| long | sample_pts | ||
| ) |
| JRMLIBRARY_API double* BiCubic2D | ( | double * | array, |
| long * | num_cols, | ||
| long * | num_rows, | ||
| long | out_cols, | ||
| long | out_rows | ||
| ) |
| JRMLIBRARY_API void linear_interpolate | ( | double * | xin, |
| double * | yin, | ||
| long | inpts, | ||
| double * | xout, | ||
| double * | yout, | ||
| long | outpts, | ||
| double | limita, | ||
| double | d | ||
| ) |
| JRMLIBRARY_API double* MirrorImage | ( | double * | fimage, |
| long * | num_cols, | ||
| long * | num_rows, | ||
| long | mirror_cols, | ||
| long | mirror_rows | ||
| ) |
| JRMLIBRARY_API double* CropImage | ( | double * | fimage, |
| long * | num_cols, | ||
| long * | num_rows, | ||
| long | crop_cols, | ||
| long | crop_rows, | ||
| long | start_col, | ||
| long | start_row | ||
| ) |
| JRMLIBRARY_API void MirrorFunction | ( | double ** | x, |
| double ** | y, | ||
| long | inpts, | ||
| long | outpts | ||
| ) |
| JRMLIBRARY_API void MirrorComplexFunctionUnindexed | ( | COMPLEX ** | y, |
| long | inpts, | ||
| long | outpts | ||
| ) |
| JRMLIBRARY_API void MirrorFunctionUnindexed | ( | double ** | y, |
| long | inpts, | ||
| long | outpts | ||
| ) |
| JRMLIBRARY_API long OutputImage | ( | double * | fimage, |
| long | num_cols, | ||
| long | num_rows, | ||
| long | out_bit_depth, | ||
| char * | output_file, | ||
| double | gain, | ||
| double | level, | ||
| long | proc_flag | ||
| ) |
| JRMLIBRARY_API long OutputBMPImage2 | ( | double * | fimage, |
| long | num_cols, | ||
| long | num_rows, | ||
| long | out_bit_depth, | ||
| char * | output_file, | ||
| double | gain, | ||
| double | level, | ||
| long | proc_flag | ||
| ) |
| JRMLIBRARY_API unsigned char* ReadWriteBMP | ( | char * | file, |
| double ** | fimage, | ||
| long * | num_cols, | ||
| long * | num_rows, | ||
| unsigned short * | bit_depth, | ||
| double | gain, | ||
| double | level, | ||
| long | proc_flag, | ||
| long | readwrite, | ||
| int * | err | ||
| ) |
| JRMLIBRARY_API unsigned char* ReadWriteBMP2 | ( | char * | file, |
| double ** | fimage, | ||
| long * | num_cols, | ||
| long * | num_rows, | ||
| unsigned short * | bit_depth, | ||
| double | gain, | ||
| double | level, | ||
| long | proc_flag, | ||
| long | readwrite, | ||
| double * | fmax_in, | ||
| double * | fmin_in | ||
| ) |
| JRMLIBRARY_API int Free_BMPImage | ( | double ** | fimage | ) |
| JRMLIBRARY_API int hsfilenameBMP | ( | int | i, |
| char * | io, | ||
| char * | fileaddress | ||
| ) |
| JRMLIBRARY_API double* Create_BMPImage | ( | int | num_pixels | ) |
| JRMLIBRARY_API JRMImage CreateJRMImage | ( | int | num_pixels | ) |
| JRMLIBRARY_API JRMCImage CreateJRMCImage | ( | int | num_pixels | ) |
| JRMLIBRARY_API void FreeJRMImage | ( | JRMImage | imagein | ) |
| JRMLIBRARY_API void FreeJRMCImage | ( | JRMCImage | cimagein | ) |
| JRMLIBRARY_API unsigned char freadchar | ( | FILE * | fileon | ) |
| JRMLIBRARY_API unsigned short freadshort | ( | FILE * | fileon | ) |
| JRMLIBRARY_API unsigned long freadlong | ( | FILE * | fileon | ) |
| JRMLIBRARY_API void fwritechar | ( | unsigned char | charin, |
| FILE * | fileon | ||
| ) |
| JRMLIBRARY_API void fwriteshort | ( | unsigned short | shortin, |
| FILE * | fileon | ||
| ) |
| JRMLIBRARY_API void fwritelong | ( | unsigned long | longin, |
| FILE * | fileon | ||
| ) |
| JRMLIBRARY_API int expandrow | ( | double * | optr, |
| unsigned char * | iptr | ||
| ) |
| JRMLIBRARY_API double* ReadSGIRGB | ( | char * | filename, |
| RGBSGIHeader * | headeron | ||
| ) |
| JRMLIBRARY_API void WriteSGIRGB | ( | char * | filename, |
| double * | pixeldata, | ||
| RGBSGIHeader * | headeron | ||
| ) |
| JRMLIBRARY_API int* ReadFPFFileInt | ( | char * | filename, |
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API double* ReadFPFFileDouble | ( | char * | filename, |
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API float* ReadFPFFileFloat | ( | char * | filename, |
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API void WriteFPFFileInt | ( | char * | filename, |
| int * | idata, | ||
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API void WriteFPFFileDouble | ( | char * | filename, |
| double * | ddata, | ||
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API void WriteFPFFileFloat | ( | char * | filename, |
| float * | fdata, | ||
| int | width, | ||
| int | height | ||
| ) |
| JRMLIBRARY_API void FreeFPFInt | ( | int ** | data | ) |
| JRMLIBRARY_API void FreeFPFDouble | ( | double ** | data | ) |
| JRMLIBRARY_API void FreeFPFFloat | ( | float ** | data | ) |
| JRMLIBRARY_API lVEC_HV GetImageStatistics | ( | int | objectID, |
| lVEC_HV * | window_center, | ||
| lVEC_HV | window_extents, | ||
| lVEC_HV | image_extents, | ||
| int | objectIDDepth, | ||
| int | radianceDepth, | ||
| double * | objectidMap, | ||
| double * | radianceMap, | ||
| double * | avet, | ||
| double * | devt, | ||
| double * | numt, | ||
| double * | aveb, | ||
| double * | devb, | ||
| double * | numb | ||
| ) |
| JRMLIBRARY_API double averageimage | ( | double * | imagein, |
| long | num_cols, | ||
| long | num_rows, | ||
| unsigned short | bit_depth, | ||
| double | rmax, | ||
| double | rmin | ||
| ) |
| JRMLIBRARY_API int ConvertCIED65toGivenSpectralDomain | ( | long | nlambda, |
| double * | lambda, | ||
| double * | CIED65 | ||
| ) |
| JRMLIBRARY_API int MultiplyReflectivityByCIED65 | ( | long | nlambda, |
| double * | lambda, | ||
| double * | reflectivity, | ||
| double * | CIEspectrum | ||
| ) |
| JRMLIBRARY_API double SpectralRadiance2Luminance | ( | double | lambda_um, |
| double | radiance_Wm2srum | ||
| ) |
| JRMLIBRARY_API double SpectralRadiance2LuminanceVstar | ( | double | lambda_um, |
| double | radiance_Wm2srum | ||
| ) |
| JRMLIBRARY_API int ConvertCIECMFtoGivenSpectralDomain | ( | long | nlambda, |
| double * | lambda, | ||
| double * | CIEX, | ||
| double * | CIEY, | ||
| double * | CIEZ | ||
| ) |
| JRMLIBRARY_API int CIEXYZforSpectrum | ( | long | nlambda, |
| double * | lambda, | ||
| double * | spectrum, | ||
| double * | X, | ||
| double * | Y, | ||
| double * | Z | ||
| ) |
| JRMLIBRARY_API double Clinear2Csrgb | ( | double | Clinear | ) |
| JRMLIBRARY_API VECTOR ConvertCIEXYZtoCIEsRGB | ( | VECTOR | XYZ | ) |
| JRMLIBRARY_API int GetCIEsRGBfromReflectivitySpectrum | ( | long | nlambda, |
| double * | lambda, | ||
| double * | reflectivity, | ||
| VECTOR * | RGB | ||
| ) |
| JRMLIBRARY_API double GetWhiteBodyCIEYResponse | ( | ) |
| JRMLIBRARY_API jrmbool SpectrumRotateToCartesianGrayAxisSystem | ( | double * | spectrum, |
| int | depth | ||
| ) |
| JRMLIBRARY_API jrmbool SpectrumCartesianToSphericalGrayAxisSystem | ( | double * | spectrum, |
| int | depth | ||
| ) |
| JRMLIBRARY_API jrmbool SpectrumTransformToScaledSphericalGrayAxisSystem | ( | double * | input, |
| int | depth, | ||
| double | maxpixelvalue, | ||
| double | satweight, | ||
| double | lumweight | ||
| ) |