create_random: Create random image

View source: R/create_random.R

create_randomR Documentation

Create random image

Description

Create array of random image

Usage

create_random(path, overlap, side, h, probs)

Arguments

path

The path of where to save the RDS files

overlap

Logical. Are the channels allowed to overlap, such that they can be at the same pixels

side

Pixels in x,y dimension, a numeric

h

Height of image, i.e. number of layers

probs

Numeric vector with an element for each channel, these elements gives the probability for each pixel of being assigned to each channel.

Value

Creates arrays as RDS files in the specified path, and outputs the paths for these files


Russel88/RCon3D documentation built on Dec. 14, 2022, 11:06 p.m.