|
ocssw
V2022
|
#include "l12_proto.h"#include "input_struc.h"#include <libnav.h>#include <png.h>#include <imageutils.h>#include <scene_meta.h>Go to the source code of this file.
Macros | |
| #define | INT32 int32_t |
| #define | FLOAT32 float |
| #define | BYTE unsigned char |
| #define | HDF8 0 |
| #define | HDF24 1 |
| #define | PPM 2 |
| #define | FLATBINARY 3 |
| #define | PNG 4 |
| #define | MALLOC(ptr, typ, num) |
Functions | |
| BYTE | logscale (float val, float min, float max) |
| BYTE | linscale (float val, float min, float max) |
| float | toa_reflect (l1str *l1rec, int32_t ip, int32_t ib) |
| void | dfr8_addimage (char *fname, unsigned char *raster, int32_t width, int32_t height, unsigned char *palette, char *label) |
| int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ BYTE
| #define BYTE unsigned char |
Definition at line 37 of file main_l1brsgen.c.
◆ FLATBINARY
| #define FLATBINARY 3 |
Definition at line 42 of file main_l1brsgen.c.
◆ FLOAT32
| #define FLOAT32 float |
Definition at line 36 of file main_l1brsgen.c.
◆ HDF24
| #define HDF24 1 |
Definition at line 40 of file main_l1brsgen.c.
◆ HDF8
| #define HDF8 0 |
Definition at line 39 of file main_l1brsgen.c.
◆ INT32
| #define INT32 int32_t |
Definition at line 35 of file main_l1brsgen.c.
◆ MALLOC
| #define MALLOC | ( | ptr, | |
| typ, | |||
| num | |||
| ) |
Definition at line 45 of file main_l1brsgen.c.
◆ PNG
| #define PNG 4 |
Definition at line 43 of file main_l1brsgen.c.
◆ PPM
| #define PPM 2 |
Definition at line 41 of file main_l1brsgen.c.
Function Documentation
◆ dfr8_addimage()
| void dfr8_addimage | ( | char * | fname, |
| unsigned char * | raster, | ||
| int32_t | width, | ||
| int32_t | height, | ||
| unsigned char * | palette, | ||
| char * | label | ||
| ) |
Definition at line 58 of file main_l1brsgen.c.
◆ linscale()
| BYTE linscale | ( | float | val, |
| float | min, | ||
| float | max | ||
| ) |
Definition at line 25 of file l1_imgscale.c.
◆ logscale()
| BYTE logscale | ( | float | val, |
| float | min, | ||
| float | max | ||
| ) |
Definition at line 76 of file l1_imgscale.c.
◆ main()
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.gantz@globalstar.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.
Minor modifications to the code were made to eliminate deprecation warnings
Definition at line 94 of file main_l1brsgen.c.
◆ toa_reflect()
| float toa_reflect | ( | l1str * | l1rec, |
| int32_t | ip, | ||
| int32_t | ib | ||
| ) |
Definition at line 8 of file l1_imgscale.c.


