Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
ShadowCamUtilities.cpp File Reference
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
#include <QString>
#include <QStringBuilder>
#include "FileName.h"
#include "IException.h"
#include "Pvl.h"
#include "PvlContainer.h"
#include "PvlGroup.h"
#include "SpecialPixel.h"
#include "ShadowCamConstants.h"
#include "ShadowCamUtilities.h"

Namespaces

namespace  Isis
 This is free and unencumbered software released into the public domain.
 
namespace  Isis::ShadowCam
 

Functions

float Isis::ShadowCam::Set8bitMaxMintoSpecialPixelsHIS4LIS4 (std::uint16_t in)
 Sets 8 bit max and min to special pixels.
 
std::uint16_t Isis::ShadowCam::Set_LIS_HIS_SpecialPixelsTo_0_255 (std::uint16_t in)
 Sets special pixels to 0 or 255.
 
bool Isis::ShadowCam::IsSpecialPixelSHC (double in)
 Checks if pixel is a special pixel.
 
std::size_t Isis::ShadowCam::GetDataIndex (int channel, int channel_width, int pixel)
 Return data index based on channel, channel width, and pixel column.
 
std::string Isis::ShadowCam::GetVersionedFilename (const QString &filename)
 Gets the highest version of a filename and expands any ISIS variables in it, if present.
 
QString Isis::ShadowCam::GetFromLabels (const PvlContainer &pvlContainer, const QString &pvlKeyword)
 Get the value from a keyword in the KPLO ShadowCam object labels.
 
int Isis::ShadowCam::GetTdiFactor (const PvlGroup &instrument)
 Get the TDI factor from TDI direction.
 
std::string Isis::ShadowCam::ToLower (const std::string &str)
 Converts a string to lowercase.
 
bool Isis::ShadowCam::ContainsKeyword (const std::string &line, const std::vector< std::string > &keywords)
 Check if a line contains any keyword.
 
bool Isis::ShadowCam::IsCalibrated (const FileName &file)
 Check of image is a calibrated image.