All Projects → mlampros → Openimager

mlampros / Openimager

Image processing Toolkit in R

Programming Languages

r
7636 projects
processing
702 projects

Projects that are alternatives of or similar to Openimager

Flatlist React
A helpful utility component to handle lists in react like a champ
Stars: ✭ 34 (-24.44%)
Mutual labels:  filtering
Tika Python
Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
Stars: ✭ 997 (+2115.56%)
Mutual labels:  recognition
V Img Fallback
Vue Image Fallback
Stars: ✭ 43 (-4.44%)
Mutual labels:  image
Pywebp
Python bindings for WebP
Stars: ✭ 35 (-22.22%)
Mutual labels:  image
Mdcs Py
MDCS is an acronym for Mosaic Dataset Configuration Script and is the entry point to a collection of Python classes/libraries that could be consumed by a Python client application to complete a given workflow for creating a mosaic dataset, populating it with data, and setting all required/desired parameters.
Stars: ✭ 38 (-15.56%)
Mutual labels:  image
Content Aware Resize
Stars: ✭ 41 (-8.89%)
Mutual labels:  image
Photobrowser
Elegant photo browser in Swift. 图片与视频浏览器。
Stars: ✭ 975 (+2066.67%)
Mutual labels:  image
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (+0%)
Mutual labels:  image
Cv Pretrained Model
A collection of computer vision pre-trained models.
Stars: ✭ 995 (+2111.11%)
Mutual labels:  image
Color.js
Extract colors from an image (0.75 KB) 🎨
Stars: ✭ 42 (-6.67%)
Mutual labels:  image
React Responsive Image
🖼️ A React responsive image component.
Stars: ✭ 36 (-20%)
Mutual labels:  image
Gesture recognition
a gesture recognition verification lock
Stars: ✭ 37 (-17.78%)
Mutual labels:  recognition
Artyom.js
A voice control - voice commands - speech recognition and speech synthesis javascript library. Create your own siri,google now or cortana with Google Chrome within your website.
Stars: ✭ 1,011 (+2146.67%)
Mutual labels:  recognition
Kirby Autofocus
Content aware image cropping for Kirby. Kirby 2 and 3.
Stars: ✭ 35 (-22.22%)
Mutual labels:  image
Applicationinimageprocessing
application in image processing or searching
Stars: ✭ 43 (-4.44%)
Mutual labels:  image
Swiftyimage
🎨 Generate image resources in Swift
Stars: ✭ 975 (+2066.67%)
Mutual labels:  image
Dialectid e2e
End to End Dialect Identification using Convolutional Neural Network
Stars: ✭ 40 (-11.11%)
Mutual labels:  recognition
Derpibooru Downloader
Downloads images from derpibooru.org using a variety of options
Stars: ✭ 45 (+0%)
Mutual labels:  image
Extended image
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
Stars: ✭ 1,021 (+2168.89%)
Mutual labels:  image
Aimage
An animated gif & apng engine for iOS in Swift. Have a great performance on memory and cpu usage.
Stars: ✭ 1,014 (+2153.33%)
Mutual labels:  image

tic codecov.io CRAN_Status_Badge Downloads Buy Me A Coffee Dependencies

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 first, second and third blog-posts, and in the package Documentation ( scroll down for information on how to use the docker image )

UPDATE 06-11-2018

As of version 1.1.2 the OpenImageR package allows R package maintainers to perform linking between packages at a C++ code (Rcpp) level. This means that the Rcpp functions of the OpenImageR package can be called in the C++ files of another package. In the next lines I'll give detailed explanations on how this can be done:


Assumming that an R package ('PackageA') calls one of the OpenImageR Rcpp functions. Then the maintainer of 'PackageA' has to :


  • 1st. install the OpenImageR package to take advantage of the new functionality either from CRAN using,


install.packages("OpenImageR")
 


or download the latest version from Github using the devtools package,



devtools::install_github('mlampros/OpenImageR')
 


  • 2nd. update the DESCRIPTION file of 'PackageA' and especially the LinkingTo field by adding the OpenImageR package (besides any other packages),


LinkingTo: OpenImageR


  • 3rd. open a new C++ file (for instance in Rstudio) and at the top of the file add the following 'headers', 'depends' and 'plugins',


# include <RcppArmadillo.h>
# include <OpenImageRheader.h>
// [[Rcpp::depends("RcppArmadillo")]]
// [[Rcpp::depends(OpenImageR)]]
// [[Rcpp::plugins(cpp11)]]



The available C++ classes (Utility_functions, Gabor_Features, Gabor_Features_Rcpp, HoG_features, Image_Hashing) can be found in the inst/include/OpenImageRheader.h file.


A complete minimal example would be :



# include <RcppArmadillo.h>
# include <OpenImageRheader.h>
// [[Rcpp::depends("RcppArmadillo")]]
// [[Rcpp::depends(OpenImageR)]]
// [[Rcpp::plugins(cpp11)]]


// [[Rcpp::export]]
arma::mat rgb_2gray_exp(arma::cube RGB_image) {

  oimageR::Utility_functions UTLF;
  return UTLF.rgb_2gray_rcpp(RGB_image);
}



Then, by opening an R file a user can call the rgb_2gray_exp function using,



Rcpp::sourceCpp('example.cpp')              # assuming that the previous Rcpp code is included in 'example.cpp' 
             
set.seed(1)
im_rgb = array(runif(30000), c(100, 100, 3))

im_grey = rgb_2gray_exp(im_rgb)

str(im_grey)


Use the following link to report bugs/issues,

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


UPDATE 29-11-2019


Docker images of the OpenImageR package are available to download from my dockerhub account. The images come with Rstudio and the R-development version (latest) installed. The whole process was tested on Ubuntu 18.04. To pull & run the image do the following,



docker pull mlampros/openimager:rstudiodev

docker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 mlampros/openimager:rstudiodev


The user can also bind a home directory / folder to the image to use its files by specifying the -v command,



docker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 -v /home/YOUR_DIR:/home/rstudio/YOUR_DIR mlampros/openimager:rstudiodev



In the latter case you might have first give permission privileges for write access to YOUR_DIR directory (not necessarily) using,



chmod -R 777 /home/YOUR_DIR



The USER defaults to rstudio but you have to give your PASSWORD of preference (see www.rocker-project.org for more information).


Open your web-browser and depending where the docker image was build / run give,


1st. Option on your personal computer,


http://0.0.0.0:8787 


2nd. Option on a cloud instance,


http://Public DNS:8787


to access the Rstudio console in order to give your username and password.


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].