SlideShare a Scribd company logo
1 of 8
Image Segmentation 
Active Contours 
By:- Abhishek Tiwari 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Introduction 
 Active contours, also known as snakes, is a framework for getting object 
outline contour 
 The framework minimizes an energy associated to the current contour as a 
sum of internal and external energies 
 External energy expression is derived such that it is minimum at object boundary 
 Internal energy regulates the shape of contour, controlling its curvature, shape 
regularity, etc. 
 More energy terms can be introduced as per user application such as initializing 
multiple snakes and defining attraction energy between them, etc. 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Advantages & Limitations 
 Advantages of snakes 
 Autonomous and self-adapting in their search for minimal energy 
 Can track moving objects in temporal as well as spatial direction 
 Custom energies can be defined to enhance contour evolution 
 Limitations of snakes 
 Can get stuck in local minima states 
 Can miss minute features in the process of minimizing whole contour energy 
 May require higher computation time 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Contour Evolution Example 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Contour Evolution Example 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Our Implementation 
clear all; close all; clc; 
% Read an input image 
A = imread('coins1.jpg'); 
% Convert the image to grayscale 
A = rgb2gray(A); 
% Generate mask for active contour initialization 
mask = zeros(size(A)); 
mask(10:end-10,10:end-10) = 1; 
% Segment the image using active contour method 
bw = activecontour(A, mask, 300); 
% Display original and segmented images 
figure, subplot(1, 2, 1), imshow(A), title('Original image'); 
subplot(1, 2, 2), imshow(bw), title('Segmented image');
Results 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
Thank You 
For my complete course on Image processing using MATLAB , 
visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB

More Related Content

What's hot

Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 
Image pre processing - local processing
Image pre processing - local processingImage pre processing - local processing
Image pre processing - local processing
Ashish Kumar
 
Comparative study on image segmentation techniques
Comparative study on image segmentation techniquesComparative study on image segmentation techniques
Comparative study on image segmentation techniques
gmidhubala
 

What's hot (20)

Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image compression .
Image compression .Image compression .
Image compression .
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Raster animation
Raster animationRaster animation
Raster animation
 
Segmentation
SegmentationSegmentation
Segmentation
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Application of edge detection
Application of edge detectionApplication of edge detection
Application of edge detection
 
Jpeg standards
Jpeg   standardsJpeg   standards
Jpeg standards
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Image pre processing - local processing
Image pre processing - local processingImage pre processing - local processing
Image pre processing - local processing
 
Comparative study on image segmentation techniques
Comparative study on image segmentation techniquesComparative study on image segmentation techniques
Comparative study on image segmentation techniques
 

Viewers also liked

Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)
Yan Xu
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Deepak Kumar
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLAB
vkn13
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Mukul Jindal
 
Image proceesing with matlab
Image proceesing with matlabImage proceesing with matlab
Image proceesing with matlab
Ashutosh Shahi
 
Image Segmentation
Image SegmentationImage Segmentation
Image Segmentation
ashek1520
 
Meanshift Tracking Presentation
Meanshift Tracking PresentationMeanshift Tracking Presentation
Meanshift Tracking Presentation
sandtouch
 
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Habibur Rahman
 

Viewers also liked (20)

Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Dip Image Segmentation
Dip Image SegmentationDip Image Segmentation
Dip Image Segmentation
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLAB
 
Matlab Feature Extraction Using Segmentation And Edge Detection
Matlab Feature Extraction Using Segmentation And Edge DetectionMatlab Feature Extraction Using Segmentation And Edge Detection
Matlab Feature Extraction Using Segmentation And Edge Detection
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLAB
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image proceesing with matlab
Image proceesing with matlabImage proceesing with matlab
Image proceesing with matlab
 
Getting started with image processing using Matlab
Getting started with image processing using MatlabGetting started with image processing using Matlab
Getting started with image processing using Matlab
 
Biomedical image processing ppt
Biomedical image processing pptBiomedical image processing ppt
Biomedical image processing ppt
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Android
Android Android
Android
 
Intelligent Fuzzy System Based Dermoscopic Segmentation for Melanoma Detection
Intelligent Fuzzy System Based Dermoscopic Segmentation for Melanoma DetectionIntelligent Fuzzy System Based Dermoscopic Segmentation for Melanoma Detection
Intelligent Fuzzy System Based Dermoscopic Segmentation for Melanoma Detection
 
Mesh Processing Course : Active Contours
Mesh Processing Course : Active ContoursMesh Processing Course : Active Contours
Mesh Processing Course : Active Contours
 
CVIM mean shift-3
CVIM mean shift-3CVIM mean shift-3
CVIM mean shift-3
 
Bat algorithm
Bat algorithmBat algorithm
Bat algorithm
 
Segmentation Results through FCM clustering with MATLAB program
Segmentation Results through FCM clustering with MATLAB programSegmentation Results through FCM clustering with MATLAB program
Segmentation Results through FCM clustering with MATLAB program
 
Image Segmentation
Image SegmentationImage Segmentation
Image Segmentation
 
Meanshift Tracking Presentation
Meanshift Tracking PresentationMeanshift Tracking Presentation
Meanshift Tracking Presentation
 
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
 

