|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <CheckImages.h>
Classes | |
| struct | FrameInfo |
Static Public Member Functions | |
| static CheckImages & | getInstance () |
Private Member Functions | |
| CheckImages () | |
Static Private Attributes | |
| static std::unique_ptr< CheckImages > | m_instance |
Definition at line 46 of file CheckImages.h.
|
virtualdefault |
|
private |
Definition at line 37 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 67 of file CheckImages.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), SourceXtractor::LayerSubtractedImage, 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_measurement_frames, 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, m_thresholded_filename, and std::stringstream::str().
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 86 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_aperture_image.
Referenced by SourceXtractor::ApertureFlagTask::computeProperties(), and SourceXtractor::AperturePhotometryTask::computeProperties().
| std::shared_ptr< WriteableImage< unsigned int > > SourceXtractor::CheckImages::getApertureImage | ( | unsigned int | frame_number | ) |
Definition at line 164 of file CheckImages.cpp.
References SourceXtractor::LockedWriteableImage< T >::create(), std::map< K, T >::emplace(), std::map< K, T >::end(), conf::filename, std::map< K, T >::find(), std::lock(), m_access_mutex, m_aperture_filename, m_measurement_aperture_images, m_measurement_frames, and std::make_pair().
|
inline |
Definition at line 78 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_auto_aperture_image.
Referenced by SourceXtractor::AutoPhotometryFlagTask::computeProperties(), and SourceXtractor::AutoPhotometryTask::computeProperties().
| std::shared_ptr< WriteableImage< unsigned int > > SourceXtractor::CheckImages::getAutoApertureImage | ( | unsigned int | frame_number | ) |
Definition at line 137 of file CheckImages.cpp.
References SourceXtractor::LockedWriteableImage< T >::create(), std::map< K, T >::emplace(), std::map< K, T >::end(), conf::filename, std::map< K, T >::find(), std::lock(), m_access_mutex, m_auto_aperture_filename, m_measurement_auto_aperture_images, m_measurement_frames, and std::make_pair().
|
inline |
Definition at line 70 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_group_image.
Referenced by SourceXtractor::GroupIdCheckImage::handleMessage().
|
inlinestatic |
Definition at line 136 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 | ( | unsigned int | frame_number | ) |
Definition at line 192 of file CheckImages.cpp.
References SourceXtractor::LockedWriteableImage< T >::create(), conf::filename, std::lock(), m_access_mutex, m_check_image_model_fitting, m_measurement_frames, m_model_fitting_image_filename, m_residual_filename, and std::make_pair().
Referenced by SourceXtractor::FlexibleModelFittingTask::updateCheckImages().
|
inline |
Definition at line 94 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_moffat_image.
Referenced by SourceXtractor::MoffatCheckImage::handleMessage().
|
inline |
Definition at line 62 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_partition_image.
Referenced by SourceXtractor::SourceIdCheckImage::handleMessage().
| std::shared_ptr< WriteableImage< MeasurementImage::PixelType > > SourceXtractor::CheckImages::getPsfImage | ( | unsigned int | frame_number | ) |
Definition at line 226 of file CheckImages.cpp.
References SourceXtractor::LockedWriteableImage< T >::create(), conf::filename, std::lock(), m_access_mutex, m_check_image_psf, m_measurement_frames, m_psf_filename, and std::make_pair().
Referenced by SourceXtractor::PsfTask::computeProperties().
|
inline |
Definition at line 54 of file CheckImages.h.
References SourceXtractor::LockedWriteableImage< T >::create(), and m_segmentation_image.
Referenced by SourceXtractor::DetectionIdCheckImage::handleMessage(), and SEMain::mainMethod().
| std::shared_ptr< WriteableImage< SeFloat > > SourceXtractor::CheckImages::getWriteableCheckImage | ( | std::string | id, |
| int | width, | ||
| int | height | ||
| ) |
Definition at line 47 of file CheckImages.cpp.
References std::dynamic_pointer_cast(), m_custom_images, and std::make_tuple().
|
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 40 of file CheckImages.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
Referenced by SEMain::getConfigParameters().
| void SourceXtractor::CheckImages::saveImages | ( | ) |
Definition at line 253 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_measurement_frames, m_model_background_filename, m_model_variance_filename, m_residual_filename, m_snr_filename, m_snr_image, m_thresholded_filename, m_thresholded_image, and m_variance_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 110 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 63 of file CheckImages.cpp.
References m_custom_images, and std::make_tuple().
|
inline |
Definition at line 118 of file CheckImages.h.
References m_filtered_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 126 of file CheckImages.h.
References m_snr_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 122 of file CheckImages.h.
References m_thresholded_image.
Referenced by SEMain::mainMethod().
|
inline |
Definition at line 114 of file CheckImages.h.
References m_variance_image.
Referenced by SEMain::mainMethod().
|
private |
Definition at line 194 of file CheckImages.h.
Referenced by getApertureImage(), getAutoApertureImage(), getModelFittingImage(), getPsfImage(), and saveImages().
|
private |
Definition at line 186 of file CheckImages.h.
Referenced by configure(), and getApertureImage().
|
private |
Definition at line 161 of file CheckImages.h.
Referenced by configure(), and getApertureImage().
|
private |
Definition at line 185 of file CheckImages.h.
Referenced by configure(), and getAutoApertureImage().
|
private |
Definition at line 160 of file CheckImages.h.
Referenced by configure(), and getAutoApertureImage().
|
private |
Definition at line 168 of file CheckImages.h.
Referenced by saveImages(), and setBackgroundCheckImage().
|
private |
Definition at line 165 of file CheckImages.h.
Referenced by getModelFittingImage(), and saveImages().
|
private |
Definition at line 165 of file CheckImages.h.
Referenced by getPsfImage().
|
private |
Definition at line 173 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 190 of file CheckImages.h.
Referenced by getWriteableCheckImage(), saveImages(), and setCustomCheckImage().
|
private |
Definition at line 167 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 182 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 169 of file CheckImages.h.
Referenced by saveImages(), and setFilteredCheckImage().
|
private |
Definition at line 181 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 159 of file CheckImages.h.
Referenced by configure(), and getGroupImage().
|
staticprivate |
Definition at line 147 of file CheckImages.h.
Referenced by getInstance().
|
private |
Definition at line 163 of file CheckImages.h.
Referenced by getApertureImage().
|
private |
Definition at line 164 of file CheckImages.h.
Referenced by getAutoApertureImage().
Definition at line 192 of file CheckImages.h.
Referenced by configure(), getApertureImage(), getAutoApertureImage(), getModelFittingImage(), getPsfImage(), and saveImages().
|
private |
Definition at line 177 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 175 of file CheckImages.h.
Referenced by configure(), and getModelFittingImage().
|
private |
Definition at line 178 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 187 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 162 of file CheckImages.h.
Referenced by configure(), and getMoffatImage().
|
private |
Definition at line 180 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 158 of file CheckImages.h.
Referenced by configure(), and getPartitionImage().
|
private |
Definition at line 188 of file CheckImages.h.
Referenced by configure(), and getPsfImage().
|
private |
Definition at line 176 of file CheckImages.h.
Referenced by configure(), getModelFittingImage(), and saveImages().
|
private |
Definition at line 179 of file CheckImages.h.
Referenced by configure().
|
private |
Definition at line 157 of file CheckImages.h.
Referenced by configure(), and getSegmentationImage().
|
private |
Definition at line 184 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 171 of file CheckImages.h.
Referenced by saveImages(), and setSnrCheckImage().
|
private |
Definition at line 183 of file CheckImages.h.
Referenced by configure(), and saveImages().
|
private |
Definition at line 170 of file CheckImages.h.
Referenced by saveImages(), and setThresholdedCheckImage().
|
private |
Definition at line 172 of file CheckImages.h.
Referenced by saveImages(), and setVarianceCheckImage().
1.8.14