Requirements and Instructions

Type the code below in your R console to download and install an image processing package for R called EBImage.

    source("http://bioconductor.org/biocLite.R")
    biocLite()
    biocLite("EBImage")

Download the code template (filename: ostu.R) and test images . The code template is implemented in R. There are already some scripts in the template that reads an image and separates the image according to the threshold that you computed. A template function for the Otsu method is already provided to help you get started. You may add as many additional functions and variables as you need but you may not use other packages aside from built in R packages, GUI packages, Graph Plotting packages, UsingR, and EBImage.