createLibraryIndexDataFrame: A function to create the tile library data frame

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

View source: R/createLibraryIndexDataFrame.R

Description

A function to create the tile library data frame containing the data of the tiles in the parameter space, as well as the filename of the tiles.

Usage

1
2
createLibraryIndexDataFrame(path, saveLibraryIndex = FALSE, 
	 libraryFilename, useGradients = FALSE)

Arguments

path

A path indicating where the images that will compose the library are stored.

saveLibraryIndex

A flag to indicate if the library should be saved in a file.

libraryFilename

The filename to use if the user wants to store the library to a file.

useGradients

A flag indicating if the values of the data in the parameter space in the corners of the tile images should be calculated.

Details

The tile image data in the parameter space is calculated by computeStatisticalQuantitiesTile.

Value

It returns a data frame containing the filename of each tile found at the path and the median RGB values of each tile. Optionally it also includes the median RGB values of the corners of the image.

Author(s)

Alberto Krone-Martins

See Also

computeStatisticalQuantitiesTile

Examples

1
2
3
# Creates the tile library data frame from the example tiles
my2MassTiles <- createLibraryIndexDataFrame(system.file("extdata/2Massier/", 
	package="RsimMosaic"))

Example output



RsimMosaic documentation built on May 2, 2019, 7:29 a.m.