|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <FitsImageSource.h>


Private Member Functions | |
| void | switchHdu (fitsfile *fptr, int hdu_number) const |
| int | getDataType () const |
| int | getImageType () const |
Definition at line 46 of file FitsImageSource.h.
|
explicit |
Constructor
| filename | Path to the FITS file |
| hdu_number | HDU number. If <= 0, the constructor will use the first HDU containing an image |
| manager |
Definition at line 74 of file FitsImageSource.cpp.
References m_depth, m_handler, m_hdu_number, m_height, m_image_type, m_width, and switchHdu().

| SourceXtractor::FitsImageSource::FitsImageSource | ( | const std::string & | filename, |
| int | width, | ||
| int | height, | ||
| ImageTile::ImageType | image_type, | ||
| const std::shared_ptr< CoordinateSystem > | coord_system = nullptr, | ||
| bool | append = false, | ||
| bool | empty_primary = false, | ||
| std::shared_ptr< FileManager > | manager = FileManager::getDefault() ) |
Definition at line 118 of file FitsImageSource.cpp.
References getDataType(), getImageType(), SourceXtractor::ImageTile::getTypeSize(), Euclid::FilePool::FileHandler::kWrite, std::left(), m_file_manager, m_filename, m_handler, m_hdu_number, and std::setw().

|
virtualdefault |
|
private |
Definition at line 358 of file FitsImageSource.cpp.
References SourceXtractor::ImageTile::DoubleImage, SourceXtractor::ImageTile::FloatImage, SourceXtractor::ImageTile::IntImage, SourceXtractor::ImageTile::LongLongImage, m_image_type, and SourceXtractor::ImageTile::UIntImage.
Referenced by FitsImageSource(), getImageTile(), and saveTile().
|
inline |
Returns the depth of the image in pixels.
Definition at line 86 of file FitsImageSource.h.
References m_depth.
| std::unique_ptr< std::vector< char > > SourceXtractor::FitsImageSource::getFitsHeaders | ( | int & | number_of_records | ) | const |
Definition at line 282 of file FitsImageSource.cpp.
References getMetadata().

|
inline |
Definition at line 107 of file FitsImageSource.h.
References m_hdu_number.
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::ImageSource.
Definition at line 81 of file FitsImageSource.h.
References m_height.
|
overridevirtual |
Implements SourceXtractor::ImageSource.
Definition at line 209 of file FitsImageSource.cpp.
References SourceXtractor::ImageTile::create(), getDataType(), m_current_layer, m_handler, m_hdu_number, m_image_type, std::enable_shared_from_this< ImageSource >::shared_from_this(), switchHdu(), x, and y.

|
private |
Definition at line 374 of file FitsImageSource.cpp.
References SourceXtractor::ImageTile::DoubleImage, SourceXtractor::ImageTile::FloatImage, SourceXtractor::ImageTile::IntImage, SourceXtractor::ImageTile::LongLongImage, m_image_type, and SourceXtractor::ImageTile::UIntImage.
Referenced by FitsImageSource().
|
overridevirtual |
Reimplemented from SourceXtractor::ImageSource.
Definition at line 327 of file FitsImageSource.cpp.
References m_handler, and m_hdu_number.
Referenced by getFitsHeaders(), and readFitsKeyword().
|
inlineoverridevirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSource.
Definition at line 71 of file FitsImageSource.h.
References m_filename.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource.
Definition at line 111 of file FitsImageSource.h.
References m_image_type.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::ImageSource.
Definition at line 76 of file FitsImageSource.h.
References m_width.
|
inline |
Definition at line 97 of file FitsImageSource.h.
References getMetadata().

Implements SourceXtractor::ImageSource.
Definition at line 234 of file FitsImageSource.cpp.
References getDataType(), Euclid::FilePool::FileHandler::kWrite, m_handler, m_hdu_number, switchHdu(), x, and y.

Definition at line 275 of file FitsImageSource.cpp.
References m_current_layer, m_depth, and m_filename.
|
overridevirtual |
Reimplemented from SourceXtractor::ImageSource.
Definition at line 332 of file FitsImageSource.cpp.
References Euclid::FilePool::FileHandler::kWrite, std::left(), m_handler, m_hdu_number, SourceXtractor::MetadataEntry::m_value, std::setw(), and switchHdu().

Definition at line 258 of file FitsImageSource.cpp.
References m_filename.
Referenced by FitsImageSource(), getImageTile(), saveTile(), and setMetadata().
|
private |
Definition at line 139 of file FitsImageSource.h.
Referenced by getImageTile(), and setLayer().
|
private |
Definition at line 136 of file FitsImageSource.h.
Referenced by FitsImageSource(), getDepth(), and setLayer().
|
private |
Definition at line 129 of file FitsImageSource.h.
Referenced by FitsImageSource().
|
private |
Definition at line 128 of file FitsImageSource.h.
Referenced by FitsImageSource(), getRepr(), setLayer(), and switchHdu().
|
private |
Definition at line 130 of file FitsImageSource.h.
Referenced by FitsImageSource(), FitsImageSource(), getImageTile(), getMetadata(), saveTile(), and setMetadata().
|
private |
Definition at line 132 of file FitsImageSource.h.
Referenced by FitsImageSource(), FitsImageSource(), getHDU(), getImageTile(), getMetadata(), saveTile(), and setMetadata().
|
private |
Definition at line 135 of file FitsImageSource.h.
Referenced by FitsImageSource(), and getHeight().
|
private |
Definition at line 137 of file FitsImageSource.h.
Referenced by FitsImageSource(), getDataType(), getImageTile(), getImageType(), and getType().
|
private |
Definition at line 134 of file FitsImageSource.h.
Referenced by FitsImageSource(), and getWidth().