Learn R Programming

kohonen (version 3.0.12)

peppaPic: Synthetic image of a pepper plant with peppers

Description

A data matrix with four columns representing a 600 by 800 image of a pepper plant. Each row is a pixel in the image. The first column is the class label; the other columns contain the RGB values.

Usage

data("peppaPic")

Arguments

References

This is image 10039 from a set of 10,500 images described in

Barth R, IJsselmuiden J, Hemming J, and van Henten E (2017). "Data Synthesis Methods for Semantic Segmentation in Agriculture. A Capsicum annuum Dataset." Submitted.

Examples

Run this code
data(peppaPic)
head(peppaPic)
## show ground truth per pixel
image(t(matrix(peppaPic[,1], 600, 800))[,600:1], col = rainbow(10))

Run the code above in your browser using DataLab