PSQt::GeoImage Class Reference
[PSQt package]

Generates image using geometry and ndarray of intensity. More...

#include <GeoImage.h>

List of all members.

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 ()


Detailed Description

Generates image using geometry and ndarray of intensity.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

See also:
GUIMain, WdgImage, ImageProc
Version:
Id
GeoImage.h 11039 2015-12-01 01:18:58Z dubrovin@SLAC.STANFORD.EDU
Author:
Mikhail Dubrovin

Definition at line 33 of file GeoImage.h.


Member Typedef Documentation

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.

typedef PSCalib::GeometryAccess::image_t PSQt::GeoImage::raw_image_t

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 142 of file GeoImage.cpp.

References PSQt::DEBUG, and MsgInLog.

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]

Definition at line 156 of file GeoImage.cpp.

References PSQt::INFO, and MsgInLog.

void PSQt::GeoImage::setFirstImage (  ) 

Definition at line 181 of file GeoImage.cpp.

void PSQt::GeoImage::testSignalImageIsUpdated ( ndarray< GeoImage::raw_image_t, 2 > &   )  [slot]

Definition at line 216 of file GeoImage.cpp.

References PSQt::DEBUG, and MsgInLog.


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7