help-octave
[Top][All Lists]
Advanced

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

Re: 'rgb2gray' undefined


From: Nathan Armer
Subject: Re: 'rgb2gray' undefined
Date: Wed, 16 May 2012 14:36:20 -0700 (PDT)

Of course, sorry.  This code was a download from here: 
http://www.cs.brown.edu/~dqsun/code/flow_code.zip

explained by:

Secrets of optical flow estimation and their principles
Sun, D., Roth, S., and Black, M. J.,
IEEE Conf. on Computer Vision and Pattern Recog., CVPR, June 2010

http://www.cs.brown.edu/people/dqsun/pubs/cvpr_2010_flow.pdf

--- On Wed, 5/16/12, marco atzeri <address@hidden> wrote:

> From: marco atzeri <address@hidden>
> Subject: Re: 'rgb2gray' undefined
> To: address@hidden
> Date: Wednesday, May 16, 2012, 4:22 PM
> On 5/16/2012 11:01 PM, Nathan Armer
> wrote:
> > Yes, that worked, but now I'm getting "imfilter: first
> input argument must be an image":
> > 
> > octave:1>  im1=imread('01.jpg');
> > warning: your version of GraphicsMagick limits images
> to 16 bits per pixel
> > octave:2>  im2=imread('02.jpg');
> > octave:3> 
> uv=estimate_flow_interface(im1,im2);
> > error: imfilter: first input argument must be an image
> > error: called from:
> >
> error:   C:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\image\imfilter.m
> at line 6
> > 7, column 5
> >
> error:   
> C:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\flow_code\utils\compute_im
> > age_pyramid.m at line 46, column 5
> >
> error:   C:address@hidden
> > cal_flow\compute_flow.m at line 93, column 21
> >
> error:   
> C:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\flow_code\estimate_flow_in
> > terface.m at line 90, column 5
> > octave:3>
> > 
> > The images are the first and second frames from the MIT
> test sequence
> > "table": 
> > http://people.csail.mit.edu/celiu/motionAnnotation/database/table.zip
> 
> as we I have no clue of "estimate_flow_interface.m" content
> or of flow_code I have no way to help you.
> 
> Marco
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>


reply via email to

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