filmov
tv
Image Processing in MATLAB Tutorial 2 - Color Thresholding

Показать описание
Image Processing in MATLAB Tutorial 2 - Color Thresholding
In this video, we learn how to filter out various objects based on color. As shown in the video, direct threshold on the color won't give us perfect values. So what we have to do is that apply a set of morphological operations after basic thresholding.
Code:
imshow(a);
red = a(:,:,1); green = a(:,:,2); blue = a(:,:,3);
imshow(red)
imshow(green)
imshow(blue)
d = impixel(a);
out = red (g) 180 & green (g) 150 & green (l) 254 & blue (l) 10;*
*(I've used (g), (l) instead of the greater than and less than symbols as they are not allowed in the description on YouTube videos)
imshow(out)
out2 = imfill(out,'holes');
imshow(out2)
out3 = bwmorph(out2,'erode');
imshow(out3)
imshow(out2)
out3 = bwmorph(out2,'dilate',1);
imshow(out3)
out4 = imfill(out3,'holes');
imshow(out4)
stats = regionprops(out4)
imshow(out4)
doc regionprops
By: Surya Penmetsa
In this video, we learn how to filter out various objects based on color. As shown in the video, direct threshold on the color won't give us perfect values. So what we have to do is that apply a set of morphological operations after basic thresholding.
Code:
imshow(a);
red = a(:,:,1); green = a(:,:,2); blue = a(:,:,3);
imshow(red)
imshow(green)
imshow(blue)
d = impixel(a);
out = red (g) 180 & green (g) 150 & green (l) 254 & blue (l) 10;*
*(I've used (g), (l) instead of the greater than and less than symbols as they are not allowed in the description on YouTube videos)
imshow(out)
out2 = imfill(out,'holes');
imshow(out2)
out3 = bwmorph(out2,'erode');
imshow(out3)
imshow(out2)
out3 = bwmorph(out2,'dilate',1);
imshow(out3)
out4 = imfill(out3,'holes');
imshow(out4)
stats = regionprops(out4)
imshow(out4)
doc regionprops
By: Surya Penmetsa
Getting Started with Image Processing
Getting Started with Image Processing with MATLAB
Introduction to Image Processing | MATLAB Tutorial
Extract Tumor by Image Segmentation MATLAB- DICOM image
Introduction to Matlab Image Processing
Image processing in MATLAB | Gray scale image code | #matlab #coding #imageprocessing
Introduction to Image Processing using Matlab | Matlab Image Processing | Matlab Tutorial #79
Image Processing in MATLAB Tutorial 5: OCR Basics
Image Processing Made Easy
Complete Intro to MATLAB Image Processing (Step-by-Step)
Image Enhancement | Matlab free course
Image Processing in MATLAB Tutorial 6: OCR in Natural Images
What Is Image Processing Toolbox?
How To Run MATLAB Image Processing Tutorial 2020 [New Step-by-Step]
Image Processing GUI with MATLAB
Image Processing Made Easy - Previous Version
Introduction to image processing using matlab | Digital image processing using matlab | Mruduraj
Fingerprint Liveness detection using matlab image processing
The Basics Behind Image Processing | Working with Images in MATLAB
MATLAB Image Processing - Complete Tutorial 🔥 | Image Processing using MATLAB
Image Processing Basics in Matlab Part 1 :Pixel Basics, Color Channels, Gray Conversion
MATLAB tutorial: image processing GUI toolkits
Image processing using Matlab 🤘 #shorts #treding #shortvideo #youtubeshorts
Image Processing Onramp Overview
Комментарии