This repository contains an R package for Binarizing Images focusing on local adaptive thresholding with the purpose of improving
install.packages("image.binarization")remotes::install_github("DIGI-VUB/image.binarization")Look to the documentation of the functions
help(package = "image.binarization")
Get an image, put it into gray scale and binarise it using the method
by Su
library(magick)
library(image.binarization)
img <- image_read("scan.jpg")
img <- image_convert(img, format = "PGM", colorspace = "Gray")
img
img <- image_binarization(img, type = "su")
img

Based on https://github.com/brandonmpetty/Doxa
By DIGI: Brussels Platform for Digital Humanities: https://digi.research.vub.be

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.