reconstruct.convol: function to reconstruct an array from a matrix,

Description Usage Arguments Author(s) Examples

View source: R/reconstruct.convol.R

Description

function to reconstruct an array from a matrix,

Usage

1
2
reconstruct.convol(data, margin, transform, dimension, conv_width = 0,
  take_center = F, return.ls = F)

Arguments

data

a matrix

margin

the margin used for deconstruction

transform

was transform used for deconstruction

dimension

dimension of the original array

conv_width

number of pixels to take around, 0 mean take only 1

take_center

in case of convolution, should the principal pixel only be taken for reconstruction or should each array be shifted and the total mean computed

Author(s)

Dimitri Fichou

Examples

1
2
3
data <- f.read.image(source='www/rTLC_demopicture.JPG',height=128)
decon <- data %>% deconstruct.convol(margin =3 ,transform = F, conv_width =2 )
recon <- decon %>% reconstruct.convol(margin =3 ,transform = F,dimension=dim(data), conv_width =2)

DimitriF/DLC documentation built on Oct. 14, 2020, 4:33 p.m.