EstimateMem: Estimate memory usage of images.

Description Usage Arguments Value

Description

Estimate memory usage of images.

Usage

1
EstimateMem(n, h, w, nch, unit = "k")

Arguments

n

number of images to load.

h

height of image.

w

width of image.

nch

number of channels.

unit

what unit to use, "k" for KB, "m" for MB and "g" for GB, otherwise bytes.

Value

a numeric.


imlijunda/AwkwardMLTools documentation built on May 13, 2019, 11:33 a.m.