Functions | |
| float | Set8bitMaxMintoSpecialPixelsHIS4LIS4 (std::uint16_t in) |
| Sets 8 bit max and min to special pixels. | |
| std::uint16_t | Set_LIS_HIS_SpecialPixelsTo_0_255 (std::uint16_t in) |
| Sets special pixels to 0 or 255. | |
| bool | IsSpecialPixelSHC (double in) |
| Checks if pixel is a special pixel. | |
| std::size_t | GetDataIndex (int channel, int channel_width, int pixel) |
| Return data index based on channel, channel width, and pixel column. | |
| std::string | GetVersionedFilename (const QString &filename) |
| Gets the highest version of a filename and expands any ISIS variables in it, if present. | |
| QString | GetFromLabels (const PvlContainer &pvlContainer, const QString &pvlKeyword) |
| Get the value from a keyword in the KPLO ShadowCam object labels. | |
| int | GetTdiFactor (const PvlGroup &instrument) |
| Get the TDI factor from TDI direction. | |
| std::string | ToLower (const std::string &str) |
| Converts a string to lowercase. | |
| bool | ContainsKeyword (const std::string &line, const std::vector< std::string > &keywords) |
| Check if a line contains any keyword. | |
| bool | IsCalibrated (const FileName &file) |
| Check of image is a calibrated image. | |
Variables | |
| constexpr int | TERMS = 6 |
| constexpr int | DATA_OFFSET = 65536 |
| constexpr int | SHC_BYTES = 4096 |
| constexpr int | SHC_AFE_WIDTH = 524 |
| constexpr int | SHC_CHANNELS = 6 |
| constexpr int | SHC_SCENE = 512 |
| constexpr int | SHC_SCENE_OFFSET = 10 |
| constexpr int | SHC_BANDS = 1 |
| bool Isis::ShadowCam::ContainsKeyword | ( | const std::string & | line, |
| const std::vector< std::string > & | keywords ) |
Check if a line contains any keyword.
| line | The line in which to check for keywords |
| keywords | The vector of keywords to search for |
| std::size_t Isis::ShadowCam::GetDataIndex | ( | int | channel, |
| int | channel_width, | ||
| int | pixel ) |
Return data index based on channel, channel width, and pixel column.
| channel | The channel of the ccd |
| channel_width | The width in pixels of shc channel |
| pixel | The sample value |
| QString Isis::ShadowCam::GetFromLabels | ( | const PvlContainer & | pvlContainer, |
| const QString & | pvlKeyword ) |
Get the value from a keyword in the KPLO ShadowCam object labels.
| pvlContainer | The PVL container in which to search for the keyword |
| pvlKeyword | The PVL keyword from which to retrieve the value |
| IException::User | If the keyword is not found in the PVL container |
Referenced by Isis::ShadowCamCamera::ShadowCamCamera().
| int Isis::ShadowCam::GetTdiFactor | ( | const PvlGroup & | instrument | ) |
Get the TDI factor from TDI direction.
| instrument | The PVL group containing the TDIDirection keyword |
| IException::User | If the TDIDirection keyword is not found in the instrument PVL group |
| IException::User | If the TDIDirection value is not "A" or "B" |
| std::string Isis::ShadowCam::GetVersionedFilename | ( | const QString & | filename | ) |
Gets the highest version of a filename and expands any ISIS variables in it, if present.
| filename | The input filename |
| IException::User | If the file does not exist after version resolution and variable expansion |
| bool Isis::ShadowCam::IsCalibrated | ( | const FileName & | file | ) |
Check of image is a calibrated image.
| file | A FileName object to read |
References SHC_AFE_WIDTH, and SHC_CHANNELS.
| bool Isis::ShadowCam::IsSpecialPixelSHC | ( | double | in | ) |
Checks if pixel is a special pixel.
This should be checked after decompanding since in decompanding step, 0 and 255 are set only to HIS and LIS. You may miss LRS or HRS after decompanding.
| in | Input line buffer |
| float Isis::ShadowCam::Set8bitMaxMintoSpecialPixelsHIS4LIS4 | ( | std::uint16_t | in | ) |
Sets 8 bit max and min to special pixels.
| in | Input line buffer |
| std::uint16_t Isis::ShadowCam::Set_LIS_HIS_SpecialPixelsTo_0_255 | ( | std::uint16_t | in | ) |
Sets special pixels to 0 or 255.
| in | Input line buffer |
| std::string Isis::ShadowCam::ToLower | ( | const std::string & | str | ) |
Converts a string to lowercase.
| str | The string to convert |
|
constexpr |
|
constexpr |
Referenced by IsCalibrated().
|
constexpr |
|
constexpr |
|
constexpr |
Referenced by IsCalibrated().
|
constexpr |
|
constexpr |
|
constexpr |