image effect
lets you take a picture or browse for it and put some effects on it
Author: 123456
Hi,
interestingly, your code does not seem to detect my camera , even though i seem my option listed on your GUI, but i am unable to take a picture or continue with it.
Hello,
function CircularHough_Grd works very well for images, but I need to process video stream (for example from web camera). I want to detect eyes in video stream. I want to use CircularHough Tansform for detection of iris, becouse iris have circular shape. I assume, that the face fills the entire scanned image space, so I do not need to detect face.
Can anyone help me? When you send me the complete code, it would be best for me.
Thank you.
Vilem Rechtacek
I'm fairly new to image processing, but I can follow your code halfway decent.
However, I am capturing an image from a webcam, and cant seem to get the function to work. What format should the image be in? I've tried to save it as several formats, but either get a lime green image as the result, or an error saying the image must be 2-dimensional. Any suggestions?
For my application I am using this CircularHough_Grd function to detect COLORED circles.It works fine for red,green,blue,however, it does not get yellow circles or lighter circles.
Here is the image i'am working on:
http://i.imgur.com/OOrmZ.png
And this is what i get with my current codes:
http://i.imgur.com/tP1BY.jpg
My code is :
rgb = imread('capture4.bmp');
rawimg = rgb2gray(rgb);
% rawimg = rgb(:,:,1);
fltr4img = [1 1 1 1 1; 1 2 2 2 1; 1 2 4 2 1; 1 2 2 2 1; 1 1 1 1 1];
fltr4img = fltr4img / sum(fltr4img(:));
imgfltrd = filter2( fltr4img , rawimg);
tic;
[accum, circen, cirrad] = CircularHough_Grd(imgfltrd, [2 20], 0, 3, 0.1);
toc;
figure(1); imagesc(accum); axis image;
figure(2); imagesc(rgb); colormap('gray'); axis image;
hold on;
plot(circen(:,1), circen(:,2), 'r+');axis image;
impixelinfo;
for k = 1 : size(circen, 1),
DrawCircle(circen(k,1), circen(k,2), cirrad(k), 32, 'r-');
end
hold off;
title(['Raw Image with Circles Detected ', ...
'(center positions and radii marked)']);
Comment only