Basic Interaction

In this example page I will show how to work with basic function that are meant for working with this registration algorithms.

First how to generate some images that we can register

We can do this with the gen_init for example.

# using the package
using LAP_julia;

# default arguments:
img, imgw, flow = gen_init();

# get a chess board image with a uniform flow:
img_chess, imgw_chess, flow_uniform = gen_init(:chess, :uniform, flow_args=[1 + 1im]);

See also: gen_chess, gen_quad_flow, gen_quad_flow, gen_lena, gen_chess, gen_anhir

Next we would like to display these generated images and flows

For that we will use the imgshow, showflow and imgoverlay functions.

See a single image:

imgshow(img)

See the default random flow:

showflow(flow)

See the uniform flow:

showflow(flow_uniform)

See the differences between 2 images:

imgoverlay(img, imgw)

See also: imgshowflow, warp_imgshowflow, gen_quad_flow, gen_lena, gen_chess, gen_anhir,


This page was generated using Literate.jl.