scanCRAN(folder, cutoffvalue=NULL, minArea = NULL, cores = 1, gray = TRUE, stand = c(0, 0), fact = 0.25)
cutoff
function to find the optimum segmentation value which will determine the success of your experiment.cutoff
can provide an idea of the sizes of real objects and noise. If not passed the argument uses minArea=(length/40)*(width/40), where length and width refers to the dimensions of the picturecutoff
function to achieve a good segmentation of the objects. The package is sensitive to the prescense of shades in the picture, for that reason we highly recommend the use of black background and reference circles in a clear color (i.e. white).This is a rough idea of how you should take the pictures, where the circles are your references and the dots are your fruits. Your fruits shouldn't block the references and YOUR REFERENCES SHOULD BE ALWAYS ON THE SIDES OF YOUR PICTURE.
O . . . . O
O . . . . . O
O . . . . . O
For additional information such as tutorials and most recent releases please visit our website http://cggl.horticulture.wisc.edu/software/.
Diaz-Garcia L, Covarrubias-Pazaran G, Schlautman B, Zalapa J. GiNA: A flexible high throughput phenotyping tool. http://horticulture.wisc.edu/cggl/ZalapaLab/People.html. 2015.
library(GiNA)
data(GINA.sample) # RUN
writeImage(GINA.sample, "gina_cran.JPG") # RUN
folder <- getwd()
mydata <- scanCRAN(folder,cutoffvalue=0.5,cores=1, fact = 1) # RUN!!!
Run the code above in your browser using DataLab