Wednesday, May 8, 2013

Images revealed

Below is a sample output from the code below:
(click older posts to see the code).



Figure 1: Overall view of first image filtered, telephone pools are noticeably bright. 


Figure 2: close up of the image, electrical polls clearly visible.

Sunday, May 5, 2013

Finally, working filter:


clc
close all
clear all

i = imread('Image1.tif'); 

j = i(:, :, 1:3); 
clearvars i; 
x = rgb2gray(j);
%m = x; 
%k = fspecial('sobel'); 
%g = imfilter(m,k);
y = fspecial('laplacian', 0.1); 
d = fspecial('gaussian', [3 3], 3); 
f = imfilter(x,d);
r = imfilter(f,y);
figure, imshow(r); 
%z = imadjust(x,[0.0 0.3],[0 1]);
%figure, imshow(x);
%figure, imshow(z);

%bw1 = edge(z,'sobel'); 
%bw2 = edge(z, 'canny');
%figure,imshow(bw1);
%figure,imshow(bw2);

Group meeting, Week 5 Sunday (5/5/2013)

Extra group meeting at the beautiful Sunday afternoon, May 5th, 2013.
 Test performance has been given for the filters, the first is the sober filter combined with the canny edge detection. And the result is not as good as we want.

Below is the save-ass sample for the image processing.

http://civil.iisc.ernet.in/~nagesh/rs_docs/ImageProcessing_Matlab.pdf

By using the Gaussian filter and the laplacian, the image has been sufficiently smoothed and the noise level has been reduced appropriately. 

So far, the filters part came to the end , and k-mean is what we are supposed to do next. 

First of all, determine the K value is the primary task. It was said by the instructor that in order to do the kmeans, we need to determine the centroid by randomly pick up one, and then figure out the K and repeat the process until the equilibrium. K can not be too small, or things will just end up in a mess; k cannot be too big, or things will just end up into separate parts. So figuring out the balanced K is essential to keep the result appropriate.


 Here follows an example for using the kmeans:
http://faculty.ksu.edu.sa/alisaad/Documents/segPet%20project.doc


Wednesday, May 1, 2013

Lab Notes 5/1/2013 (WEEK 5 LAB)

Start with a reminder about the Library research quiz, this week's lab is still to discuss and find out the filters. Trying to figure out the directional Gaussian filters in order to use that in the future image processing.
First of all, we did some research about using filters and decided that we could try to use the filters to line up the images. Then we were struggling into deciding the filter to be used in processing the images.
It came with an idea to use the edge detections more appropriately so that the filters can work better and more correct.