Similar to Active contour segmentation

study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
Chiamin Hsu
 
Tracking my face with matlab ws word format
Tracking my face with matlab ws word formatTracking my face with matlab ws word format
Tracking my face with matlab ws word format
Gaspard Ggas
 
Tracking my face with matlab
Tracking my face with matlabTracking my face with matlab
Tracking my face with matlab
Gaspard Ggas
 
High Performance Ajax Applications 1197671494632682 2
High Performance Ajax Applications 1197671494632682 2High Performance Ajax Applications 1197671494632682 2
High Performance Ajax Applications 1197671494632682 2
Niti Chotkaew
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
Julien Lecomte
 

Similar to Active contour segmentation (20)

Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...
Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...
Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...
 
Image Stitching for Panorama View
Image Stitching for Panorama ViewImage Stitching for Panorama View
Image Stitching for Panorama View
 
From Zero to Hero – Web Performance
From Zero to Hero – Web PerformanceFrom Zero to Hero – Web Performance
From Zero to Hero – Web Performance
 
Use Angular Schematics to Simplify Your Life - Develop Denver 2019
Use Angular Schematics to Simplify Your Life - Develop Denver 2019Use Angular Schematics to Simplify Your Life - Develop Denver 2019
Use Angular Schematics to Simplify Your Life - Develop Denver 2019
 
A Gentle Introduction to Angular Schematics - Devoxx Belgium 2019
A Gentle Introduction to Angular Schematics - Devoxx Belgium 2019A Gentle Introduction to Angular Schematics - Devoxx Belgium 2019
A Gentle Introduction to Angular Schematics - Devoxx Belgium 2019
 
Ask the expert - App performance on Series 40 phones
Ask the expert - App performance on Series 40 phonesAsk the expert - App performance on Series 40 phones
Ask the expert - App performance on Series 40 phones
 
Qt and QML performance tips & tricks for Qt 4.7
Qt and QML performance tips & tricks for Qt 4.7Qt and QML performance tips & tricks for Qt 4.7
Qt and QML performance tips & tricks for Qt 4.7
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Models
 
Basics of image processing using MATLAB
Basics of image processing using MATLABBasics of image processing using MATLAB
Basics of image processing using MATLAB
 
Student MATLAB Projects Research Guidance
Student MATLAB Projects Research GuidanceStudent MATLAB Projects Research Guidance
Student MATLAB Projects Research Guidance
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
 
Machine Learning Use Case - Agriculture
Machine Learning Use Case - AgricultureMachine Learning Use Case - Agriculture
Machine Learning Use Case - Agriculture
 
Tracking my face with matlab ws word format
Tracking my face with matlab ws word formatTracking my face with matlab ws word format
Tracking my face with matlab ws word format
 
Backbonejs
BackbonejsBackbonejs
Backbonejs
 
Tracking my face with matlab
Tracking my face with matlabTracking my face with matlab
Tracking my face with matlab
 
Cble assignment powerpoint activity for moodle 1
Cble assignment powerpoint activity for moodle 1Cble assignment powerpoint activity for moodle 1
Cble assignment powerpoint activity for moodle 1
 
Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks
 
Developing maintainable Cordova applications
Developing maintainable Cordova applicationsDeveloping maintainable Cordova applications
Developing maintainable Cordova applications
 
High Performance Ajax Applications 1197671494632682 2
High Performance Ajax Applications 1197671494632682 2High Performance Ajax Applications 1197671494632682 2
High Performance Ajax Applications 1197671494632682 2
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Active contour segmentation

  • 1. Image Segmentation Active Contours By:- Abhishek Tiwari For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 2. Introduction  Active contours, also known as snakes, is a framework for getting object outline contour  The framework minimizes an energy associated to the current contour as a sum of internal and external energies  External energy expression is derived such that it is minimum at object boundary  Internal energy regulates the shape of contour, controlling its curvature, shape regularity, etc.  More energy terms can be introduced as per user application such as initializing multiple snakes and defining attraction energy between them, etc. For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 3. Advantages & Limitations  Advantages of snakes  Autonomous and self-adapting in their search for minimal energy  Can track moving objects in temporal as well as spatial direction  Custom energies can be defined to enhance contour evolution  Limitations of snakes  Can get stuck in local minima states  Can miss minute features in the process of minimizing whole contour energy  May require higher computation time For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 4. Contour Evolution Example For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 5. Contour Evolution Example For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 6. Our Implementation clear all; close all; clc; % Read an input image A = imread('coins1.jpg'); % Convert the image to grayscale A = rgb2gray(A); % Generate mask for active contour initialization mask = zeros(size(A)); mask(10:end-10,10:end-10) = 1; % Segment the image using active contour method bw = activecontour(A, mask, 300); % Display original and segmented images figure, subplot(1, 2, 1), imshow(A), title('Original image'); subplot(1, 2, 2), imshow(bw), title('Segmented image');
  • 7. Results For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB
  • 8. Thank You For my complete course on Image processing using MATLAB , visit https://www.udemy.com/matlabipt/?couponCode=PROMO_MATLAB