From: Angel on 7 May 2010 20:46 I have recently remove from my Vista laptop Matlab 7 and install Matlab R2007a. I want to apply hough transform to an image but it seems imposible as not even including in Matlab example for hough function works. (same result for grayscale image!!!) RGB = imread('gantrycrane.png'); I = rgb2gray(RGB); % convert to intensity BW = edge(I,'canny'); % extract edges [H,T,R] = hough(BW,'RhoResolution',0.5,'ThetaResolution',0.5); it turns out the following message: ??? Undefined function or method 'houghmex' for input arguments of type 'double'. Error in ==> hough at 83 h = houghmex(bw,rho,theta*pi/180);
From: ImageAnalyst on 7 May 2010 21:40 I copied and pasted your code and it ran perfectly fine. I added the rest of the code from the example and that ran fine too. I have R2010a. Maybe you should upgrade - your version is 3 years old so it's about time.
From: Angel on 8 May 2010 11:46 I do not have the time now. I have an assiment for tommorow 24:00 My classmates have th same edition and works without any problems. Could have anything to to with Vista compatibility?
From: ImageAnalyst on 8 May 2010 11:59 On May 8, 11:46 am, "Angel " <theodan...(a)gmail.com> wrote: > I do not have the time now. I have an assiment for tommorow 24:00 > My classmates have th same edition and works without any problems. > Could have anything to to with Vista compatibility? -------------------------------------------------------------- I have no idea. I guess you'll have to borrow a classmate's computer.
From: Angel on 8 May 2010 19:22 > I have no idea. I guess you'll have to borrow a classmate's computer Yes. I fed up with the situation. thanks for your time anyway.
|
Next
|
Last
Pages: 1 2 Prev: Mixed Integer Nonlinear Optimization Next: 32bit vs. 64bit, MEX, and OS X 10.6 |