ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
insta360_x4.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <filesystem>
8
9#include <opencv2/core.hpp>
10
11namespace reusex::io {
12
32cv::Mat stitch_insta360_x4(const cv::Mat &dual_fisheye);
33
38bool is_insta360_dual_fisheye(const std::filesystem::path &path);
39
40} // namespace reusex::io
cv::Mat stitch_insta360_x4(const cv::Mat &dual_fisheye)
Stitch a dual-fisheye Insta360 X4 frame into an equirectangular BGR image.
bool is_insta360_dual_fisheye(const std::filesystem::path &path)
Returns true iff the file extension is ".insp" (case-insensitive).