SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <CheckImages.h>
Static Public Member Functions | |
static CheckImages & | getInstance () |
Public Attributes | |
std::mutex | m_access_mutex |
Private Member Functions | |
CheckImages () | |
Static Private Attributes | |
static std::unique_ptr < CheckImages > | m_instance |
Definition at line 44 of file CheckImages.h.
|
virtualdefault |
|
private |
Definition at line 35 of file CheckImages.cpp.
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
manager | The manager to get the Configurations from |
Implements SourceXtractor::Configurable.
Definition at line 62 of file CheckImages.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), m_aperture_filename, m_aperture_image, m_auto_aperture_filename, m_auto_aperture_image, m_coordinate_system, m_detection_image, m_filtered_filename, m_group_filename, m_group_image, m_model_background_filename, m_model_fitting_image_filename, m_model_variance_filename, m_moffat_filename, m_moffat_image, m_partition_filename, m_partition_image, m_psf_filename, m_residual_filename, m_segmentation_filename, m_segmentation_image, m_snr_filename, and m_thresholded_filename.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 68 of file CheckImages.h.
References m_aperture_image.
Referenced by SourceXtractor::ApertureFlagTask::computeProperties(), and SourceXtractor::AperturePhotometryTask::computeProperties().
std::shared_ptr< WriteableImage< unsigned int > > SourceXtractor::CheckImages::getApertureImage | ( | std::shared_ptr< const MeasurementImageFrame > | frame | ) |
Definition at line 144 of file CheckImages.cpp.
References conf::filename, std::lock(), m_access_mutex, m_aperture_filename, m_measurement_aperture_images, and std::make_pair().
|
inline |
Definition at line 64 of file CheckImages.h.
References m_auto_aperture_image.
Referenced by SourceXtractor::AutoPhotometryFlagTask::computeProperties(), and SourceXtractor::AutoPhotometryTask::computeProperties().
std::shared_ptr< WriteableImage< unsigned int > > SourceXtractor::CheckImages::getAutoApertureImage | ( | std::shared_ptr< const MeasurementImageFrame > | frame | ) |
Definition at line 117 of file CheckImages.cpp.
References conf::filename, std::lock(), m_access_mutex, m_auto_aperture_filename, m_measurement_auto_aperture_images, and std::make_pair().
|
inline |
Definition at line 60 of file CheckImages.h.
References m_group_image.
|
inlinestatic |
Definition at line 114 of file CheckImages.h.
References m_instance.
Referenced by SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::PsfTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SEMain::getConfigParameters(), SourceXtractor::GroupIdCheckImage::handleMessage(), SourceXtractor::MoffatCheckImage::handleMessage(), SourceXtractor::SourceIdCheckImage::handleMessage(), SourceXtractor::DetectionIdCheckImage::handleMessage(), SEMain::mainMethod(), and SourceXtractor::FlexibleModelFittingTask::updateCheckImages().
std::shared_ptr< WriteableImage< MeasurementImage::PixelType > > SourceXtractor::CheckImages::getModelFittingImage | ( | std::shared_ptr< const MeasurementImageFrame > | frame | ) |
Definition at line 171 of file CheckImages.cpp.
References conf::filename, std::lock(), m_access_mutex, m_check_image_model_fitting, m_model_fitting_image_filename, m_residual_filename, and std::make_pair().
Referenced by SourceXtractor::FlexibleModelFittingTask::updateCheckImages().
|
inline |
Definition at line 72 of file CheckImages.h.
References m_moffat_image.
|
inline |
Definition at line 56 of file CheckImages.h.
References m_partition_image.
std::shared_ptr< WriteableImage< MeasurementImage::PixelType > > SourceXtractor::CheckImages::getPsfImage | ( | std::shared_ptr< const MeasurementImageFrame > | frame | ) |
Definition at line 205 of file CheckImages.cpp.
References conf::filename, std::lock(), m_access_mutex, m_check_image_psf, m_psf_filename, and std::make_pair().
Referenced by SourceXtractor::PsfTask::computeProperties().
|
inline |
Definition at line 52 of file CheckImages.h.
References m_segmentation_image.
Referenced by SEMain::mainMethod().
std::shared_ptr< WriteableImage< SeFloat > > SourceXtractor::CheckImages::getWriteableCheckImage | ( | std::string | id, |
int | width, | ||
int | height | ||
) |
Definition at line 42 of file CheckImages.cpp.
References std::dynamic_pointer_cast(), ModelFitting::height, m_custom_images, std::make_tuple(), and ModelFitting::width.
|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
manager | The manager to register the dependencies to |
Implements SourceXtractor::Configurable.
Definition at line 38 of file CheckImages.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
Referenced by SEMain::getConfigParameters().
void SourceXtractor::CheckImages::saveImages | ( | ) |
Definition at line 231 of file CheckImages.cpp.
References SourceXtractor::ProcessedImage< T, P >::create(), conf::filename, std::lock(), m_access_mutex, m_background_image, m_check_image_model_fitting, m_coordinate_system, m_custom_images, m_filtered_filename, m_filtered_image, m_model_background_filename, m_model_variance_filename, m_residual_filename, m_snr_filename, m_snr_image, m_thresholded_filename, m_thresholded_image, m_variance_image, and SourceXtractor::FitsWriter::writeFile().
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 88 of file CheckImages.h.
References m_background_image.
Referenced by SEMain::mainMethod().
void SourceXtractor::CheckImages::setCustomCheckImage | ( | std::string | id, |
std::shared_ptr< Image< SeFloat >> | image | ||
) |
Definition at line 58 of file CheckImages.cpp.
References m_custom_images, and std::make_tuple().
|
inline |
Definition at line 96 of file CheckImages.h.
References m_filtered_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 104 of file CheckImages.h.
References m_snr_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 100 of file CheckImages.h.
References m_thresholded_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 92 of file CheckImages.h.
References m_variance_image.
Referenced by SEMain::mainMethod().
std::mutex SourceXtractor::CheckImages::m_access_mutex |
Definition at line 122 of file CheckImages.h.
Referenced by getApertureImage(), getAutoApertureImage(), getModelFittingImage(), getPsfImage(), and saveImages().
|
private |
Definition at line 159 of file CheckImages.h.
Referenced by configure(), and getApertureImage().
|
private |
Definition at line 134 of file CheckImages.h.
Referenced by configure(), and getApertureImage().
|
private |
Definition at line 158 of file CheckImages.h.
Referenced by configure(), and getAutoApertureImage().
|
private |
Definition at line 133 of file CheckImages.h.
Referenced by configure(), and getAutoApertureImage().
|
private |
Definition at line 141 of file CheckImages.h.
Referenced by saveImages(), and setBackgroundCheckImage().
|
private |
Definition at line 138 of file CheckImages.h.
Referenced by getModelFittingImage(), and saveImages().
|
private |
Definition at line 138 of file CheckImages.h.
Referenced by getPsfImage().
|
private |
Definition at line 146 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 163 of file CheckImages.h.
Referenced by getWriteableCheckImage(), saveImages(), and setCustomCheckImage().
|
private |
Definition at line 140 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 155 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 142 of file CheckImages.h.
Referenced by saveImages(), and setFilteredCheckImage().
|
private |
Definition at line 154 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 132 of file CheckImages.h.
Referenced by configure(), and getGroupImage().
|
staticprivate |
Definition at line 127 of file CheckImages.h.
Referenced by getInstance().
|
private |
Definition at line 136 of file CheckImages.h.
Referenced by getApertureImage().
|
private |
Definition at line 137 of file CheckImages.h.
Referenced by getAutoApertureImage().
|
private |
Definition at line 150 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 148 of file CheckImages.h.
Referenced by configure(), and getModelFittingImage().
|
private |
Definition at line 151 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 160 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 135 of file CheckImages.h.
Referenced by configure(), and getMoffatImage().
|
private |
Definition at line 153 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 131 of file CheckImages.h.
Referenced by configure(), and getPartitionImage().
|
private |
Definition at line 161 of file CheckImages.h.
Referenced by configure(), and getPsfImage().
|
private |
Definition at line 149 of file CheckImages.h.
Referenced by configure(), getModelFittingImage(), and saveImages().
|
private |
Definition at line 152 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 130 of file CheckImages.h.
Referenced by configure(), and getSegmentationImage().
|
private |
Definition at line 157 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 144 of file CheckImages.h.
Referenced by saveImages(), and setSnrCheckImage().
|
private |
Definition at line 156 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 143 of file CheckImages.h.
Referenced by saveImages(), and setThresholdedCheckImage().
|
private |
Definition at line 145 of file CheckImages.h.
Referenced by saveImages(), and setVarianceCheckImage().