Learn R Programming

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

output: html_document

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,

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

Copy Link

Version

Install

install.packages('OpenImageR')

Monthly Downloads

2,011

Version

1.0

License

GPL-3

Maintainer

Lampros Mouselimis

Last Published

July 7th, 2016

Functions in OpenImageR (1.0)

down_sample_image

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

convolution
average_hash

calculation of the 'average hash' of an image
flipImage

flip image horizontally or vertically
cropImage

crop an image
delationErosion

Delation or Erosion of an image
Augmentation

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

calculation of the 'dhash' of an image
crop_image_secondary

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

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

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

image thresholding
invariant_hash

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

display an image
func_transform

secondary function for HOG_apply
func_chech_range

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

Gamma correction
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
HOG_apply

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

gaussian-kernel
laplacian_kernels

laplacian kernels
readImage

this function reads various types of images
phash

calculation of the 'phash' of an image
resizeImage

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

normalize in specific range of values
rotateFixed

Rotate an image by 90, 180, 270 degrees
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)
List_2_Array

convert a list of matrices to an array of matrices
rgb_2gray

convert an RGB image to Gray
rotateImage

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

image translation
switch_invariant

secondary function for invariant_hash
sec_resiz_array

secondary function for 'resizeImage' [ array ]
writeImage

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

uniform filter (convolution with uniform kernel)
switch_filter

secondary function for edge_detection function
sec_gaus_bl

secondary function for downsampling
runUI

launcher for the shiny application
switch_hashing

if-else function for hashing
ZCAwhiten

zca whiten of an image