Logo Search packages:      
Sourcecode: pfstools version File versions  Download package

HDRTiffReader Class Reference

#include <hdrtiffio.h>

List of all members.


Detailed Description

IO operations on High Dynamic Range TIFF file format.

This file is a part of PFSTOOLS package. ---------------------------------------------------------------------- Copyright (C) 2003,2004 Rafal Mantiuk and Grzegorz Krawczyk

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ----------------------------------------------------------------------

Author:
Grzegorz Krawczyk, <krawczyk@mpi-sb.mpg.de>
Id
hdrtiffio.h,v 1.3 2007/03/13 09:25:49 gkrawczyk Exp

Definition at line 35 of file hdrtiffio.h.


Public Member Functions

const char * getFormatString ()
int getHeight () const
int getWidth () const
 HDRTiffReader (const char *filename)
 for verbose output
bool isColorspaceXYZ ()
bool isRelative ()
void readImage (pfs::Array2D *X, pfs::Array2D *Y, pfs::Array2D *Z)
void setExponentialMode ()

Private Types

enum  { FLOAT, WORD, BYTE, GRAYSCALE16 }
 type of photometric data

Private Attributes

uint16 bps
uint16 comp
bool exponential_mode
 scale factor to get nit values
char format_string [255]
 if true, values are in XYZ colorspace
uint32 height
uint16 nSamples
 bits per sample
uint16 phot
 compression type
bool relative_values
 if true, grayscale data come from LarsIII camera
double stonits
 number of channels in tiff file (only 1-3 are used)
TIFF * tif
enum HDRTiffReader:: { ... }  TypeOfData
 type of photometric data
uint32 width
bool xyz_colorspace
 if true, values are linearized (hdr data)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index