Images as arrays

JuliaImages are two-dimensional arrays, and every pixel can be either scalar or a one-dimensional array:

  • Grayscale images represent pixels as scalar values and they are called Gray
  • RGB is a three-dimensional array which represents each point in three different colors, such as red, green, and blue
  • PNG images with a transparent background are called RGBA

Get Hands-On Computer Vision with Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.