OpenImageR: An Image Processing Toolkit

Incorporates functions for image preprocessing, filtering and image recognition. The package takes advantage of 'RcppArmadillo' to speed up computationally intensive functions. The histogram of oriented gradients descriptor is a modification of the 'findHOGFeatures' function of the 'SimpleCV' computer vision platform and the average_hash(), dhash() and phash() functions are based on the 'ImageHash' python library.

Install the latest version of this package by entering the following in R:
install.packages("OpenImageR")
AuthorLampros Mouselimis [aut, cre], 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)
Date of publication2017-04-17 17:50:05 UTC
MaintainerLampros Mouselimis <mouselimislampros@gmail.com>
LicenseGPL-3
Version1.0.5
https://github.com/mlampros/OpenImageR

View on CRAN

Man pages

Augmentation: image augmentations of a matrix, data frame, array or a list...

average_hash: calculation of the 'average hash' of an image

convolution: convolution

cropImage: crop an image

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

delationErosion: Delation or Erosion of an image

dhash: calculation of the 'dhash' of an image

down_sample_image: downsampling an image ( by a factor ) using gaussian blur

edge_detection: edge detection (Frei_chen, LoG, Prewitt, Roberts_cross,...

flipImage: flip image horizontally or vertically

func_chech_range: function to check the range of values of an image or...

func_transform: secondary function for HOG_apply

gamma_correction: Gamma correction

gaussian_kernel: gaussian-kernel

hash_apply: calculate the binary or the hexadecimal hash for a matrix,...

HOG: calculate the HOG (Histogram of oriented gradients) for an...

HOG_apply: calculate the HOG (Histogram of oriented gradients) for a...

imageShow: display an image

image_thresholding: image thresholding

invariant_hash: invariant hashing (caclulation of the hamming or the...

laplacian_kernels: laplacian kernels

List_2_Array: convert a list of matrices to an array of matrices

MinMaxObject: minimum and maximum values of vector, matrix, data frame or...

NormalizeObject: normalize a vector, matrix or array (in the range between 0...

norm_range_gauss: normalize in specific range of values

phash: calculation of the 'phash' of an image

readImage: this function reads various types of images

resizeImage: resize an image using the 'nearest neighbors' or the...

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

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

switch_hashing: if-else function for hashing

switch_invariant: secondary function for invariant_hash

translation: image translation

uniform_filter: uniform filter (convolution with uniform kernel)

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

ZCAwhiten: zca whiten of an image

Functions

Augmentation Man page
average_hash Man page
convolution Man page
cropImage Man page
crop_image_secondary Man page
delationErosion Man page
dhash Man page
down_sample_image Man page
edge_detection Man page
flipImage Man page
func_chech_range Man page
func_transform Man page
gamma_correction Man page
gaussian_kernel Man page
hash_apply Man page
HOG Man page
HOG_apply Man page
imageShow Man page
image_thresholding Man page
invariant_hash Man page
laplacian_kernels Man page
List_2_Array Man page
MinMaxObject Man page
NormalizeObject Man page
norm_range_gauss Man page
phash Man page
readImage Man page
resizeImage Man page
rgb_2gray Man page
rotateFixed Man page
rotateImage Man page
runUI Man page
sec_gaus_bl Man page
sec_resiz_array Man page
switch_filter Man page
switch_hashing Man page
switch_invariant Man page
translation Man page
uniform_filter Man page
writeImage Man page
ZCAwhiten Man page

Files

inst
inst/tmp_images
inst/tmp_images/3.jpeg
inst/tmp_images/2.jpg
inst/tmp_images/same_type
inst/tmp_images/same_type/8.png
inst/tmp_images/same_type/5.png
inst/tmp_images/same_type/10.png
inst/tmp_images/same_type/1.png
inst/tmp_images/same_type/4.png
inst/tmp_images/1.png
inst/COPYRIGHTS
inst/shiny_app
inst/shiny_app/ui.R inst/shiny_app/server.R
inst/doc
inst/doc/The_OpenImageR_package.html
inst/doc/The_OpenImageR_package.Rmd
inst/doc/The_OpenImageR_package.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-augmentation.R tests/testthat/test-gaussian_kernel.R tests/testthat/test-down_sample_blur.R tests/testthat/test-rotate.R tests/testthat/test-gamma_threshold.R tests/testthat/test-crop_image.R tests/testthat/test-resize_nearest.R tests/testthat/test-read_image.R tests/testthat/test-rgb_to_gray.R tests/testthat/test-flip_zca_image.R
tests/testthat/image_files
tests/testthat/image_files/3.jpeg
tests/testthat/image_files/HOG_apply_folder
tests/testthat/image_files/HOG_apply_folder/8.png
tests/testthat/image_files/HOG_apply_folder/5.png
tests/testthat/image_files/HOG_apply_folder/10.png
tests/testthat/image_files/HOG_apply_folder/1.png
tests/testthat/image_files/HOG_apply_folder/4.png
tests/testthat/image_files/invalid_image
tests/testthat/image_files/invalid_image/invalid_image.inv
tests/testthat/image_files/4.tiff
tests/testthat/image_files/2.jpg
tests/testthat/image_files/1.png
tests/testthat/test-normalized_gauss.R tests/testthat/test-shiny_apps.R tests/testthat/test-delation_erosion.R tests/testthat/test-normalize_min_max.R tests/testthat/test-hog_features.R tests/testthat/test-list_to_array_translation.R tests/testthat/test-laplacian_kernels.R tests/testthat/test-uniform_filter_convolution.R tests/testthat/test-hash_functionsR.R tests/testthat/test-edge_detection.R tests/testthat/test-write_image.R
src
src/Makevars
src/dilation_erosion_rgb2gray.cpp
src/image_hashing.cpp
src/utils.h
src/utils.cpp
src/Makevars.win
src/init.c
src/RcppExports.cpp
src/hog_features.cpp
NAMESPACE
NEWS.md
R
R/hash_functions.R R/read_image.R R/open_image_rscript.R R/shiny_rscript.R R/launcher_shiny.R R/write_image.R R/RcppExports.R R/hog_features_rscript.R
vignettes
vignettes/The_OpenImageR_package.Rmd
vignettes/TEST_hash
vignettes/TEST_hash/4_3.png
vignettes/TEST_hash/8_2.png
vignettes/TEST_hash/4_1.png
vignettes/TEST_hash/5_2.png
vignettes/TEST_hash/2_1.png
vignettes/TEST_hash/9_1.png
vignettes/TEST_hash/2_3.png
vignettes/TEST_hash/4_2.png
vignettes/TEST_hash/8_1.png
vignettes/TEST_hash/2_2.png
vignettes/TEST_hash/9_3.png
vignettes/TEST_hash/5_3.png
vignettes/TEST_hash/9_2.png
vignettes/TEST_hash/5_1.png
vignettes/TEST_hash/8_3.png
vignettes/view1.jpg
vignettes/image2.jpg
vignettes/view3.jpg
vignettes/view2.jpg
vignettes/image1.jpeg
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/func_transform.Rd man/average_hash.Rd man/MinMaxObject.Rd man/Augmentation.Rd man/hash_apply.Rd man/gaussian_kernel.Rd man/crop_image_secondary.Rd man/switch_hashing.Rd man/sec_gaus_bl.Rd man/HOG.Rd man/List_2_Array.Rd man/switch_filter.Rd man/rgb_2gray.Rd man/image_thresholding.Rd man/gamma_correction.Rd man/writeImage.Rd man/down_sample_image.Rd man/ZCAwhiten.Rd man/resizeImage.Rd man/cropImage.Rd man/readImage.Rd man/NormalizeObject.Rd man/switch_invariant.Rd man/rotateFixed.Rd man/imageShow.Rd man/rotateImage.Rd man/edge_detection.Rd man/sec_resiz_array.Rd man/convolution.Rd man/laplacian_kernels.Rd man/phash.Rd man/translation.Rd man/delationErosion.Rd man/HOG_apply.Rd man/runUI.Rd man/func_chech_range.Rd man/norm_range_gauss.Rd man/dhash.Rd man/invariant_hash.Rd man/flipImage.Rd man/uniform_filter.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.