Loading...
Searching...
No Matches
Public Member Functions | List of all members
ImageReader Class Reference

Reads image channels, returning scaled (physical) values. More...

#include <Sampler.h>

Inheritance diagram for ImageReader:
Inheritance graph
[legend]
Collaboration diagram for ImageReader:
Collaboration graph
[legend]

Public Member Functions

 ImageReader (ReferenceMap2<> &ref)
 
bool getValue (const ImageFrame &image, double &value) const
 
bool handleValue (const ImageFrame &data, double &value) const
 
- Public Member Functions inherited from SamplePicker
 SamplePicker (ReferenceMap2<> &variableMap)
 
void setSize (int w, int h)
 
virtual void setPosition (int i, int j) const
 Sets current position in image coordinates. To be redefined to compute also geographical projections, for example.
 

Additional Inherited Members

- Public Attributes inherited from SamplePicker
int current_i = 0
 Optional utility. Called prior to writing the actual data to output stream.
 
int current_j = 0
 Vertical coordinate.
 
int current_j2 = 0
 Vertical inversed coordinate.
 
int width = 0
 
int height = 0
 
FlexVariableMap infoMap
 Information to be should in output file header.
 
ReferenceMap2variableMap
 

Detailed Description

Reads image channels, returning scaled (physical) values.

Member Function Documentation

◆ getValue()

bool getValue ( const ImageFrame image,
double &  value 
) const
inline

Should not be virtual, as data may have metadata members.

◆ handleValue()

bool handleValue ( const ImageFrame data,
double &  value 
) const
inline

Data is needed also here, for metadata (encoding etc)


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