help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image processing


From: Søren Hauberg
Subject: Re: Image processing
Date: Tue, 08 Jun 2010 22:50:11 -0700

ons, 09 06 2010 kl. 02:39 -0300, skrev Erika Bueno:
> I'm gonna try :)
> 
> I read the image, just like you explained me to do. It works.
> 
> I know the image is saved in the variable "i" as a matrix, right?
> 
> Ok. But I don't know the size of the matrix. So, how can I work with
> something that I don't know its extension?
> 
> My project is to read a couple of images and, then, compare then. To
> do this, I gotta read the images and work with its variables as
> matrices.
> 
> Got it now? :)

Yes I think I got it, thanks :-)

To get the size (or extension as you call it), simply call

  size (I)

this will be a vector with the number of rows in the image on the first
place and the number of columns in the second place.

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]