colmap

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	ID     int
	Model  CameraModel
	Width  uint64
	Height uint64
	Params []float64
}

func LoadCamerasBinary added in v1.0.1

func LoadCamerasBinary(filename string) ([]Camera, error)

func ReadCamerasBinary

func ReadCamerasBinary(in io.Reader) ([]Camera, error)

type CameraModel

type CameraModel int
const (
	SIMPLE_PINHOLE CameraModel = iota
	PINHOLE
	SIMPLE_RADIAL
	RADIAL
	OPENCV
	OPENCV_FISHEYE
	FULL_OPENCV
	FOV
	SIMPLE_RADIAL_FISHEYE
	RADIAL_FISHEYE
	THIN_PRISM_FISHEYE
)

func (CameraModel) NumParameters

func (cm CameraModel) NumParameters() int

type Point3D

type Point3D struct {
	ID       uint64
	Position vector3.Float64
	Color    color.RGBA
	Error    float64
	Tracks   []Point3DTrack // as (IMAGE_ID, POINT2D_IDX)
}

func LoadPoints3DBinary added in v1.0.1

func LoadPoints3DBinary(filename string) ([]Point3D, error)

func ReadPoints3DBinary

func ReadPoints3DBinary(in io.Reader) ([]Point3D, error)

type Point3DTrack

type Point3DTrack struct {
	ImageID   int
	Point2DID int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL