Last data update: 2014.03.03

R: Display a heat map of image moments
plotMomentR Documentation

Display a heat map of image moments

Description

Displays image moments as a heat map. A inverse hyperboic sine transform is used to scale the values. If the moments are complex numbers, the absolute value is plotted.

Usage

plotMoment(obj)

Arguments

obj

A Image, OrthIm, CmplxIm, MultiIm class object

Author(s)

Allison Irvine

See Also

Image, CmplxIm, OrthIm, MultiIm, momentObj

Examples

data(livingroom)
Obj= momentObj(img, type="gpzm", order=20, 0);
plotMoment(Obj);

## Not run: 
	images= list(img,img,img,img);
	Obj= momentObj(images, type="krawt", order=100, 0.5);
	plotMoment(Obj);

## End(Not run)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(IM)
Loading required package: png
Loading required package: jpeg
Loading required package: bmp
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/IM/plotMoment.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plotMoment
> ### Title: Display a heat map of image moments
> ### Aliases: plotMoment plotMoment-methods plotMoment,CmplxIm-method
> ###   plotMoment,OrthIm-method plotMoment,MultiIm-method
> ### Keywords: misc hplot
> 
> ### ** Examples
> 
> data(livingroom)
> Obj= momentObj(img, type="gpzm", order=20, 0);
> plotMoment(Obj);
> 
> ## Not run: 
> ##D 	images= list(img,img,img,img);
> ##D 	Obj= momentObj(images, type="krawt", order=100, 0.5);
> ##D 	plotMoment(Obj);
> ## End(Not run)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>