Package: OpenImageR 1.3.0

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, the average_hash(), dhash() and phash() functions are based on the 'ImageHash' python library. The Gabor Feature Extraction functions are based on 'Matlab' code of the paper, "CloudID: Trustworthy cloud-based and cross-enterprise biometric identification" by M. Haghighat, S. Zonouz, M. Abdel-Mottaleb, Expert Systems with Applications, vol. 42, no. 21, pp. 7905-7916, 2015, <doi:10.1016/j.eswa.2015.06.025>. The 'SLIC' and 'SLICO' superpixel algorithms were explained in detail in (i) "SLIC Superpixels Compared to State-of-the-art Superpixel Methods", Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi, Pascal Fua, and Sabine Suesstrunk, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 34, num. 11, p. 2274-2282, May 2012, <doi:10.1109/TPAMI.2012.120> and (ii) "SLIC Superpixels", Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi, Pascal Fua, and Sabine Suesstrunk, EPFL Technical Report no. 149300, June 2010.

Authors:Lampros Mouselimis [aut, cre], Sight Machine [cph], Johannes Buchner [cph], Mohammad Haghighat [cph], Radhakrishna Achanta [cph], Oleh Onyshchak [cph]

OpenImageR_1.3.0.tar.gz
OpenImageR_1.3.0.zip(r-4.5)OpenImageR_1.3.0.zip(r-4.4)OpenImageR_1.3.0.zip(r-4.3)
OpenImageR_1.3.0.tgz(r-4.4-x86_64)OpenImageR_1.3.0.tgz(r-4.4-arm64)OpenImageR_1.3.0.tgz(r-4.3-x86_64)OpenImageR_1.3.0.tgz(r-4.3-arm64)
OpenImageR_1.3.0.tar.gz(r-4.5-noble)OpenImageR_1.3.0.tar.gz(r-4.4-noble)
OpenImageR_1.3.0.tgz(r-4.4-emscripten)OpenImageR_1.3.0.tgz(r-4.3-emscripten)
OpenImageR.pdf |OpenImageR.html
OpenImageR/json (API)
NEWS

# Install 'OpenImageR' in R:
install.packages('OpenImageR', repos = c('https://mlampros.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mlampros/openimager/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

filteringgabor-feature-extractiongabor-filtershog-featuresimageimage-hashingprocessingrcpparmadillorecognitionslicslicosuperpixels

9.82 score 58 stars 8 packages 354 scripts 2.2k downloads 3 mentions 42 exports 34 dependencies

Last updated 1 years agofrom:59b3c72be7. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64OKNov 06 2024
R-4.5-linux-x86_64OKNov 06 2024
R-4.4-win-x86_64OKNov 06 2024
R-4.4-mac-x86_64OKNov 06 2024
R-4.4-mac-aarch64OKNov 06 2024
R-4.3-win-x86_64OKNov 06 2024
R-4.3-mac-x86_64OKNov 06 2024
R-4.3-mac-aarch64OKNov 06 2024

Exports:Augmentationaverage_hashconvolutioncropImagedelationErosiondhashdilationErosiondown_sample_imageedge_detectionflipImageGaborFeatureExtractgamma_correctiongetAffineTransformhash_applyHOGHOG_applyimage_thresholdingimageShowinvariant_hashList_2_Arrayload_binaryMinMaxObjectnorm_matrix_rangeNormalizeObjectpaddingphashreadImageresizeImagergb_2grayRGB_to_HSVRGB_to_LabrotateFixedrotateImagesuperpixel_bboxsuperpixel_bbox_subsetsuperpixelstranslationuniform_filterverify_image_extensionwarpAffinewriteImageZCAwhiten

Dependencies:base64encbslibcachemclicommonmarkcrayondigestfastmapfontawesomefsgluehtmltoolshttpuvjpegjquerylibjsonlitelaterlifecyclemagrittrmemoisemimepngpromisesR6rappdirsRcppRcppArmadillorlangsassshinysourcetoolstiffwithrxtable

Functionality of the OpenImageR package

Rendered fromThe_OpenImageR_package.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2022-11-17
Started: 2016-07-08

Gabor Feature extraction

Rendered fromGabor_Feature_Extraction.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2022-06-12
Started: 2018-08-08

Image segmentation based on Superpixels and Clustering

Rendered fromImage_segmentation_superpixels_clustering.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2021-05-04
Started: 2018-11-08

Warp Affine using R

Rendered fromWarp_Affine.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2022-08-08
Started: 2022-08-08

Readme and manuals

Help Manual

Help pageTopics
image augmentations of a matrix, data frame, array or a list of 3-dimensional arrays (where the third dimension is equal to 3)Augmentation
calculation of the 'average hash' of an imageaverage_hash
convolutionconvolution
crop an imagecropImage
calculation of the 'dhash' of an imagedhash
Dilation or Erosion of an imagedilationErosion
downsampling an image ( by a factor ) using gaussian blurdown_sample_image
edge detection (Frei_chen, LoG, Prewitt, Roberts_cross, Scharr, Sobel)edge_detection
flip image horizontally or verticallyflipImage
Gabor Feature ExtractionGaborFeatureExtract
Gamma correctiongamma_correction
Get Affine TransformgetAffineTransform
calculate the binary or the hexadecimal hash for a matrix, array or a folder of images for the average_hash, phash or dhash functionshash_apply
calculate the HOG (Histogram of oriented gradients) for an imageHOG
calculate the HOG (Histogram of oriented gradients) for a matrix, array or a folder of imagesHOG_apply
image thresholdingimage_thresholding
display an imageimageShow
invariant hashing (caclulation of the hamming or the levenshtein distance when the image is flipped, rotated or cropped)invariant_hash
convert a list of matrices to an array of matricesList_2_Array
loads either 2- or 3-dimensional data (where the third dimension is equal to 3) from a binary fileload_binary
minimum and maximum values of vector, matrix, data frame or arrayMinMaxObject
Normalize a matrix to specific range of valuesnorm_matrix_range
normalize a vector, matrix or array (in the range between 0 and 1)NormalizeObject
Padding of matrices or n-dimensional arrays with a user specified valuepadding
calculation of the 'phash' of an imagephash
this function reads various types of imagesreadImage
resize an image using the 'nearest neighbors' or the 'bilinear' methodresizeImage
convert an RGB image to Grayrgb_2gray
Conversion of RGB to HSV colour typeRGB_to_HSV
Conversion of RGB to Lab colour typeRGB_to_Lab
Rotate an image by 90, 180, 270 degreesrotateFixed
Rotate an image using the 'nearest' or 'bilinear' methodrotateImage
Bounding box for the superpixel labelssuperpixel_bbox
Bounding box for a subset of superpixel labelssuperpixel_bbox_subset
SLIC and SLICO superpixel implementationssuperpixels
image translationtranslation
uniform filter (convolution with uniform kernel)uniform_filter
Verify that the input image extension is validverify_image_extension
Warp AffinewarpAffine
This function writes 2- or 3-dimensional image (where the third dimension is equal to 3) data to a filewriteImage
zca whiten of an imageZCAwhiten