Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!postnews.google.com!b14g2000yqd.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: hough transform
Date: Fri, 3 Jul 2009 11:04:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 22
Message-ID: <c49d844f-7a0b-467d-a606-22d91ae73b0c@b14g2000yqd.googlegroups.com>
References: <gum2jh$9jt$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1246644291 15126 127.0.0.1 (3 Jul 2009 18:04:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 3 Jul 2009 18:04:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b14g2000yqd.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:552711


On May 16, 5:56 am, "neeti tyagi" <neeti_de...@yahoo.co.in> wrote:
> hi!
> i m using command
> [H,T,R]=hough(BW);
> where BW is a binary image and error coming 'too many input arguments'
> plz help.

-------------------------------------------------------------------------------------
You must have made an error somewhere (that you're not showing us).  I
just ran this demo code from the help documentation with no problem:
clc;
clear all;
close all;
workspace;
RGB = imread('gantrycrane.png');
I  = rgb2gray(RGB); % convert to intensity
BW = edge(I,'canny'); % extract edges
[H,T,R] = hough(BW);

How did you get BW?  It's not something weird like a structure or cell
array or something is it?