MISR Toolkit
1.5.1
win64
HDF_4.2.14
include
dfrig.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* Copyright by The HDF Group. *
3
* Copyright by the Board of Trustees of the University of Illinois. *
4
* All rights reserved. *
5
* *
6
* This file is part of HDF. The full HDF copyright notice, including *
7
* terms governing use, modification, and redistribution, is contained in *
8
* the COPYING file, which can be found at the root of the source code *
9
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/. *
10
* If you do not have access to either file, you may request a copy from *
11
* help@hdfgroup.org. *
12
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13
14
/* $Id$ */
15
16
/*-----------------------------------------------------------------------------
17
* File: dfrig.h
18
* Purpose: header file for the Raster Image set
19
* Invokes: df.h
20
* Contents:
21
* Structure definitions: DFRdr, DFRrig
22
* Remarks: This is included with user programs which use RIG
23
*---------------------------------------------------------------------------*/
24
25
#ifndef DFRIG
/* avoid re-inclusion */
26
#define DFRIG
27
28
/* description record: used to describe image data, palette data etc. */
29
typedef
struct
30
{
31
int16 ncomponents;
/* Number of components */
32
int16
interlace
;
/* data ordering: chunky / planar etc */
33
int32
xdim
;
/* X-dimension of data */
34
int32
ydim
;
/* Y-dimensionsof data */
35
DFdi
nt
;
/* number type of data */
36
DFdi
compr;
/* compression */
37
/* ### Note: compression is currently uniquely described with a tag.
38
No data is attached to this tag/ref. But this capability is
39
provided for future expansion, when this tag/ref might point to
40
some data needed for decompression, such as the actual encodings */
41
}
42
DFRdr
;
43
44
/* structure to hold RIG info */
45
typedef
struct
46
{
47
char
*cf;
/* color format */
48
int32 xpos;
/* X position of image on screen */
49
int32 ypos;
/* Y position of image on screen */
50
float32 aspectratio;
/* ratio of pixel height to width */
51
float32 ccngamma;
/* gamma color correction parameters */
52
float32 ccnred[3];
/* red color correction parameters */
53
float32 ccngrren[3];
/* green color correction parameters */
54
float32 ccnblue[3];
/* blue color correction parameters */
55
float32 ccnwhite[3];
/* white color correction parameters */
56
DFdi
image
;
/* image */
57
DFRdr
descimage;
/* image data description */
58
DFdi
lut;
/* color look-up table (palette) */
59
DFRdr
desclut;
/* look-up table description */
60
DFdi
mattechannel;
/* matte? */
61
DFRdr
descmattechannel;
/* Description of matte? */
62
}
63
DFRrig
;
64
65
/* dimensions of raster-8 image */
66
typedef
struct
R8dim
67
{
68
uint16
xd
;
69
uint16
yd
;
70
}
71
R8dim
;
72
73
#endif
/*DFRIG */
DFRrig
Definition:
dfrig.h:46
DFdi
Definition:
hdf.h:24
interlace
HDFFCLIBAPI intf intf * interlace
Definition:
hproto_fortran.h:1524
nt
HDFFCLIBAPI _fcd intf intf * nt
Definition:
hproto_fortran.h:1076
ydim
HDFFCLIBAPI intf intf * ydim
Definition:
hproto_fortran.h:137
R8dim::yd
uint16 yd
Definition:
dfrig.h:70
R8dim
struct R8dim R8dim
xdim
HDFFCLIBAPI intf * xdim
Definition:
hproto_fortran.h:137
image
HDFFCLIBAPI _fcd image
Definition:
hproto_fortran.h:141
R8dim::xd
uint16 xd
Definition:
dfrig.h:69
DFRdr
Definition:
dfrig.h:30
R8dim
Definition:
dfrig.h:67
MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52