Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

load_binary

loads either 2- or 3-dimensional data from a binary file


Description

loads either 2- or 3-dimensional data from a binary file

Usage

load_binary(path, type)

Arguments

path

a character string specifying a file path ( where the binary data is saved )

type

a character string. Either '2d' or '3d' to indicate what kind of data data will be loaded from the specified path

Details

This function can be used to load either 2- or 3-dimensional data from a binary file. It is used in combination with the superpixels function in case that the write_slic parameter is not an empty string ("").

Examples

## Not run: 

library(OpenImageR)

#------------------------------------------
# assuming the saved data are 2-dimensional
#------------------------------------------

path = "/my_dir/data.bin"

res = load_binary(path, type = '2d')


## End(Not run)

OpenImageR

An Image Processing Toolkit

v1.1.8
GPL-3
Authors
Lampros Mouselimis [aut, cre] (<https://orcid.org/0000-0002-8024-1546>), Sight Machine [cph] (findHOGFeatures function of the SimpleCV computer vision platform), Johannes Buchner [cph] (average_hash, dhash and phash functions of the ImageHash python library), Mohammad Haghighat [cph] (Gabor Feature Extraction), Radhakrishna Achanta [cph] (Author of the C++ code of the SLIC and SLICO algorithms (for commercial use please contact the author))
Initial release
2021-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.