https://doi.org/10.5201/ipol.2018.221
Raw File
Tip revision: 82696084c1502f74e3899efc347b8f5e3da60a9f authored by Software Heritage on 27 June 2018, 00:00:00 UTC
ipol: Deposit 1327 in collection ipol
Tip revision: 8269608
homography_tools.h
/**
 * SPDX-License-Identifier: GPL-2.0+
 * @file homography_tools.h
 * @brief Routines for computing homography related stuff
 * @author Thibaud Briand <thibaud.briand@enpc.fr>
 *         Pascal Monasse <monasse@imagine.enpc.fr>
 *
 * Copyright (c) 2017-2018, Thibaud Briand, Pascal Monasse
 * All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * You should have received a copy of the GNU General Pulic License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef HOMOGRAPHYTOOLS_H
#define HOMOGRAPHYTOOLS_H

void invert_homography(double iH[9], const double H[9]);
void apply_homography(double y[2], const double x[2], const double H[9]);
void homography_from_4corresp(const double *a, const double *b,
                              const double *c, const double *d,
                              const double *x, const double *y,
                              const double *z, const double *w,
                              double R[3][3]);

#endif
back to top