Lab#04:
“Study of Basic Relationships between Pixels of an Image (part-1I)”
The lab will enable you to understand the basic concepts that how a pixel is related to other pixels
in an image. You will be able to understand and implement algorithms to find the neighbors of a
pixels, pixels adjacency, and connectivity and connect objects in image, path between two pixels,
and boundary of a connected object.
Lab Objectives:
The objective of this lab is to explore the built-in image processing toolbox functions for finding
the pixel relationships and writing our own functions to implement those algorithms.
In Lab Task:
Task#01: Write a MATLAB code for finding 4- adjaccency of a pixel Description:
In this task we have checked the four neighborhood of the pixels. We have entered a matrix,
neighborhood,pixellocation and gray level criteria. According to all the given data we got the
neighborhoods.
Code:
, Command Window:
“Study of Basic Relationships between Pixels of an Image (part-1I)”
The lab will enable you to understand the basic concepts that how a pixel is related to other pixels
in an image. You will be able to understand and implement algorithms to find the neighbors of a
pixels, pixels adjacency, and connectivity and connect objects in image, path between two pixels,
and boundary of a connected object.
Lab Objectives:
The objective of this lab is to explore the built-in image processing toolbox functions for finding
the pixel relationships and writing our own functions to implement those algorithms.
In Lab Task:
Task#01: Write a MATLAB code for finding 4- adjaccency of a pixel Description:
In this task we have checked the four neighborhood of the pixels. We have entered a matrix,
neighborhood,pixellocation and gray level criteria. According to all the given data we got the
neighborhoods.
Code:
, Command Window: