Skip to content

Digital Image Processing

BIT PLANE SLICING

% **** BIT PLANE SLICING **** a=imread(‘Moon.tif’); b=double(a); [row col]=size(b); %r=input(‘enter bitval :  ‘); for x=1:row     for y=1:col         c=dec2bin(b(x,y),8);         d=c(1);         w1(x,y)=double(d);… Read More »BIT PLANE SLICING

Image Enhancement in Frequency Domain (i) Gaussian Low Pass Filter (ii) Butterworth Low Pass Filter (iii) Ideal High Pass Filter (iv) Ideal Low Pass Filter

1. IDEAL LPF: clc; close all; clear all;         a=imread(‘circuit.tif’);  % reading an image X         a=double(a);         c=size(a);        N=c(1);         D0=input(‘Enter the cut-off… Read More »Image Enhancement in Frequency Domain (i) Gaussian Low Pass Filter (ii) Butterworth Low Pass Filter (iii) Ideal High Pass Filter (iv) Ideal Low Pass Filter

MATLAB Program for Boundary Detection

MATLAB Program for Boundary Detection Code close all;clear all;BW1 = imread(‘DSC08386.jpg’); subplot(1,2,1);imshow(BW1)title(‘original image’); SE = strel(‘arbitrary’,eye(5));BW2 = imerode(BW1,SE);subplot(1,2,2);imshow(BW1 – BW2)title(‘Boundary Extracted’); Output of Boundry Detection

error: Content is protected !!