From: ImageAnalyst on
On May 8, 7:22 pm, "Angel " <theodan...(a)gmail.com> wrote:
> > 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.
-------------------------------------------------------------------------------------------
The Mathworks offers free telephone support for installation issues.
Why don't you call them? There is obviously some problem with the
installation of the Image Processing Toolbox if you can't even run the
hough() demo code from the help like everyone else can. You can run
the other IPT functions so it appears that the IPT is at least "sort
of" installed.
From: Steven Lord on

"Angel " <theodangie(a)gmail.com> wrote in message
news:hs2c8d$s1t$1(a)fred.mathworks.com...
>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'.

That would suggest that Image Processing Toolbox was not installed correctly
on your machine. Execute this command:

which -all houghmex

If MATLAB indicates it can't find this function, reinstall the toolbox. If
it can find it, check to make sure you're calling the correct HOUGH function
(in Image Processing Toolbox):

which -all hough

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