transformation.decompose — Coupled Decomposition

The transformation.decompose module supports coupled decomposition of two images that seeks to recursively divide images into sub-images to support correspondence idenficiation with a smaller search space.

New in version 0.1.0.

autocnet.transformation.decompose.coupled_decomposition(sdata, ddata, sorigin=(), dorigin=(), M=4, theta_steps=720, theta=None)[source]

Apply coupled decomposition to two 2d images.

sdatandarray

(n,m) array of values to decompose

ddatandarray

(j,k) array of values to decompose

sorigintuple

in the form (x,y)

dorigintuple

in the form (x,y)

autocnet.transformation.decompose.index_coords(data, origin=None)[source]

Creates x & y coords for the indicies in a numpy array “data”. “origin” defaults to the center of the image. Specify origin=(0,0) to set the origin to the lower left corner of the image.

autocnet.transformation.decompose.reproject_image_into_polar(data, origin=None)[source]

Reprojects a 3D numpy array (“data”) into a polar coordinate system. “origin” is a tuple of (x0, y0) and defaults to the center of the image.