help-octave
[Top][All Lists]
Advanced

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

Re: 'rgb2gray' undefined


From: marco atzeri
Subject: Re: 'rgb2gray' undefined
Date: Wed, 16 May 2012 22:28:19 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 5/16/2012 10:23 PM, 4evrplan wrote:
I'm completely new to Octive (and MATLAB, FREEMAT, etc.).  Everything seems
to work, except that I get an error when I try to use rgb2gray:

octave:1>  im1=imread('test.jpg');
warning: your version of GraphicsMagick limits images to 16 bits per pixel
octave:2>  tmp1 = uint8(im1);
octave:3>  tmp2 = rgb2gray(tmp1);
error: `rgb2gray' undefined near line 3 column 8
octave:3>

So, I tried FreeMat and got a similar error.  I'm using Octave3.6.1_gcc4.6.2
in Windows 7 64 bit.  I tried running it as an Admin, and it made no
difference.



rgb2gray is part of the image package
  http://octave.sourceforge.net/image/function/rgb2gray.html
not of octave core

try "pkg list" and "pkg load image"



reply via email to

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