• Image Processing, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    , ,

    Blurring 8 bit color versus monochrome using Matlab

    Blurring 8 bit color versus monochrome using Matlab   % smoothing in eight bit color and monochrome % parameter definition   % get image from MATLAB library load(’clown’); % construct convolution functions [m,n] = size(X); gs = [0.5 0.5]; ge = []; hs = [0.5 0.5]; he = []; g = [gs,zeros(1,m-length(gs)-length(ge)),ge]; h = [hs,zeros(1,n-length(hs)-length(he)),he]; [...]

    Print Friendly
  • Image Processing, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    ,

    Program for Edge detection using matlab

    Program for Edge detection     % demonstrate edge detection   % numbers of colors sncols=128; ncols=32;   % get image from MATLAB image load(’trees’);   % show original image figure(1); showgimg(real(X),sncols); drawnow;   % construct convolution functions [m,n] = size(X); gs = [1 -1]; ge = []; hs = [1 -1]; he = []; [...]

    Print Friendly
  • Image Processing, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    Program for Image Restoration using matlab

    Program for Image Restoration   % load image X = double(imread(’midterm.bmp’)); X = X-mean(X(:)); [m,n] = size(X);   % show image and DFT fX = fft2(X); figure(1) imshow(real(X),[]); title(’original image’) figure(2) imshow(fftshift(log(1+abs(fX))),[]) title(’log(1+|DFT|)) original image’);   % model blurring filter s = 24; t= 0; u = 1; v=0; g = [ones(s,1);zeros(m-s-t,1); ones(t,1)]; %g = [...]

    Print Friendly
  • Image Processing, Matlab, OOPs Lab Programs, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    Program for image morpholog using Matlab

    Program for image morphology Demonstrate boundary extraction, interior filling   % demonstrate morphological boundary extraction %clear all, close all   A0=imread(’myshap4.bmp’); imshow(A0); % a heart shape hand drawing title(’original image’); pause % A0 contains mostly 1s and the drawing contains 0s, uint8 A1=1-double(A0); % invert black and white   B=ones(3); A2=imopen(imclose(A1,B),B); % fill 1 pixel [...]

    Print Friendly
  • Image Processing, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    Program for Image Segmentation using Matlab

    Program for Image Segmentation demonstration of global and local thresholding for segmentation % threshdemo.m % Demonstration of global and local threshold operations of an image   clear all [tmp,idx]=imread(’lena.bmp’); a=ind2gray(tmp,idx); % gray scale image of lena, value between 0 and 1 clear tmp idx figure(1),clf,colormap(’gray’),imshow(a),title(’original Lena image’) [m,n]=size(a); % size of image a b=reshape(a,m*n,1); % [...]

    Print Friendly
  • Algorithms, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    , ,

    Program for color image processing using matlab

    Program for color image processing Color Approximation To reduce the number of colors in an image, use the rgb2ind function. This function converts a truecolor image to an indexed image, reducing the number of colors in the process. rgb2ind provides the following methods for approximating the colors in the original image: Quantization Uniform quantization Minimum variance quantization Colormap [...]

    Print Friendly
  • Image Processing, Matlab, Programming

    Posted on April 29th, 2011

    Written by Geek

    Tags

    Program for Image Compression using Matlab

    Program for Image Compression Aa standard matlab wavelet code package, WAVELAB 802 , to perform the transforms. The wavelets we chose to use were the Deslauriers wavelets of polynomial size 3. The compression scheme we used was to set a threshold value that was some fraction of the norm of the entire wavelet transform matrix. [...]

    Print Friendly
  • Image Processing, Matlab

    Posted on April 28th, 2011

    Written by Geek

    Tags

    ,

    Image enhancement using Matlab

    Image enhancement Adjusting Intensity Values to a Specified Range You can adjust the intensity values in an image using the imadjust function, where you specify the range of intensity values in the output image. For example, this code increases the contrast in a low-contrast grayscale image by remapping the data values to fill the entire [...]

    Print Friendly
  • Programming

    Posted on April 13th, 2011

    Written by Geek

    Tags

    , ,

    SQL – Structured Query Language

    SQL (Structured Query Language) is the standard language used for creating, updating and querying relational databases. It is supported by all modern database management systems (e.g. Oracle, IBM DB2, Microsoft Access, Microsoft SQL Server, PostgreeSQL, MySQL, etc.). SQL is based on the relational model introduced in the course notes, but is not a strict implementation [...]

    Print Friendly
  • Programming

    Posted on April 13th, 2011

    Written by Geek

    Tags

    , , , ,

    Database Real World Scenario with QA

    EMPLOYEE TABLE TABLE STRUCTURE Name                                        Null?                       Type ——————————-          ——–                   —- EMPNO                                      NOT NULL                NUMBER(4) ENAME                                                                   VARCHAR2(10) JOB                                                                       VARCHAR2(9) MGR                                                                      NUMBER(4) HIREDATE                                                               DATE SAL                                                                       NUMBER(7,2) COMM                                                                    NUMBER(7,2) DEPTNO                                                                 NUMBER(2) RECORDS EMPNO ENAME      JOB             MGR    HIREDATE               SAL        COMM         DEPTNO ——— ———-     [...]

    Print Friendly
  • Older Posts Yeah! There are more posts, check them out.

Switch to our mobile site

PHVsPjwvdWw+