{"id":23415307,"url":"https://github.com/mlampros/fastglcm","last_synced_at":"2025-10-05T04:22:04.176Z","repository":{"id":54750389,"uuid":"522641088","full_name":"mlampros/fastGLCM","owner":"mlampros","description":"GLCM Texture Features","archived":false,"fork":false,"pushed_at":"2023-05-27T04:33:25.000Z","size":9180,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T16:36:51.847Z","etag":null,"topics":["glcm","r","rcpparmadillo"],"latest_commit_sha":null,"homepage":"https://mlampros.github.io/fastGLCM/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlampros.png","metadata":{"funding":{"github":["mlampros"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-08T17:15:35.000Z","updated_at":"2025-01-27T23:42:55.000Z","dependencies_parsed_at":"2024-06-11T20:37:47.063Z","dependency_job_id":"ea58727f-2bfa-4652-82f0-101e4b7d1c89","html_url":"https://github.com/mlampros/fastGLCM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FfastGLCM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FfastGLCM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FfastGLCM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FfastGLCM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlampros","download_url":"https://codeload.github.com/mlampros/fastGLCM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248534838,"owners_count":21120445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["glcm","r","rcpparmadillo"],"created_at":"2024-12-22T21:14:40.631Z","updated_at":"2025-10-05T04:22:04.164Z","avatar_url":"https://github.com/mlampros.png","language":"R","funding_links":["https://github.com/sponsors/mlampros"],"categories":[],"sub_categories":[],"readme":"\n[![R-CMD-check](https://github.com/mlampros/fastGLCM/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mlampros/fastGLCM/actions/workflows/R-CMD-check.yaml)\n[![docs: passing](https://img.shields.io/badge/docs-passing-success.svg)](https://mlampros.github.io/fastGLCM/reference/index.html)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/fastGLCM)](http://cran.r-project.org/package=fastGLCM)\n[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/fastGLCM?color=blue)](http://www.r-pkg.org/pkg/fastGLCM)\n[![](https://img.shields.io/docker/automated/mlampros/fastglcm.svg)](https://hub.docker.com/r/mlampros/fastglcm)\n[![status](https://tinyverse.netlify.app/badge/fastGLCM)](https://CRAN.R-project.org/package=fastGLCM)\n\n\n## fastGLCM\n\n\u003cbr\u003e\n\nFast GLCM feature texture computation. This R package includes two GLCM implementations: \n\n* An Rcpp Armadillo implementation which is parallelized and modified to return all GLCM features at once. Preferably use this version but be aware that there is a difference when computing the convolution between the OpenCV (python fastGLCM implementation) and the Armadillo library (Rcpp implementation). OpenCV performs interpolation in the image boundaries whereas Armadillo does not. For big images there is no visual difference but it's visible in small imagery.\n* A fast GLCM feature texture computation based on *python numpy arrays* (for more information see the ['fastGLCM' Python Code Github Repository](https://github.com/tzm030329/GLCM)). To use this version, you will need to have Python configured in your Operating System and the [reticulate](https://github.com/rstudio/reticulate) R package installed.\n\nMore details on the functionality of *fastGLCM* can be found in the package [Documentation](https://mlampros.github.io/fastGLCM/reference/index.html), [Vignette](https://mlampros.github.io/fastGLCM/articles/fastGLCM_Functionality.html) and [blog-post](http://mlampros.github.io/2022/08/16/gray_level_co_occurrence_matrix/)\n\n\u003cbr\u003e\n\n### Installation:\n\n\u003cbr\u003e\n\nTo install the package from CRAN use, \n\n```R\ninstall.packages(\"fastGLCM\")\n\n```\n\u003cbr\u003e\n\nor download the latest version from Github using the *pak* package,\n\n\u003cbr\u003e\n\n```R\n\npak::pak('mlampros/fastGLCM')\n\n```\n\n\u003cbr\u003e\n\n#### **Docker Image**\n\n\u003cbr\u003e\n\n**Docker images** of the *fastGLCM* package are available to download from my [dockerhub](https://hub.docker.com/r/mlampros/fastglcm) account. The images come with *Rstudio* and the *R-development* version (latest) installed. The whole process was tested on Ubuntu 18.04. To **pull** \u0026 **run** the image do the following,\n\n\u003cbr\u003e\n\n```R\n\ndocker pull mlampros/fastglcm:rstudiodev\n\ndocker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 mlampros/fastglcm:rstudiodev\n\n```\n\n\u003cbr\u003e\n\nThe user can also **bind** a home directory / folder to the image to use its files by specifying the **-v** command,\n\n\u003cbr\u003e\n\n```R\n\ndocker 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/fastglcm:rstudiodev\n\n\n```\n\n\u003cbr\u003e\n\nThe **USER** defaults to *rstudio* but you have to give your **PASSWORD** of preference (see [https://rocker-project.org](https://rocker-project.org/) for more information).\n\n\u003cbr\u003e\n\nOpen your web-browser and depending where the docker image was *build / run* give, \n\n\u003cbr\u003e\n\n**1st. Option** on your personal computer,\n\n\u003cbr\u003e\n\n```R\nhttp://0.0.0.0:8787 \n\n```\n\n\u003cbr\u003e\n\n**2nd. Option** on a cloud instance, \n\n\u003cbr\u003e\n\n```R\nhttp://Public DNS:8787\n\n```\n\n\u003cbr\u003e\n\nto access the Rstudio console in order to give your username and password.\n\n\u003cbr\u003e\n\n### **Similar Projects:**\n\n* https://github.com/azvoleff/glcm  (*RcppArmadillo Implementation*)\n* https://github.com/ailich/GLCMTextures  (*Rcpp and RcppArmadillo Implementation*)\n\n\u003cbr\u003e\n\n### Citation:\n\n\u003cbr\u003e\n\nIf you use the code of this repository in your paper or research please cite both **fastGLCM** and the **original articles** (see CITATION) `https://CRAN.R-project.org/package=fastGLCM`:\n\n\u003cbr\u003e\n\n```R\n@Manual{,\n  title = {{fastGLCM}: Fast Gray Level Co-occurrence Matrix computation (GLCM) using R},\n  author = {Lampros Mouselimis},\n  year = {2025},\n  note = {R package version 1.0.3},\n  url = {https://CRAN.R-project.org/package=fastGLCM},\n}\n```\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlampros%2Ffastglcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlampros%2Ffastglcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlampros%2Ffastglcm/lists"}