SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
Classes | |
class | AsinhChiSquareComparator |
Data vs model comparator which computes a modified \(\chi^2\) residual, using asinh. More... | |
class | ChiSquareComparator |
Data vs model comparator which computes the \(\chi^2\) residual. More... | |
class | DataVsModelInputTraits |
Traits class the DataVsModelResiduals class uses for accessing its inputs. More... | |
class | DataVsModelResiduals |
ResidualBlockProvider for weighted comparison between data and a model. More... | |
class | EngineParameterManager |
Class responsible for managing the parameters the least square engine minimizes. More... | |
class | EngineValueResidual |
ResidualBlockProvider implementation for adding a prior to a parameter engine value. More... | |
class | GSLEngine |
LeastSquareEngine implementation which uses the GNU Scientific Library. More... | |
class | LeastSquareEngine |
Interface of classes implementing least square minimization. More... | |
class | LeastSquareEngineManager |
Keep a registry of supported engines, and bridge their factory methods. More... | |
class | LeastSquareSummary |
Class containing the summary information of solving a least square minimization problem. More... | |
class | LevmarEngine |
LeastSquareEngine implementation which uses the levmar library. More... | |
class | LogChiSquareComparator |
Data vs model comparator which computes a modified \(\chi^2\) residual. More... | |
struct | DataVsModelInputTraits< cv::Mat > |
class | ResidualBlockProvider |
Interface of a class which can provide a block of residuals for least square minimization solving. More... | |
class | ResidualEstimator |
Provides to the LeastSquareEngine the residual values. More... | |
class | WorldValueResidual |
ResidualBlockProvider implementation for adding a prior to a parameter world value. More... | |
struct | ImageTraits |
class | NullPsf |
struct | PsfTraits |
class | AutoSharp |
class | CircularlySymmetricModelComponent |
class | CompactExponentialModel |
class | CompactModelBase |
class | CompactSersicModel |
class | ConstantModel |
class | ExtendedModel |
class | FlattenedMoffatComponent |
class | FrameModelPsfContainer |
class | FrameModelPsfContextContainer |
class | FrameModel |
class | ModelComponent |
class | OldSharp |
class | OnlySmooth |
class | PointModel |
class | PositionedModel |
class | RotatedModelComponent |
class | ScaledModelComponent |
class | SersicProfile |
class | SharpRegionManager |
class | TransformedModel |
class | TransformModelComponent |
class | BasicParameter |
The parameter base class. More... | |
class | CoordinateConverter |
The coordinate converter interface. More... | |
class | DependentParameter |
Implementation of a parameter depending on an arbitrary number of other parameters. More... | |
class | EngineParameter |
EngineParameter are those derived from the minimization process. More... | |
class | ExpSigmoidConverter |
CoordinateConverter implementation using the Exponantiated Sigmoid function. More... | |
class | ManualParameter |
class | NeutralConverter |
CoordinateConverter implementation which performs no conversion. More... | |
class | NormalizedConverter |
CoordinateConverter implementation which performs normalization. More... | |
class | SigmoidConverter |
CoordinateConverter implementation using the sigmoid function. More... | |
class | GslVectorIterator |
class | GslVectorConstIterator |
struct | PsfTraits< SourceXtractor::DownSampledImagePsf > |
struct | ImageTraits< ImageInterfaceTypePtr > |
struct | PsfTraits< SourceXtractor::ImagePsf > |
struct | DataVsModelInputTraits< ImageInterfaceTypePtr > |
struct | ImageTraits< WriteableInterfaceTypePtr > |
class | OnnxCompactModel |
Enumerations | |
enum | interpenum { INTERP_NEARESTNEIGHBOUR , INTERP_BILINEAR , INTERP_LANCZOS2 , INTERP_LANCZOS3 , INTERP_LANCZOS4 } |
Functions | |
template<typename DataType , typename ModelType , typename WeightType , typename Comparator > | |
std::unique_ptr< DataVsModelResiduals< typename std::remove_reference< DataType >::type, typename std::remove_reference< ModelType >::type, typename std::remove_reference< WeightType >::type, typename std::remove_reference< Comparator >::type > > | createDataVsModelResiduals (DataType &&data, ModelType &&model, WeightType &&weight, Comparator &&comparator) |
template<typename ... Parameters> | |
std::shared_ptr< DependentParameter< Parameters... > > | createDependentParameter (typename DependentParameter< Parameters... >::ValueCalculator value_calculator, Parameters... parameters) |
static double | computeResidual (double current, double expected, double weight) |
static std::shared_ptr< LeastSquareEngine > | createGslEngine (unsigned max_iterations) |
static LeastSquareSummary::StatusFlag | getStatusFlag (int ret) |
static std::map< std::string, LeastSquareEngineManager::FactoryMethod > & | getEngineFactories () |
static std::shared_ptr< LeastSquareEngine > | createLevmarEngine (unsigned max_iterations) |
static LeastSquareSummary::StatusFlag | getStatusFlag (const std::array< double, 10 > &info, int res) |
static double | computeResidual (double current, double expected, double weight) |
Variables | |
static LeastSquareEngineManager::StaticEngine | gsl_engine {"gsl", createGslEngine} |
static Elements::Logging | logger = Elements::Logging::getLogger("LevmarEngine") |
static LeastSquareEngineManager::StaticEngine | levmar_engine {"levmar", createLevmarEngine} |
static Elements::Logging | logger = Elements::Logging::getLogger("ModelFitting") |
static Elements::Logging | logger = Elements::Logging::getLogger("ModelFitting") |
static auto | logger = Elements::Logging::getLogger("FlexibleModelFitting") |
Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
using ModelFitting::ImageInterfaceType = typedef SourceXtractor::VectorImage<SourceXtractor::SeFloat> |
Definition at line 50 of file ImageInterfaceTraits.h.
using ModelFitting::ImageInterfaceTypePtr = typedef std::shared_ptr<ImageInterfaceType> |
Definition at line 51 of file ImageInterfaceTraits.h.
Definition at line 73 of file CircularlySymmetricModelComponent.h.
typedef SourceXtractor::WriteableImage< SourceXtractor::SeFloat > ModelFitting::WriteableInterfaceType |
Definition at line 52 of file ImageInterfaceTraits.h.
Definition at line 53 of file ImageInterfaceTraits.h.
Enumerator | |
---|---|
INTERP_NEARESTNEIGHBOUR | |
INTERP_BILINEAR | |
INTERP_LANCZOS2 | |
INTERP_LANCZOS3 | |
INTERP_LANCZOS4 |
Definition at line 47 of file ImageInterfaceTraits.h.
|
static |
Definition at line 29 of file EngineValueResidual.cpp.
Referenced by ModelFitting::EngineValueResidual::EngineValueResidual(), and ModelFitting::WorldValueResidual::WorldValueResidual().
|
static |
Definition at line 31 of file WorldValueResidual.cpp.
std::unique_ptr<DataVsModelResiduals<typename std::remove_reference<DataType>::type, typename std::remove_reference<ModelType>::type, typename std::remove_reference<WeightType>::type, typename std::remove_reference<Comparator>::type> > ModelFitting::createDataVsModelResiduals | ( | DataType && | data, |
ModelType && | model, | ||
WeightType && | weight, | ||
Comparator && | comparator | ||
) |
Factory method for creating DataVsModelResiduals. This method exists to avoid typing the template types required when calling the DataVsModelResiduals constructor (because C++ cannot infer them from the parameters). Note that this method uses perfect forwarding, so its calls, with respect with rvalue - lvalue logic, have the same behavior with direct calls of the constructor.
Don't get scared by the template parameters. They are all inferred from the arguments of the method and are completely transparent when calling the factory.
Referenced by SourceXtractor::FlexibleModelFittingTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), and SourceXtractor::FlexibleModelFittingIterativeTask::fitSourcePrepareModels().
std::shared_ptr<DependentParameter<Parameters...> > ModelFitting::createDependentParameter | ( | typename DependentParameter< Parameters... >::ValueCalculator | value_calculator, |
Parameters... | parameters | ||
) |
Definition at line 131 of file DependentParameter.h.
References std::make_shared().
Referenced by SourceXtractor::FlexibleModelFittingPointModel::addForSource(), SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), and SourceXtractor::FlexibleModelFittingSersicModel::addForSource().
|
static |
Definition at line 34 of file GSLEngine.cpp.
|
static |
Definition at line 81 of file LevmarEngine.cpp.
|
static |
Definition at line 31 of file LeastSquareEngineManager.cpp.
Referenced by ModelFitting::LeastSquareEngineManager::create(), ModelFitting::LeastSquareEngineManager::getImplementations(), and ModelFitting::LeastSquareEngineManager::registerEngine().
|
static |
Definition at line 87 of file LevmarEngine.cpp.
References ModelFitting::LeastSquareSummary::ERROR, ModelFitting::LeastSquareSummary::MAX_ITER, and ModelFitting::LeastSquareSummary::SUCCESS.
|
static |
Definition at line 106 of file GSLEngine.cpp.
References ModelFitting::LeastSquareSummary::ERROR, ModelFitting::LeastSquareSummary::MAX_ITER, and ModelFitting::LeastSquareSummary::SUCCESS.
Referenced by ModelFitting::GSLEngine::solveProblem(), and ModelFitting::LevmarEngine::solveProblem().
|
static |
Definition at line 38 of file GSLEngine.cpp.
|
static |
Definition at line 85 of file LevmarEngine.cpp.
|
static |
Definition at line 79 of file LevmarEngine.cpp.
Referenced by ModelFitting::OnnxCompactModel< ImageType >::getRasterizedImage(), ModelFitting::LevmarEngine::LevmarEngine(), BenchRendering::mainMethod(), ModelFitting::ExpSigmoidConverter::worldToEngine(), and ModelFitting::SigmoidConverter::worldToEngine().
|
static |
Definition at line 34 of file ExpSigmoidConverter.cpp.
|
static |
Definition at line 34 of file SigmoidConverter.cpp.
|
static |
Definition at line 22 of file OnnxCompactModel.h.