
// This scilab code is to perform SIFT Transfom on the image
//to extract the features from image.

//The scilab environment for this is : Scilab 6.0.1

//Toolbox used: Image Processing and Computer Vision Toolbox ver. 1.1
              

//OS used : Windows 10 64 bit
// 
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods

//clc //to clear command window.
//clear all //to kill previously defined variables.
//xdel(winsid())//to close all currently open figure(s).

//This code uses lenna.png image file for processing


img=imread('lenna1.png');                   // Reads original lenna (color) image
SIFTfeatures=imdetect_SIFT(img);            // Extract features from image using SIFT algorithm
imshow(img);                                // Displays original lenna image
plotfeature(SIFTfeatures);                  // Plot the features extracted on displayed image
