readAVI: A readAVI Function

Description Usage Arguments Details Examples

View source: R/readAVI.R

Description

This function allows you to load a grayscale AVI file.

Usage

1
2
readAVI(filepath, start = 1, end = 0, skip = 0, getFrames = F,
  crop = c(0, 0, 0, 0), silent = F)

Arguments

filepath

A caracter string of the path to the file. Required.

start

An integer of the start frame. Default = 1.

end

An integer of the end frame. Default = 0 (last frame of the file).

skip

An integer of skip frame. Default = 0 (read every frame).

getFrames

Return number of frames. Default = False.

crop

An integer vector depicting the xy coordinate of the top-left corner and the bottom-right corner you want to crop.

silent

Whether or not show message. Default = False.

Details

Can handle AVI2 format as well as legacy format.

Examples

1

tkatsuki/dipr documentation built on April 19, 2021, 7:18 p.m.