UBC-MDS / Rgram

DSCI 524: Collaborative Software Development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rgram

codecov R-CMD-check

The goal of Rgram is to make the image processing task easy and intuitive. With Rgram, users can rotate the image, convert it to greyscale, flip it horizontally in Black&White, and add padding to it (frame).

Installation

You can install the released version of Rgram from CRAN with:

install.packages("devtools")
devtools::install_github("UBC-MDS/"rgram")

Usage

This is a basic example which shows you how to solve a common problem:

library(Rgram)

  1. flipping(image)

Arguments:
- image: path to input image

  1. grayscale(image)

Arguments:
- image: path to input image\

  1. padding(image, width)

Arguments:
- image: path to input image
- width: number of pixels of padding to be added\

  1. rotate(image, degrees)

Arguments:
- image: path to input image
- degrees: the degrees to rotate the image by\

Documentation

vignette page

The help file can be viewed by:

?padding
?flipping
?rotate
?greyscale
#> No documentation for 'greyscale' in specified packages and libraries:
#> you could try '??greyscale'

About

DSCI 524: Collaborative Software Development

License:Other


Languages

Language:R 100.0%