|
| | ImageSlice (Image< PixelT > const &img) |
| | Constructor for ImageSlice. More...
|
| |
| | ~ImageSlice () |
| |
| ImageSliceType | getImageSliceType () const |
| |
| | Image (unsigned int width, unsigned int height, PixelT initialValue=0) |
| | Create an initialised Image of the specified size. More...
|
| |
| | Image (geom::Extent2I const &dimensions=geom::Extent2I(), PixelT initialValue=0) |
| | Create an initialised Image of the specified size. More...
|
| |
| | Image (geom::Box2I const &bbox, PixelT initialValue=0) |
| | Create an initialized Image of the specified size. More...
|
| |
| | Image (Image const &rhs, geom::Box2I const &bbox, ImageOrigin const origin=PARENT, const bool deep=false) |
| | Copy constructor to make a copy of part of an Image. More...
|
| |
| | Image (const Image &rhs, const bool deep=false) |
| | Copy constructor. More...
|
| |
| | Image (std::string const &fileName, int hdu=INT_MIN, std::shared_ptr< lsst::daf::base::PropertySet > metadata=std::shared_ptr< lsst::daf::base::PropertySet >(), geom::Box2I const &bbox=geom::Box2I(), ImageOrigin origin=PARENT) |
| | Construct an Image by reading a regular FITS file. More...
|
| |
| | Image (fits::MemFileManager &manager, int hdu=INT_MIN, std::shared_ptr< lsst::daf::base::PropertySet > metadata=std::shared_ptr< lsst::daf::base::PropertySet >(), geom::Box2I const &bbox=geom::Box2I(), ImageOrigin origin=PARENT) |
| | Construct an Image by reading a FITS image in memory. More...
|
| |
| | Image (fits::Fits &fitsfile, std::shared_ptr< lsst::daf::base::PropertySet > metadata=std::shared_ptr< lsst::daf::base::PropertySet >(), geom::Box2I const &bbox=geom::Box2I(), ImageOrigin origin=PARENT) |
| | Construct an Image from an already-open FITS object. More...
|
| |
| template<typename OtherPixelT > |
| | Image (Image< OtherPixelT > const &rhs, const bool deep) |
| |
| | Image (ndarray::Array< PixelT, 2, 1 > const &array, bool deep=false, geom::Point2I const &xy0=geom::Point2I()) |
| |
| virtual | ~Image () |
| |
| Image & | operator= (const PixelT rhs) |
| | Set the image's pixels to rhs. More...
|
| |
| Image & | operator= (const Image &rhs) |
| | Assignment operator. More...
|
| |
| void | writeFits (std::string const &fileName, std::shared_ptr< lsst::daf::base::PropertySet const > metadata=std::shared_ptr< lsst::daf::base::PropertySet const >(), std::string const &mode="w") const |
| | Write an image to a regular FITS file. More...
|
| |
| void | writeFits (fits::MemFileManager &manager, std::shared_ptr< lsst::daf::base::PropertySet const > metadata=std::shared_ptr< lsst::daf::base::PropertySet const >(), std::string const &mode="w") const |
| | Write an image to a FITS RAM file. More...
|
| |
| void | writeFits (fits::Fits &fitsfile, std::shared_ptr< lsst::daf::base::PropertySet const > metadata=std::shared_ptr< lsst::daf::base::PropertySet const >()) const |
| | Write an image to an open FITS file object. More...
|
| |
| void | swap (Image &rhs) |
| |
| Image & | operator+= (PixelT const rhs) |
| | Add scalar rhs to lhs. More...
|
| |
| virtual Image & | operator+= (Image< PixelT > const &rhs) |
| | Add Image rhs to lhs. More...
|
| |
| Image & | operator+= (lsst::afw::math::Function2< double > const &function) |
| | Add a Function2(x, y) to an Image. More...
|
| |
| void | scaledPlus (double const c, Image< PixelT > const &rhs) |
| | Add Image c*rhs to lhs. More...
|
| |
| Image & | operator-= (PixelT const rhs) |
| | Subtract scalar rhs from lhs. More...
|
| |
| Image & | operator-= (Image< PixelT > const &rhs) |
| | Subtract Image rhs from lhs. More...
|
| |
| Image & | operator-= (lsst::afw::math::Function2< double > const &function) |
| | Subtract a Function2(x, y) from an Image. More...
|
| |
| void | scaledMinus (double const c, Image< PixelT > const &rhs) |
| | Subtract Image c*rhs from lhs. More...
|
| |
| Image & | operator*= (PixelT const rhs) |
| | Multiply lhs by scalar rhs. More...
|
| |
| Image & | operator*= (Image< PixelT > const &rhs) |
| | Multiply lhs by Image rhs (i.e. pixel-by-pixel multiplication) More...
|
| |
| void | scaledMultiplies (double const c, Image< PixelT > const &rhs) |
| | Multiply lhs by Image c*rhs (i.e. pixel-by-pixel multiplication) More...
|
| |
| Image & | operator/= (PixelT const rhs) |
| | Divide lhs by scalar rhs. More...
|
| |
| Image & | operator/= (Image< PixelT > const &rhs) |
| | Divide lhs by Image rhs (i.e. pixel-by-pixel division) More...
|
| |
| void | scaledDivides (double const c, Image< PixelT > const &rhs) |
| | Divide lhs by Image c*rhs (i.e. pixel-by-pixel division) More...
|
| |
| void | sqrt () |
| |
| template<> |
| Image< double > & | operator/= (double const rhs) |
| |
| template<> |
| Image< float > & | operator/= (float const rhs) |
| |
| | ImageBase (const geom::Extent2I &dimensions=geom::Extent2I()) |
| | Allocator Constructor. More...
|
| |
| | ImageBase (const geom::Box2I &bbox) |
| | Allocator Constructor. More...
|
| |
| | ImageBase (const ImageBase &src, const bool deep=false) |
| | Copy constructor. More...
|
| |
| | ImageBase (const ImageBase &src, const geom::Box2I &bbox, const ImageOrigin origin=PARENT, const bool deep=false) |
| | Copy constructor to make a copy of part of an image. More...
|
| |
| template<typename OtherPixelT > |
| | ImageBase (const ImageBase< OtherPixelT > &rhs, const bool deep) |
| | generalised copy constructor More...
|
| |
| | ImageBase (Array const &array, bool deep=false, geom::Point2I const &xy0=geom::Point2I()) |
| | Construction from ndarray::Array and NumPy. More...
|
| |
| virtual | ~ImageBase () |
| |
| ImageBase & | operator= (const ImageBase &rhs) |
| | Shallow assignment operator. More...
|
| |
| ImageBase & | operator= (const PixelT rhs) |
| | Set the image's pixels to rhs. More...
|
| |
| ImageBase & | operator<<= (const ImageBase &rhs) |
| | Set the lhs's pixel values to equal the rhs's. More...
|
| |
| void | assign (ImageBase const &rhs, geom::Box2I const &bbox=geom::Box2I(), ImageOrigin origin=PARENT) |
| | Copy pixels from another image to a specified subregion of this image. More...
|
| |
| PixelReference | operator() (int x, int y) |
| | Return a reference to the pixel (x, y) More...
|
| |
| PixelReference | operator() (int x, int y, CheckIndices const &) |
| | Return a reference to the pixel (x, y) with bounds checking. More...
|
| |
| PixelConstReference | operator() (int x, int y) const |
| | Return a const reference to the pixel (x, y) More...
|
| |
| PixelConstReference | operator() (int x, int y, CheckIndices const &) const |
| | Return a const reference to the pixel (x, y) with bounds checking. More...
|
| |
| PixelConstReference | get0 (int x, int y) const |
| |
| PixelConstReference | get0 (int x, int y, CheckIndices const &check) const |
| |
| void | set0 (int x, int y, const PixelT v) |
| |
| void | set0 (int x, int y, const PixelT v, CheckIndices const &check) |
| |
| int | getWidth () const |
| | Return the number of columns in the image. More...
|
| |
| int | getHeight () const |
| | Return the number of rows in the image. More...
|
| |
| int | getX0 () const |
| | Return the image's column-origin. More...
|
| |
| int | getY0 () const |
| | Return the image's row-origin. More...
|
| |
| geom::Point2I | getXY0 () const |
| | Return the image's origin. More...
|
| |
| std::pair< int, double > | positionToIndex (double const pos, lsst::afw::image::xOrY const xy) const |
| | Convert image position to index (nearest integer and fractional parts) More...
|
| |
| double | indexToPosition (double ind, lsst::afw::image::xOrY const xy) const |
| | Convert image index to image position. More...
|
| |
| geom::Extent2I | getDimensions () const |
| | Return the image's size; useful for passing to constructors. More...
|
| |
| void | swap (ImageBase &rhs) |
| |
| Array | getArray () |
| |
| ConstArray | getArray () const |
| |
| iterator | begin () const |
| | Return an STL compliant iterator to the start of the image. More...
|
| |
| iterator | end () const |
| | Return an STL compliant iterator to the end of the image. More...
|
| |
| reverse_iterator | rbegin () const |
| | Return an STL compliant reverse iterator to the start of the image. More...
|
| |
| reverse_iterator | rend () const |
| | Return an STL compliant reverse iterator to the end of the image. More...
|
| |
| iterator | at (int x, int y) const |
| | Return an STL compliant iterator at the point (x, y) More...
|
| |
| fast_iterator | begin (bool) const |
| | Return a fast STL compliant iterator to the start of the image which must be contiguous. More...
|
| |
| fast_iterator | end (bool) const |
| | Return a fast STL compliant iterator to the end of the image which must be contiguous. More...
|
| |
| x_iterator | row_begin (int y) const |
| | Return an x_iterator to the start of the y'th row. More...
|
| |
| x_iterator | row_end (int y) const |
| | Return an x_iterator to the end of the y'th row. More...
|
| |
| x_iterator | x_at (int x, int y) const |
| | Return an x_iterator to the point (x, y) in the image. More...
|
| |
| y_iterator | col_begin (int x) const |
| | Return an y_iterator to the start of the y'th row. More...
|
| |
| y_iterator | col_end (int x) const |
| | Return an y_iterator to the start of the y'th row. More...
|
| |
| y_iterator | y_at (int x, int y) const |
| | Return an y_iterator to the point (x, y) in the image. More...
|
| |
| xy_locator | xy_at (int x, int y) const |
| | Return an xy_locator at the point (x, y) in the image. More...
|
| |
| void | setXY0 (geom::Point2I const origin) |
| | Set the ImageBase's origin. More...
|
| |
| void | setXY0 (int const x0, int const y0) |
| | Set the ImageBase's origin. More...
|
| |
| geom::Box2I | getBBox (ImageOrigin origin=PARENT) const |
| |
template<typename PixelT>
class lsst::afw::image::ImageSlice< PixelT >
A class to specify a slice of an image.
Definition at line 46 of file ImageSlice.h.