Skip to content

lochbika/Rwatershed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R watershed package

Installation

Installation can be done with the devtools package.

library(devtools)
install_github("lochbika/Rwatershed",ref="main")

Alternatively, you can download/clone this repository and manually run the installation routines in RStudio.

Usage

This R package contains functions to compute the watershed segmentation of an input matrix. Call the respective implementation with the wrapper function watershed, for example

> watershed(x, method = "R")

where x is the input matrix.

More information

The documentation is a good starting point. Then there is a small sample script (demonstration.R) that demonstrates the use with the sample data of this package. For a full tutorial and demonstration, check out the blog post on my personal website.

About

An R implementation of the watershed algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published