Digital Image

samir khanal
1 min readMar 9, 2020

--

Introduction:

Representation of a 2-Dimensional image or scene as a finite set of digital values is an Digital Image.

It is the digital representation of a real scene or approximation of a real scene also known as digitization.

These digital values are called as pixel values.

Pixel values usually represent gray levels, colours, opacities, etc.

Some common image formats are:

  • 1 sample per point or single value per point/pixel : black&white or grayscale image (e.g. [1] or [0] for binary image & [0] to [255] for grayscale image).
  • 3 samples per point or three values per point/pixel : Red, Green, and Blue(RGB) image (e.g. [0,22,100] where red→0, green→22 & blue→100).
  • 4 samples per point or four values per point/pixel : Red, Green, Blue, and Alpha image, where alpha attribute is used for opacity.(e.g. [10,22,100,0] where red→10, green→22, blue→100 & alpha→ 0).

Here, the values inside square brackets are the intensity levels of image and 0/1 alpha value represent its opacity.

Digital image representation:

Digital image is simply represented as a 2-dimensional arrangement of pixel intensity values and can be defined as function f(x,y) where x,y are the spatial coordinates representing the position of pixel intensity values as shown in following diagram.

2-D digital image where f(x,y) represents a pixel value of (x,y)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

samir khanal
samir khanal

Written by samir khanal

AI Enthusiasts, Software Developer

No responses yet

Write a response