BUUHWE_2D.plot: Graphical representation of the 2D-BUUHWE (or SHAH) of an...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BUUHWT_2D_Graph_v2.r

Description

Graphical representation of the 2D-BUUHWE or SHAH transform of an image. The representation of the process is either through the evolving network representation or through the successively built basis matrices of the Unbalanced Haar wavelet basis associated to the transform.

Usage

1
2
3
4
BUUHWE_2D.plot(out.BUUHWE_2D, Evol = TRUE)
SHAH.plot(out.BUUHWE_2D, Evol = TRUE)
BUUHWE_2D_Stepwise(Data,Plot)
SHAH_Stepwise(Data,Plot)

Arguments

out.BUUHWE_2D

the result of BUUHWE_2D or SHAH applied to an image.

Evol

Logical. Should the evolution of the complete network be represented? Default is TRUE and is more informative but applies only for images of reasonable size (otherwise graphics are not readable). if FALSE, only segments linking the input and output nodes at each step are represented and superimposed.

Data

a matrix encoding an image

Plot

Logical. Should all the basis matrices be represented? Default is TRUE. Otherwise not representation is provided, but the matrices are returned by the function so that they can be represented separetely.

Details

See BAGIDIS-package for an overview about the BAGIDIS methodology and References for details, in particular Timmermans (2012), Chapter 4, and Timmermans and Fryzlewicz (2012).

Value

BUUHWT_2D_Stepwise or SHAH_Stepwise returns a list with

basis

An array of the basis matrices of the 2D-BUUHWT (SHAH)

details

the detail coefficients for ranks NM-1 to 1 (with N*M the dimension of the image) (i.e. in their ordre of construction)

d0

the detail coefficients for ranks 0

im

the initial image

labels.hist

the evolution of the labels associated to the pixels

The function are mainly used for their side-effect Plot=TRUE. Functions BUUHWE_2D.plot or SHAH.plot are only used for their side-effect.

Note

The equivalent function for curves is semimetric.BAGIDIS.

Author(s)

Catherine Timmermans, Institute of Statistics, Biostatistics and Actuarial Sciences, UCLouvain, Belgium.

Contact: catherine.timmermans@uclouvain.be

References

The main references are

Other references include

See Also

BUUHWE_2D, SHAH, semimetric.BAGIDIS.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
im = rbind(c(1,2,3), c(5,3,2), c(1,1,2))
im2 = rbind(c(1,1,5), c(5,5,2), c(1,0,0))

SHAH(im)
SHAH_Stepwise(im)

SHAH.plot(SHAH(im))

SHAH.plot(SHAH(im),Evol=FALSE)

SHAH_Stepwise(im)$details
Signature_2D(SHAH(im))

Bagidis documentation built on May 29, 2017, noon