|
My Project
|
Public Member Functions | |
| ImageReader () | |
| virtual | ~ImageReader () |
| virtual ImsReadState | read () |
| void | changeStream (ImMonitorStream *ims) |
| void | openStream (std::string host) |
| int | fd () |
Public Member Functions inherited from gcp::grabber::ImagePlotter | |
| ImagePlotter () | |
| virtual | ~ImagePlotter () |
| void | open (char *device) |
| void | draw (bool cmapUpdate=false) |
| void | drawDouble () |
| void | setGridInterval (gcp::util::Angle &interval) |
| void | installNewImage (unsigned short *image) |
| void | testDraw () |
| void | pixelToWorld (unsigned ix, unsigned iy, double &x, double &y) |
| void | worldToPixel (double x, double y, unsigned &ix, unsigned &iy, bool truncate=false) |
| void | worldToSkyOffset (double x, double y, gcp::util::Angle &xsky, gcp::util::Angle &ysky) |
| void | setPlotBoundaries () |
| void | calculatePlotLimits () |
| void | setPeak (unsigned ix, unsigned iy) |
| bool & | doGrid () |
| bool & | doCompass () |
| bool & | doBullseye () |
| bool & | doCrosshair () |
| bool & | doBoxes () |
| void | setContrast (double contrast=defaultContrast_) |
| void | setBrightness (double brightness=defaultBrightness_) |
| void | installColormap (std::string cmap) |
| std::string | colormapName () |
| void | fiddleContrast (double xa, double ya) |
| void | setDisplayedRange (double xa, double xb, double ya, double yb) |
| void | setDisplayedRange () |
| void | setPgplotId (int pgplotId) |
| int | pgplotId () |
| void | initialize () |
| void | getGreyscale () |
| void | drawImage (bool cmapUpdate=false) |
| void | drawGrid () |
| void | drawBullseye () |
| void | drawCompass () |
| void | drawCrosshair () |
| void | drawBoxes () |
Public Member Functions inherited from gcp::util::ImageHandler | |
| ImageHandler () | |
| ImageHandler (const ImageHandler &objToBeCopied) | |
| ImageHandler (ImageHandler &objToBeCopied) | |
| void | operator= (const ImageHandler &objToBeAssigned) |
| void | operator= (ImageHandler &objToBeAssigned) |
| virtual | ~ImageHandler () |
| virtual void | setDeckAngleRotationSense (gcp::control::RotationSense sense) |
| virtual void | setNCombine (unsigned ncombine) |
| virtual void | setChannel (gcp::grabber::Channel::FgChannel channel) |
| virtual void | setChannel (unsigned channel) |
| virtual void | setFlatfieldType (unsigned flatfieldType) |
| virtual void | setXImDir (gcp::control::ImDir dir) |
| virtual void | setYImDir (gcp::control::ImDir dir) |
| virtual void | setFov (const gcp::util::Angle &fov) |
| virtual void | setAspectRatio (double aspectRatio) |
| virtual void | setRotationAngle (const gcp::util::Angle &rotationAngle) |
| virtual void | setDeckAngle (const gcp::util::Angle &deckAngle) |
| virtual void | installNewImage (unsigned short *image, unsigned int utc[2], gcp::util::Angle *az, gcp::util::Angle *el, gcp::util::Angle *dk=0) |
| ImStat | getStats () |
| virtual ImStat | getStats (unsigned ixmin, unsigned iymin, unsigned ixmax, unsigned iymax) |
| void | getOffsetInfo (gcp::util::Angle &horiz, gcp::util::Angle &vert, unsigned &ipeak, unsigned &jpeak) |
| void | getPeakInfo (double &peak, double &snr) |
| void | addIncludeBox (unsigned ixmin, unsigned iymin, unsigned ixmax, unsigned iymax) |
| void | addExcludeBox (unsigned ixmin, unsigned iymin, unsigned ixmax, unsigned iymax) |
| void | deleteNearestBox (unsigned ix, unsigned iy) |
| void | deleteAllBoxes () |
Additional Inherited Members | |
Public Attributes inherited from gcp::util::ImageHandler | |
| std::vector< Box > | boxes_ |
| gcp::util::Angle | fov_ |
| double | aspectRatio_ |
| gcp::util::Angle | deckAngle_ |
| gcp::util::Angle | rotationAngle_ |
| gcp::control::RotationSense | deckAngleRotationSense_ |
| gcp::grabber::Channel::FgChannel | channel_ |
| unsigned | flatfieldType_ |
| unsigned | nCombine_ |
| gcp::control::ImDir | xImDir_ |
| gcp::control::ImDir | yImDir_ |
| std::vector< unsigned short > | imageToArchive_ |
Static Public Attributes inherited from gcp::grabber::ImagePlotter | |
| static const double | defaultContrast_ = -1.0 |
| static const double | defaultBrightness_ = 0.5 |
Static Public Attributes inherited from gcp::util::ImageHandler | |
| static const gcp::util::Angle | defaultFov_ |
| static const double | defaultAspectRatio_ = 0.8 |
| static const gcp::util::Angle | defaultRotationAngle_ |
|
static const gcp::control::RotationSense | defaultDeckAngleRotationSense_ = CCW |
| static const gcp::grabber::Channel::FgChannel | defaultChannel_ |
| static const unsigned | defaultFlatfieldType_ |
| static const unsigned | defaultNcombine_ = 1 |
| static const gcp::control::ImDir | defaultXImDir_ = UPRIGHT |
| static const gcp::control::ImDir | defaultYImDir_ = UPRIGHT |
Protected Member Functions inherited from gcp::util::ImageHandler | |
| void | lock () |
| void | unlock () |
| void | pixelToSkyOffset (unsigned ix, unsigned iy, gcp::util::Angle &xsky, gcp::util::Angle &ysky) |
Protected Attributes inherited from gcp::util::ImageHandler | |
| bool | haveImage_ |
| double | dx_ |
| double | dy_ |
| double | xa_ |
| double | ya_ |
| double | xb_ |
| double | yb_ |
| unsigned | nx_ |
| unsigned | ny_ |
| bool | usePixel_ [GRABBER_IM_SIZE] |
| unsigned short | imageToStore_ [GRABBER_IM_SIZE] |
| unsigned int | utc_ [2] |
| ImageReader::ImageReader | ( | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
| void ImageReader::changeStream | ( | ImMonitorStream * | ims | ) |
....................................................................... Change the source of image monitor data.
|
virtual |
....................................................................... Read an image from the stream