1#ifndef ShadowCamUtilities_h
2#define ShadowCamUtilities_h
18#include "PvlContainer.h"
63 std::size_t
GetDataIndex(
int channel,
int channel_width,
int pixel);
88 QString
GetFromLabels(
const PvlContainer &pvlContainer,
const QString &pvlKeyword);
115 std::string
ToLower(
const std::string &str);
125 bool ContainsKeyword(
const std::string &line,
const std::vector<std::string> &keywords);
Definition ShadowCamConstants.h:12
bool IsCalibrated(const FileName &file)
Check of image is a calibrated image.
Definition ShadowCamUtilities.cpp:112
bool ContainsKeyword(const std::string &line, const std::vector< std::string > &keywords)
Check if a line contains any keyword.
Definition ShadowCamUtilities.cpp:103
std::size_t GetDataIndex(int channel, int channel_width, int pixel)
Return data index based on channel, channel width, and pixel column.
Definition ShadowCamUtilities.cpp:51
bool IsSpecialPixelSHC(double pixel)
Checks if pixel is a special pixel.
Definition ShadowCamUtilities.cpp:47
int GetTdiFactor(const PvlGroup &instrumentGroup)
Get the TDI factor from TDI direction.
Definition ShadowCamUtilities.cpp:79
std::uint16_t Set_LIS_HIS_SpecialPixelsTo_0_255(std::uint16_t in)
Sets special pixels to 0 or 255.
Definition ShadowCamUtilities.cpp:34
std::string GetVersionedFilename(const QString &filename)
Gets the highest version of a filename and expands any ISIS variables in it, if present.
Definition ShadowCamUtilities.cpp:55
float Set8bitMaxMintoSpecialPixelsHIS4LIS4(std::uint16_t in)
Sets 8 bit max and min to special pixels.
Definition ShadowCamUtilities.cpp:22
std::string ToLower(const std::string &str)
Converts a string to lowercase.
Definition ShadowCamUtilities.cpp:99
QString GetFromLabels(const PvlContainer &pvlContainer, const QString &pvlKeyword)
Get the value from a keyword in the KPLO ShadowCam object labels.
Definition ShadowCamUtilities.cpp:71
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16