Learn R Programming

⚠️There's a newer version (1.3.0) of this package.Take me there.

OpenImageR

The OpenImageR package is an image processing library. It includes functions for image preprocessing, filtering and image recognition. More details on the functionality of OpenImageR can be found in the package Vignette.

To install the package from CRAN use,


install.packages("OpenImageR")

and to download the latest version from Github use the install_github function of the devtools package,


devtools::install_github('mlampros/OpenImageR')

Use the following link to report bugs/issues,

https://github.com/mlampros/OpenImageR/issues

Copy Link

Version

Install

install.packages('OpenImageR')

Monthly Downloads

2,328

Version

1.0.8

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

January 16th, 2018

Functions in OpenImageR (1.0.8)

HOG_apply

calculate the HOG (Histogram of oriented gradients) for a matrix, array or a folder of images
List_2_Array

convert a list of matrices to an array of matrices
Augmentation

image augmentations of a matrix, data frame, array or a list of 3-dimensional arrays
HOG

calculate the HOG (Histogram of oriented gradients) for an image
gamma_correction

Gamma correction
gaussian_kernel

gaussian-kernel
laplacian_kernels

laplacian kernels
norm_range_gauss

normalize in specific range of values
crop_image_secondary

crop an image in R [ for RGB or grey images ]
delationErosion

Delation or Erosion of an image
phash

calculation of the 'phash' of an image
readImage

this function reads various types of images
translation

image translation
uniform_filter

uniform filter (convolution with uniform kernel)
ZCAwhiten

zca whiten of an image
average_hash

calculation of the 'average hash' of an image
dhash

calculation of the 'dhash' of an image
down_sample_image

downsampling an image ( by a factor ) using gaussian blur
convolution

convolution
cropImage

crop an image
func_chech_range

function to check the range of values of an image or normalize an image
func_transform

secondary function for HOG_apply
resizeImage

resize an image using the 'nearest neighbors' or the 'bilinear' method
rgb_2gray

convert an RGB image to Gray
rotateFixed

Rotate an image by 90, 180, 270 degrees
rotateImage

Rotate an image using the 'nearest' or 'bilinear' method
image_thresholding

image thresholding
invariant_hash

invariant hashing (caclulation of the hamming or the levenshtein distance when the image is flipped, rotated or cropped)
switch_hashing

if-else function for hashing
switch_invariant

secondary function for invariant_hash
hash_apply

calculate the binary or the hexadecimal hash for a matrix, array or a folder of images for the average_hash, phash or dhash functions
imageShow

display an image
runUI

launcher for the shiny application
sec_gaus_bl

secondary function for downsampling
sec_resiz_array

secondary function for 'resizeImage' [ array ]
switch_filter

secondary function for edge_detection function
MinMaxObject

minimum and maximum values of vector, matrix, data frame or array
NormalizeObject

normalize a vector, matrix or array (in the range between 0 and 1)
edge_detection

edge detection (Frei_chen, LoG, Prewitt, Roberts_cross, Scharr, Sobel)
flipImage

flip image horizontally or vertically
writeImage

This function writes 2- or 3-dimensional image data to a file