LSST Applications g0603fd7c41+f1f8eaba91,g124d44cf3d+ce19972735,g180d380827+c1373eaf06,g1afd7665f7+eb25d4c773,g2079a07aa2+86d27d4dc4,g2305ad1205+aa3c8c93b6,g2bbee38e9b+44a02a0554,g337abbeb29+44a02a0554,g33d1c0ed96+44a02a0554,g3a166c0a6a+44a02a0554,g3d1719c13e+a4710a6d26,g487adcacf7+e387efc8c5,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+7f57e6be76,g858d7b2824+a4710a6d26,g991b906543+a4710a6d26,g99cad8db69+832a1c95fd,g9b9dfce982+e7b986f76c,g9ddcbc5298+9a081db1e4,ga1e77700b3+03d07e1c1f,gb0e22166c9+60f28cb32d,gb23b769143+a4710a6d26,gb3a676b8dc+e2510deafe,gba4ed39666+c2a2e4ac27,gbb8dafda3b+201573ceae,gbd998247f1+585e252eca,gc120e1dc64+7fb97cd961,gc28159a63d+44a02a0554,gc3e9b769f7+20d5ea8805,gcf0d15dbbd+e7b986f76c,gdaeeff99f8+f9a426f77a,ge79ae78c31+44a02a0554,ged0e8a7f67+8df1cf93fe,gee10cc3b42+585e252eca,w.2024.18
LSST Data Management Base Package
Loading...
Searching...
No Matches
transformFactory.h
Go to the documentation of this file.
1// -*- lsst-c++ -*-
2
3#ifndef LSST_AFW_GEOM_TRANSFORMFACTORY_H
4#define LSST_AFW_GEOM_TRANSFORMFACTORY_H
5
6/*
7 * LSST Data Management System
8 * Copyright 2008-2017 LSST Corporation.
9 *
10 * This product includes software developed by the
11 * LSST Project (http://www.lsst.org/).
12 *
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the LSST License Statement and
24 * the GNU General Public License along with this program. If not,
25 * see <http://www.lsstcorp.org/LegalNotices/>.
26 */
27
28/*
29 * Functions for producing Transforms with commonly desired properties.
30 */
31
34
35namespace lsst {
36namespace afw {
37namespace geom {
38
54lsst::geom::AffineTransform linearizeTransform(TransformPoint2ToPoint2 const &original,
55 lsst::geom::Point2D const &inPoint);
56
67
86
109 std::vector<double> const &inverseCoeffs);
110
120
121} // namespace geom
122} // namespace afw
123} // namespace lsst
124
125#endif // LSST_AFW_GEOM_TRANSFORMFACTORY_H
An affine coordinate transformation consisting of a linear transformation and an offset.
std::shared_ptr< TransformPoint2ToPoint2 > makeTransform(lsst::geom::AffineTransform const &affine)
Wrap an lsst::geom::AffineTransform as a Transform.
std::shared_ptr< TransformPoint2ToPoint2 > makeRadialTransform(std::vector< double > const &coeffs)
A purely radial polynomial distortion.
std::shared_ptr< TransformPoint2ToPoint2 > makeIdentityTransform()
Trivial Transform x → x.
lsst::geom::AffineTransform linearizeTransform(TransformPoint2ToPoint2 const &original, lsst::geom::Point2D const &inPoint)
Approximate a Transform by its local linearization.