#include <GeoImage.h>
Public Types | |
typedef PSCalib::GeometryAccess::image_t | raw_image_t |
typedef uint32_t | image_t |
typedef boost::shared_ptr< PSCalib::GeometryObject > | shpGO |
typedef pdscalibdata::NDArrIOV1< double, 1 > | NDAIO |
Public Slots | |
void | onGeometryIsLoaded (PSCalib::GeometryAccess *) |
void | onGeoIsChanged (shpGO &geo) |
void | onImageFileNameIsChanged (const std::string &str) |
void | testSignalImageIsUpdated (ndarray< GeoImage::raw_image_t, 2 > &) |
Signals | |
void | imageIsUpdated (ndarray< GeoImage::raw_image_t, 2 > &) |
Public Member Functions | |
GeoImage (PSCalib::GeometryAccess *, const std::string &fname_img=std::string(), const int &xcent=2000, const int &ycent=2000) | |
GeoImage (const std::string &fname_geo=std::string(), const std::string &fname_img=std::string(), const int &xcent=2000, const int &ycent=2000) | |
void | setFirstImage () |
ndarray< raw_image_t, 2 > & | getImage () |
ndarray< image_t, 2 > | getNormalizedImage () |
ndarray< image_t, 2 > | getRandomImage () |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 33 of file GeoImage.h.
typedef uint32_t PSQt::GeoImage::image_t |
Definition at line 40 of file GeoImage.h.
typedef pdscalibdata::NDArrIOV1<double,1> PSQt::GeoImage::NDAIO |
Definition at line 43 of file GeoImage.h.
Definition at line 39 of file GeoImage.h.
typedef boost::shared_ptr<PSCalib::GeometryObject> PSQt::GeoImage::shpGO |
Definition at line 42 of file GeoImage.h.
PSQt::GeoImage::GeoImage | ( | PSCalib::GeometryAccess * | , | |
const std::string & | fname_img = std::string() , |
|||
const int & | xcent = 2000 , |
|||
const int & | ycent = 2000 | |||
) |
Definition at line 25 of file GeoImage.cpp.
PSQt::GeoImage::GeoImage | ( | const std::string & | fname_geo = std::string() , |
|
const std::string & | fname_img = std::string() , |
|||
const int & | xcent = 2000 , |
|||
const int & | ycent = 2000 | |||
) |
Definition at line 41 of file GeoImage.cpp.
ndarray< GeoImage::raw_image_t, 2 > & PSQt::GeoImage::getImage | ( | ) |
Definition at line 190 of file GeoImage.cpp.
References PSCalib::GeometryAccess::get_pixel_scale_size(), PSCalib::GeometryAccess::get_pixel_xy_inds_at_z(), PSCalib::GeometryAccess::get_top_geo(), and PSCalib::GeometryAccess::ref_img_from_pixel_arrays().
Referenced by getNormalizedImage().
ndarray< GeoImage::image_t, 2 > PSQt::GeoImage::getNormalizedImage | ( | ) |
Definition at line 225 of file GeoImage.cpp.
References getImage(), PSQt::INFO, and MsgInLog.
Referenced by PSQt::WdgImage::setCameraImage().
ndarray< GeoImage::image_t, 2 > PSQt::GeoImage::getRandomImage | ( | ) |
Definition at line 242 of file GeoImage.cpp.
References PSQt::getColorBarImage(), PSQt::INFO, and MsgInLog.
void PSQt::GeoImage::imageIsUpdated | ( | ndarray< GeoImage::raw_image_t, 2 > & | ) | [signal] |
void PSQt::GeoImage::onGeoIsChanged | ( | shpGO & | geo | ) | [slot] |
void PSQt::GeoImage::onGeometryIsLoaded | ( | PSCalib::GeometryAccess * | ) | [slot] |
Definition at line 127 of file GeoImage.cpp.
References GeometryAccess::geometry, PSQt::INFO, and MsgInLog.
void PSQt::GeoImage::onImageFileNameIsChanged | ( | const std::string & | str | ) | [slot] |
void PSQt::GeoImage::setFirstImage | ( | ) |
Definition at line 181 of file GeoImage.cpp.
void PSQt::GeoImage::testSignalImageIsUpdated | ( | ndarray< GeoImage::raw_image_t, 2 > & | ) | [slot] |