Sample Image: Red Cherry Tomatoes

Sample Image in the CIE LAB Colorspace

(480x720 pixels)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Sample Image: Red Cherry Tomatoes"]
Out[1]=

View the data:

In[2]:=
ResourceData["Sample Image: Red Cherry Tomatoes"]
Out[2]=

Visualization

Convert the image to a vector graphic:

In[3]:=
ImageGraphics[ResourceData["Sample Image: Red Cherry Tomatoes"]]
Out[3]=

Identify the 5 most dominant colors in the image:

In[4]:=
DominantColors[ResourceData["Sample Image: Red Cherry Tomatoes"], 5]
Out[4]=

Colorize the image after clustering:

In[5]:=
Colorize[ClusteringComponents[
  ResourceData["Sample Image: Red Cherry Tomatoes"], 5]]
Out[5]=

Wolfram Research, "Sample Image: Red Cherry Tomatoes" from the Wolfram Data Repository. (2017) https://doi.org/10.24097/wolfram.64921.data

License Information

CC0 Public Domain

Source Metadata

Data Downloads

Publisher Information