Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p23g2000vbl.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Background Illumination
Date: Mon, 20 Jul 2009 21:42:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 11
Message-ID: <30265cd4-6cae-4683-af7f-cd8c6d68a9c1@p23g2000vbl.googlegroups.com>
References: <h3vi1h$1la$1@fred.mathworks.com> <h421e6$437$1@fred.mathworks.com> 
	<h43g8r$r2b$1@fred.mathworks.com>
NNTP-Posting-Host: 12.50.183.2
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1248151327 15664 127.0.0.1 (21 Jul 2009 04:42:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 21 Jul 2009 04:42:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p23g2000vbl.googlegroups.com; posting-host=12.50.183.2; 
	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:557008


On Jul 21, 12:30 am, "Smith Kumar " <nkm...@gmail.com> wrote:
> > figure, imshow(I2,[]);-Good Image
> > figure, imshow(I2);-Dark Image
>
> Basically when I use imwrite((I2,[]), '1.bmp')  ----I am getting an error

--------------------------------------------
Get rid of the [].  Scale your image manually or use imadjust().
And pick one thread and go with it.  It's ridiculous to keep 3 threads
going on the same topic.