Isis Developer Reference
ProcessImport.h
Go to the documentation of this file.
1 #ifndef ProcessImport_h
2 #define ProcessImport_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <string>
10 
11 #include "Buffer.h"
12 #include "CubeAttribute.h"
13 #include "EndianSwapper.h"
14 #include "JP2Decoder.h"
15 #include "PixelType.h"
16 #include "Process.h"
18 #include "SpecialPixel.h"
19 #include "UserInterface.h"
20 
21 namespace Isis {
155  class ProcessImport : public Isis::Process {
156  public:
157  enum VAXDataType {
159  VAX_INT
160  };
161 
162 
169  VAX_HRS4
170  };
171 
172  ProcessImport();
173  virtual ~ProcessImport();
174 
175  using Isis::Process::StartProcess; // make parent functions visable
176  virtual void StartProcess();
177  virtual void StartProcess(void funct(Isis::Buffer &out));
178  void SetInputFile(const QString &file);
179  QString InputFile();
180 
181  // SetOutputCube() is not virtual in the Process class, so the following
182  // definitions for this method are the only ones that are allowed for
183  // ProcessImport objects and child objects
184 
185  using Isis::Process::SetOutputCube; // make parent functions visable
186  Isis::Cube *SetOutputCube(const QString &parameter);
187  Isis::Cube *SetOutputCube(const QString &parameter, UserInterface &ui);
188  virtual Isis::Cube *SetOutputCube(const QString &fname,
190 
192  void SetPixelType(const Isis::PixelType type);
198  return p_pixelType;
199  }
200 
201 
202  void SetDimensions(const int ns, const int nl, const int nb);
203 
208  int Samples() {
209  return p_ns;
210  }
211 
212 
217  int Lines() {
218  return p_nl;
219  }
220 
221 
226  int Bands() {
227  return p_nb;
228  }
229 
230 
231  void SetByteOrder(const Isis::ByteOrder order);
232 
238  return p_byteOrder;
239  }
240 
241  bool IsVAXSpecial(unsigned int *vax, VAXSpecialPixel pix);
242  double VAXConversion(void *ibuf);
243  void SetSuffixOffset(int samples,int lines, int coreBands, int itemBytes);
244  void SetSuffixPixelType(const Isis::PixelType type);
245  void SetVAXConvert(const bool vax_convert);
246 
247  void SetFileHeaderBytes(const int bytes);
248  void SetFileTrailerBytes(const int bytes);
249  void SetDataHeaderBytes(const int bytes);
250  void SetDataTrailerBytes(const int bytes);
251  void SetDataPrefixBytes(const int bytes);
252  void SetDataSuffixBytes(const int bytes);
253  void SaveFileHeader();
254  void SaveFileTrailer();
255  void SaveDataHeader();
256  void SaveDataTrailer();
257  void SaveDataPrefix();
258  void SaveDataSuffix();
259 
260  int FileHeaderBytes() const;
261  int FileTrailerBytes() const;
262  int DataHeaderBytes() const;
263  int DataTrailerBytes() const;
264  int DataPrefixBytes() const;
265  int DataSuffixBytes() const;
266 
267  char *FileHeader();
268  char *FileTrailer();
269  std::vector<char *> DataHeader();
270  std::vector<char *> DataTrailer();
271  std::vector<std::vector<char *> > DataPrefix();
272  std::vector<std::vector<char *> > DataSuffix();
273 
278  enum Interleave {
280  JP2,
281  BSQ,
284  BIL,
288  BIP
292  };
293 
294 
296  Interleave Organization() const;
297 
298  void SetBase(const double base);
299  void SetMultiplier(const double mult);
300  void SetBase(const std::vector<double> base);
301  void SetMultiplier(const std::vector<double> mult);
302 
303  void SetSpecialValues(const double null, const double lrs,
304  const double lis, const double hrs,
305  const double his);
306  void SetNull(const double null_min, const double null_max);
307  void SetLRS(const double lrs_min, const double lrs_max);
308  void SetLIS(const double lis_min, const double lis_max);
309  void SetHRS(const double hrs_min, const double hrs_max);
310  void SetHIS(const double his_min, const double his_max);
311 
312  double TestPixel(const double pixel);
313 
314  void ProcessBsq(void funct(Isis::Buffer &out) = NULL);
315  void ProcessBil(void funct(Isis::Buffer &out) = NULL);
316  void ProcessBip(void funct(Isis::Buffer &out) = NULL);
317  void ProcessJp2(void funct(Isis::Buffer &out) = NULL);
318 
319  void CheckPixelRange(QString pixelName, double min, double max);
320 
321 #if 0
322  void AddImportLabel(Isis::Pvl &importLab);
323  void AddLabel(Isis::Pvl &label);
324 #endif
325 
326 
327  private:
328  QString p_inFile;
329  Isis::PixelType p_pixelType;
330 
331  Isis::PixelType p_suffixPixelType;
332  int p_ns;
333  int p_nl;
334  int p_nb;
335  Isis::ByteOrder p_byteOrder;
336 
337  int p_suffixData;
341  int p_fileHeaderBytes;
345  int p_fileTrailerBytes;
349  int p_dataHeaderBytes;
353  int p_dataTrailerBytes;
357  int p_dataPreBytes;
360  int p_dataPostBytes;
363  bool p_saveFileHeader;
365  bool p_saveDataHeader;
367  bool p_saveDataTrailer;
369  bool p_saveDataPre;
371  bool p_saveDataPost;
373  bool p_saveFileTrailer;
375  char *p_fileHeader;
376  std::vector<char *>p_dataHeader;
377  std::vector<char *>p_dataTrailer;
378  std::vector<std::vector<char *> >p_dataPre;
379  std::vector<std::vector<char *> >p_dataPost;
380  char *p_fileTrailer;
381 
382  bool p_vax_convert;
383 
384  ProcessImport::Interleave p_organization;
391  std::vector<double> p_base;
395  std::vector<double> p_mult;
400  double p_null_min;
404  double p_null_max;
408  double p_hrs_min;
412  double p_hrs_max;
416  double p_his_min;
420  double p_his_max;
424  double p_lrs_min;
428  double p_lrs_max;
432  double p_lis_min;
436  double p_lis_max;
439  };
440 };
441 #endif
Isis::EndianSwapper::Float
float Float(void *buf)
Swaps a floating point value.
Definition: EndianSwapper.cpp:78
Isis::EndianSwapper::UnsignedShortInt
unsigned short int UnsignedShortInt(void *buf)
Swaps an unsigned short integer value.
Definition: EndianSwapper.cpp:197
Isis::ProcessImport::DataHeader
std::vector< char * > DataHeader()
This method returns a pointer to the data header.
Definition: ProcessImport.cpp:807
Isis::SizeOf
int SizeOf(Isis::PixelType pixelType)
Returns the number of bytes of the specified PixelType.
Definition: PixelType.h:46
Isis::JP2Decoder::GetSampleDimension
int GetSampleDimension() const
Definition: JP2Decoder.h:97
IsisAml::GetOutputAttribute
Isis::CubeAttributeOutput & GetOutputAttribute(const QString &paramName)
Gets the attributes for an output cube.
Definition: IsisAml.cpp:1919
Isis::ProcessImport::SetDataPrefixBytes
void SetDataPrefixBytes(const int bytes)
This method sets the number of bytes at the beginning of each data record of a file.
Definition: ProcessImport.cpp:473
Isis::ProcessImport::SetLIS
void SetLIS(const double lis_min, const double lis_max)
Sets the range that will be considered Isis::Null.
Definition: ProcessImport.cpp:1048
Isis::ProcessImport::InterleaveUndefined
@ InterleaveUndefined
Undefined.
Definition: ProcessImport.h:279
Isis::ProcessImport::SetDataHeaderBytes
void SetDataHeaderBytes(const int bytes)
This method sets the number of bytes in the header of each datablock of a file.
Definition: ProcessImport.cpp:408
Isis::ProcessImport::IsVAXSpecial
bool IsVAXSpecial(unsigned int *vax, VAXSpecialPixel pix)
Determines if the VAX encoded pixel value is special or not.
Definition: ProcessImport.cpp:118
Isis::CubeAttributeOutput::setMaximum
void setMaximum(double max)
Set the output cube attribute maximum.
Definition: CubeAttribute.cpp:342
Cube.h
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::LineManager
Buffer manager, for moving through a cube in lines.
Definition: LineManager.h:39
Isis::ProcessImport::Bands
int Bands()
Returns the number of bands.
Definition: ProcessImport.h:226
Isis::ProcessImport::ProcessBsq
void ProcessBsq(void funct(Isis::Buffer &out)=NULL)
Process the import data as a band sequential file.
Definition: ProcessImport.cpp:1363
Isis::VALID_MAX4
const float VALID_MAX4
Definition: SpecialPixel.h:149
Isis::IVALID_MIN4
const int IVALID_MIN4
Definition: SpecialPixel.h:129
Isis::JP2Decoder::OpenFile
void OpenFile()
Open the JPEG2000 file.
Definition: JP2Decoder.cpp:52
Isis::CubeAttributeOutput::setPixelType
void setPixelType(PixelType type)
Set the pixel type to that given by the parameter.
Definition: CubeAttribute.cpp:390
Isis::Progress::CheckStatus
void CheckStatus()
Checks and updates the status.
Definition: Progress.cpp:105
Isis::BoxcarCachingAlgorithm
This algorithm is designed for applications that jump around between a couple of spots in the cube wi...
Definition: BoxcarCachingAlgorithm.h:32
Isis::ProcessImport::VAX_MIN4
@ VAX_MIN4
Definition: ProcessImport.h:164
Isis::ProcessImport::SetBase
void SetBase(const double base)
Sets the core base of the input cube.
Definition: ProcessImport.cpp:938
Isis::ProcessImport::ProcessBip
void ProcessBip(void funct(Isis::Buffer &out)=NULL)
Function to process files stored as Band Interleaved by Pixel.
Definition: ProcessImport.cpp:1871
Isis::ProcessImport::VAXDataType
VAXDataType
Definition: ProcessImport.h:157
Isis::ProcessImport::InputFile
QString InputFile()
Sets the name of the input file to be read in the import StartProcess method and verifies its existan...
Definition: ProcessImport.cpp:2319
Isis::ProcessImport::SetVAXConvert
void SetVAXConvert(const bool vax_convert)
Sets the VAX flag of the input cube.
Definition: ProcessImport.cpp:919
Isis::ProcessImport::DataSuffixBytes
int DataSuffixBytes() const
This method returns the number of data duffix bytes.
Definition: ProcessImport.cpp:729
Isis::EndianSwapper::Uint32_t
uint32_t Uint32_t(void *buf)
Swaps a 32bit unsigned integer.
Definition: EndianSwapper.cpp:130
BoxcarCachingAlgorithm.h
Isis::ProcessImport::SetFileTrailerBytes
void SetFileTrailerBytes(const int bytes)
This method sets the number of bytes in the trailer of a file.
Definition: ProcessImport.cpp:379
Isis::IsLsb
bool IsLsb()
Return true if this host is an LSB first machine and false if it is not.
Definition: Endian.h:67
SpecialPixel.h
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Process.h
Isis::ProcessImport::VAX_HRS4
@ VAX_HRS4
Definition: ProcessImport.h:169
Isis::Progress::SetMaximumSteps
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
Definition: Progress.cpp:85
Isis::ProcessImport::DataSuffix
std::vector< std::vector< char * > > DataSuffix()
This method returns a pointer to the data suffix.
Definition: ProcessImport.cpp:891
Isis::JP2Decoder::Read
void Read(unsigned char **inbuf)
Read data from JP2 file containing 8-bit data.
Definition: JP2Decoder.cpp:168
Isis::ProcessImport::BIL
@ BIL
Band Interleaved By Line Format (i.e.
Definition: ProcessImport.h:284
Isis::ProcessImport::VAX_HIS4
@ VAX_HIS4
Definition: ProcessImport.h:168
IsisAml::GetFileName
QString GetFileName(const QString &paramName, QString extension="") const
Allows the retrieval of a value for a parameter of type "filename".
Definition: IsisAml.cpp:607
Isis::VALID_MIN1
const unsigned char VALID_MIN1
Definition: SpecialPixel.h:181
Isis::Process::OutputCubes
std::vector< Isis::Cube * > OutputCubes
A vector of pointers to allocated Cube objects.
Definition: Process.h:191
LineManager.h
Isis::UnsignedWord
@ UnsignedWord
Definition: PixelType.h:31
Isis::Process
Base class for all cube processing derivatives.
Definition: Process.h:143
PvlTokenizer.h
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::CubeAttributeOutput
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:473
Isis::PvlObject::addObject
void addObject(const PvlObject &object)
Add a PvlObject.
Definition: PvlObject.h:307
Isis::ProcessImport::SetAttributes
void SetAttributes(CubeAttributeOutput &att)
Given a CubeAttributeOutput object, set min/max to propagate if propagating min/max attributes was re...
Definition: ProcessImport.cpp:1198
Isis::ProcessImport::~ProcessImport
virtual ~ProcessImport()
Destroys the Import object.
Definition: ProcessImport.cpp:78
Isis::ProcessImport::SaveDataTrailer
void SaveDataTrailer()
This method marks the data block trailers to be saved.
Definition: ProcessImport.cpp:617
Isis::SignedWord
@ SignedWord
Definition: PixelType.h:32
Isis::JP2Decoder::GetLineDimension
int GetLineDimension() const
Definition: JP2Decoder.h:102
Isis::ProcessImport::VAX_LIS4
@ VAX_LIS4
Definition: ProcessImport.h:167
Isis::HIGH_REPR_SAT8
const double HIGH_REPR_SAT8
Definition: SpecialPixel.h:116
Isis::ProcessImport::VAX_NULL4
@ VAX_NULL4
Definition: ProcessImport.h:165
Isis::ProcessImport::SaveDataHeader
void SaveDataHeader()
This method marks the data block headers to be saved.
Definition: ProcessImport.cpp:588
Isis::EndianSwapper::ShortInt
short int ShortInt(void *buf)
Swaps a short integer value.
Definition: EndianSwapper.cpp:174
ProcessImport.h
Isis::Process::StartProcess
virtual void StartProcess(void funct())
In the base class, this method will invoked a user-specified function exactly one time.
Definition: Process.h:213
Isis::Brick
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:45
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
EXPONENT_MASK
#define EXPONENT_MASK
This is free and unencumbered software released into the public domain.
Definition: ProcessImport.cpp:30
Isis::ByteOrder
ByteOrder
Tests the current architecture for byte order.
Definition: Endian.h:42
Isis::ProcessImport::SaveDataSuffix
void SaveDataSuffix()
This method marks the data suffix to be saved.
Definition: ProcessImport.cpp:674
Isis::Buffer
Buffer for reading and writing cube data.
Definition: Buffer.h:53
Isis::ProcessImport::SaveDataPrefix
void SaveDataPrefix()
This method marks the data prefix to be saved.
Definition: ProcessImport.cpp:645
Isis::ProcessImport::DataTrailer
std::vector< char * > DataTrailer()
This method returns a pointer to the data trailer.
Definition: ProcessImport.cpp:835
Isis::NoByteOrder
@ NoByteOrder
Definition: Endian.h:43
Buffer.h
Isis::JP2Decoder::GetBandDimension
int GetBandDimension() const
Definition: JP2Decoder.h:107
Isis::ProcessImport::DataPrefix
std::vector< std::vector< char * > > DataPrefix()
This method returns a pointer to the data prefix.
Definition: ProcessImport.cpp:863
Isis::Application::GetUserInterface
static UserInterface & GetUserInterface()
Returns the UserInterface object.
Definition: Application.cpp:463
Isis::ProcessImport::SetSuffixOffset
void SetSuffixOffset(int samples, int lines, int coreBands, int itemBytes)
Definition: ProcessImport.cpp:419
Isis::VALID_MAX2
const short VALID_MAX2
Definition: SpecialPixel.h:159
Isis::ProcessImport::SetDimensions
void SetDimensions(const int ns, const int nl, const int nb)
Sets the physical size of the input cube.
Definition: ProcessImport.cpp:304
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Isis::VALID_MIN2
const short VALID_MIN2
Definition: SpecialPixel.h:153
Isis::Double
@ Double
Definition: PixelType.h:36
PixelType.h
Isis::ProcessImport::SetOutputCube
Isis::Cube * SetOutputCube(const QString &parameter)
Create the output file.
Definition: ProcessImport.cpp:1261
Isis::ProcessImport::DataPrefixBytes
int DataPrefixBytes() const
This method returns the number of data prefix bytes.
Definition: ProcessImport.cpp:721
Pvl.h
Isis::ProcessImport::VAXConversion
double VAXConversion(void *ibuf)
Conversion routine which translates VAX_REAL to IEEE_REAL.
Definition: ProcessImport.cpp:171
Isis::IVALID_MAX4
const int IVALID_MAX4
Definition: SpecialPixel.h:150
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::ProcessImport::VAX_INT
@ VAX_INT
Definition: ProcessImport.h:159
Isis::ProcessImport
Byte swapper.
Definition: ProcessImport.h:155
Isis::VALID_MIN8
const double VALID_MIN8
Definition: SpecialPixel.h:86
EndianSwapper.h
Isis::ProcessImport::SetInputFile
void SetInputFile(const QString &file)
Sets the name of the input file to be read in the import StartProcess method and verifies its existan...
Definition: ProcessImport.cpp:2302
Isis::Progress::SetText
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:61
Application.h
Isis::ProcessImport::Organization
Interleave Organization() const
Gets the organization of the input cube.
Definition: ProcessImport.cpp:928
Isis::ProcessImport::SetSuffixPixelType
void SetSuffixPixelType(const Isis::PixelType type)
Definition: ProcessImport.cpp:278
Isis::ProcessImport::SetHIS
void SetHIS(const double his_min, const double his_max)
Sets the range that will be considered Isis::Null.
Definition: ProcessImport.cpp:1082
Isis::NULL8
const double NULL8
Definition: SpecialPixel.h:94
Isis::ProcessImport::SetSpecialValues
void SetSpecialValues(const double null, const double lrs, const double lis, const double hrs, const double his)
Sets a mapping of input pixel values to output special pixel values.
Definition: ProcessImport.cpp:993
Isis::ProcessImport::SetDataSuffixBytes
void SetDataSuffixBytes(const int bytes)
This method sets the number of bytes at the end of each data record of a file.
Definition: ProcessImport.cpp:503
Isis::CubeAttributeOutput::propagateMinimumMaximum
bool propagateMinimumMaximum() const
Return true if the min/max are to be propagated from an input cube.
Definition: CubeAttribute.cpp:177
Isis::ProcessImport::ByteOrder
Isis::ByteOrder ByteOrder()
Returns the byte order.
Definition: ProcessImport.h:237
Isis::ProcessImport::FileTrailerBytes
int FileTrailerBytes() const
This method returns the number of file trailer bytes.
Definition: ProcessImport.cpp:697
Isis::HIGH_INSTR_SAT8
const double HIGH_INSTR_SAT8
Definition: SpecialPixel.h:110
Isis::Msb
@ Msb
Definition: Endian.h:45
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::ProcessImport::SetPixelType
void SetPixelType(const Isis::PixelType type)
Sets the pixel type of the input file.
Definition: ProcessImport.cpp:264
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::ProcessImport::SaveFileTrailer
void SaveFileTrailer()
This method marks the file trailer to be saved.
Definition: ProcessImport.cpp:559
Isis::ProcessImport::DataTrailerBytes
int DataTrailerBytes() const
This method returns the number of data trailer bytes.
Definition: ProcessImport.cpp:713
Isis::VALID_MINUI4
const unsigned int VALID_MINUI4
Definition: SpecialPixel.h:171
Isis::VALID_MAXU2
const unsigned short VALID_MAXU2
Definition: SpecialPixel.h:168
Isis::ProcessImport::SetOrganization
void SetOrganization(const ProcessImport::Interleave org)
Sets the organization of the input cube.
Definition: ProcessImport.cpp:907
Isis::ProcessImport::StartProcess
virtual void StartProcess()
Process the input file and write it to the output.
Definition: ProcessImport.cpp:1302
Isis::VALID_MAXUI4
const unsigned int VALID_MAXUI4
Definition: SpecialPixel.h:177
Isis::ProcessImport::PixelType
Isis::PixelType PixelType()
Returns the pixel type.
Definition: ProcessImport.h:197
Isis::ProcessImport::Interleave
Interleave
This enum includes how the document should be read: by BSQ, BIL, BIP, JP2, or InterleaveUndefined.
Definition: ProcessImport.h:278
Isis::JP2Decoder
JPEG2000 decoder class.
Definition: JP2Decoder.h:83
Isis::Process::SetOutputCube
virtual Isis::Cube * SetOutputCube(const QString &parameter)
Allocates a user-specified output cube whose size matches the first input cube.
Definition: Process.cpp:160
Brick.h
Isis::ProcessImport::SetNull
void SetNull(const double null_min, const double null_max)
Sets the range that will be considered Isis::Null.
Definition: ProcessImport.cpp:1014
Isis::ProcessImport::FileHeaderBytes
int FileHeaderBytes() const
This method returns the number of file header bytes.
Definition: ProcessImport.cpp:688
Isis::EndianSwapper::Int
int Int(void *buf)
Swaps a 4 byte integer value.
Definition: EndianSwapper.cpp:108
Isis::PixelType
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:27
Isis::UnsignedInteger
@ UnsignedInteger
Definition: PixelType.h:33
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::ProcessImport::Lines
int Lines()
Returns the number of lines.
Definition: ProcessImport.h:217
Isis::IsValidPixel
bool IsValidPixel(const double d)
Returns if the input pixel is valid.
Definition: SpecialPixel.h:223
Isis::UserInterface
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:140
Isis::ProcessImport::SetMultiplier
void SetMultiplier(const double mult)
Sets the core multiplier of the input cube.
Definition: ProcessImport.cpp:959
Isis::ProcessImport::ProcessJp2
void ProcessJp2(void funct(Isis::Buffer &out)=NULL)
Function to process files containing compressed JPEG2000 data (which is always BSQ but is processed a...
Definition: ProcessImport.cpp:2123
Isis::VALID_MIN4
const float VALID_MIN4
Definition: SpecialPixel.h:130
Isis::PixelTypeName
QString PixelTypeName(Isis::PixelType pixelType)
Returns string name of PixelType enumeration entered as input parameter.
Definition: PixelType.h:66
Isis::ProcessImport::SaveFileHeader
void SaveFileHeader()
This method marks the file header to be saved.
Definition: ProcessImport.cpp:532
Isis::ProcessImport::DataHeaderBytes
int DataHeaderBytes() const
This method returns the number of data header bytes.
Definition: ProcessImport.cpp:705
Isis::SignedInteger
@ SignedInteger
Definition: PixelType.h:34
Isis::EndianSwapper
Byte swapper.
Definition: EndianSwapper.h:38
Isis::ProcessImport::SetByteOrder
void SetByteOrder(const Isis::ByteOrder order)
Sets the byte order of the input file.
Definition: ProcessImport.cpp:324
Isis::ProcessImport::TestPixel
double TestPixel(const double pixel)
Tests the pixel.
Definition: ProcessImport.cpp:1167
Isis::Process::p_progress
Isis::Progress * p_progress
Pointer to a Progress object.
Definition: Process.h:145
Isis::VALID_MINU2
const unsigned short VALID_MINU2
Definition: SpecialPixel.h:162
Isis::VALID_MAX1
const unsigned char VALID_MAX1
Definition: SpecialPixel.h:187
Isis::ProcessImport::VAX_REAL
@ VAX_REAL
Definition: ProcessImport.h:158
Isis::ProcessImport::BSQ
@ BSQ
Band Sequential Format (i.e.
Definition: ProcessImport.h:281
JP2Decoder.h
Isis::ProcessImport::ProcessBil
void ProcessBil(void funct(Isis::Buffer &out)=NULL)
Function to process files stored as Band Interleaved by Line.
Definition: ProcessImport.cpp:1626
Isis::ProcessImport::ProcessImport
ProcessImport()
Constructs an Import object.
Definition: ProcessImport.cpp:37
Isis::ByteOrderName
QString ByteOrderName(Isis::ByteOrder byteOrder)
Definition: Endian.h:48
Isis::ProcessImport::SetFileHeaderBytes
void SetFileHeaderBytes(const int bytes)
This method sets the number of bytes in the header of a file.
Definition: ProcessImport.cpp:349
Isis::ProcessImport::VAX_LRS4
@ VAX_LRS4
Definition: ProcessImport.h:166
Isis::ProcessImport::VAXSpecialPixel
VAXSpecialPixel
Definition: ProcessImport.h:163
Isis::ProcessImport::CheckPixelRange
void CheckPixelRange(QString pixelName, double min, double max)
Checks the special pixel range of the given against all other special pixel value ranges,...
Definition: ProcessImport.cpp:1098
Isis::LOW_REPR_SAT8
const double LOW_REPR_SAT8
Definition: SpecialPixel.h:98
Isis::ProcessImport::JP2
@ JP2
Jpeg 2000 Format (always band sequential).
Definition: ProcessImport.h:280
UserInterface.h
Isis::Lsb
@ Lsb
Definition: Endian.h:44
Isis::ProcessImport::Samples
int Samples()
Returns the number of samples.
Definition: ProcessImport.h:208
Isis::LOW_INSTR_SAT8
const double LOW_INSTR_SAT8
Definition: SpecialPixel.h:104
Isis::UnsignedByte
@ UnsignedByte
Definition: PixelType.h:29
Isis::ProcessImport::FileTrailer
char * FileTrailer()
This method returns a pointer to the file trailer.
Definition: ProcessImport.cpp:779
Isis::CubeAttributeOutput::propagatePixelType
bool propagatePixelType() const
Return true if the pixel type is to be propagated from an input cube.
Definition: CubeAttribute.cpp:165
PvlToPvlTranslationManager.h
Isis::EndianSwapper::Double
double Double(void *buf)
Swaps a double precision value.
Definition: EndianSwapper.cpp:55
Isis::CubeAttributeOutput::setMinimum
void setMinimum(double min)
Set the output cube attribute minimum.
Definition: CubeAttribute.cpp:324
Isis::ProcessImport::SetLRS
void SetLRS(const double lrs_min, const double lrs_max)
Sets the range that will be considered Isis::Null.
Definition: ProcessImport.cpp:1031
CubeAttribute.h
Isis::ProcessImport::SetDataTrailerBytes
void SetDataTrailerBytes(const int bytes)
This method sets the number of bytes in the trailer of each datablock of a file.
Definition: ProcessImport.cpp:443
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ProcessImport::BIP
@ BIP
Band Interleaved By Pixel Format (i.e.
Definition: ProcessImport.h:288
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
Isis::ProcessImport::SetHRS
void SetHRS(const double hrs_min, const double hrs_max)
Sets the range that will be considered Isis::Null.
Definition: ProcessImport.cpp:1065
Isis::ProcessImport::FileHeader
char * FileHeader()
This method returns a pointer to the file header.
Definition: ProcessImport.cpp:753
Isis::Real
@ Real
Definition: PixelType.h:35
Isis::None
@ None
Definition: PixelType.h:28