MATLAB A popular scientific (mathematical) tool for those working in advanced image processing is MATLAB. MATLAB (from "matrix laboratory") is described as a "numerical computing environment." Originally developed for teaching purposes, since 1984 it has been a commercial product maintained by The MathWorks. It is commonly used for image processing. As an example, the following MATLAB code creates separate bitplane images from an image document: clear all % read image % select one color (1,2 or 3) img=imresize(img,0.25,'bicubic'); img2=im2double(img); [x,y]=size(img2); bitplanes=zeros(x,y,8); for i=1:x imwrite(img,'original.png'); % original grayscale image On the following page can be seen the results of running this code on a typical document image. |