Can anyone help me with this. I encounter an error after this command.
>>Mv = aviread('SampleVideo.avi',1:80);
rmin = 0; %min row value for search window
rmax = 0; %max row value for search window
cmin = 0; %min col value for search window
cmax = 0; %max col value for search window
numofframes = 0;
frameNo = 10; %starting frame
vidSize=[128 160]; %video size
centerold = [0 0];
centernew = [0 0];
M =Mv;
% get number of frames
numberofframes = length(M);
Frame1 = M(frameNo);
Image1 = imresize(Frame1.cdata,vidSize,'bilinear');
% get search window for first frame
[ cmin, cmax, rmin, rmax ] = select(Image1);
It show the following error.
??? Undefined function or method 'select' for input arguments of type 'uint8'.
Error in ==> mean_shift at 27
[ cmin, cmax, rmin, rmax ] = select(Image1);
How can I solve it? Thank you.
|
|
0
|
|
|
|
Reply
|
donny
|
12/14/2010 2:51:04 AM |
|
You can solve it by defining the function select(). And, no, I don't
know the code for it.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
12/14/2010 3:10:32 AM
|
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <58c37cd4-957b-434b-9528-a849ab153901@z19g2000yqb.googlegroups.com>...
> You can solve it by defining the function select(). And, no, I don't
> know the code for it.
Do you mean that I need to write a program for the function select?
|
|
0
|
|
|
|
Reply
|
donny
|
12/14/2010 3:54:05 AM
|
|
On Dec 13, 10:54=A0pm, "donny jason" <pooler_pool...@yahoo.com> wrote:
> ImageAnalyst <imageanal...@mailinator.com> wrote in message <58c37cd4-957=
b-434b-9528-a849ab153...@z19g2000yqb.googlegroups.com>...
> > You can solve it by defining the function select(). =A0And, no, I don't
> > know the code for it.
>
> Do you mean that I need to write a program for the function select?
------------------------------------------------------------------
Basically yes. Well, not a whole program, just that one function that
you called "select" because it doesn't seem to be defined anywhere.
Or else get it from whomever wrote the rest of that code that you're
trying to run. Select() does not seem to be a built in function, at
least it's not in any of the toolboxes that I own and it's not in the
basic MATLAB.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
12/14/2010 4:10:26 AM
|
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <b758411f-dfb8-45f3-90f1-4dbf2ebbc94a@j25g2000yqa.googlegroups.com>...
> On Dec 13, 10:54 pm, "donny jason" <pooler_pool...@yahoo.com> wrote:
> > ImageAnalyst <imageanal...@mailinator.com> wrote in message <58c37cd4-957b-434b-9528-a849ab153...@z19g2000yqb.googlegroups.com>...
> > > You can solve it by defining the function select(). And, no, I don't
> > > know the code for it.
> >
> > Do you mean that I need to write a program for the function select?
>
> ------------------------------------------------------------------
> Basically yes. Well, not a whole program, just that one function that
> you called "select" because it doesn't seem to be defined anywhere.
> Or else get it from whomever wrote the rest of that code that you're
> trying to run. Select() does not seem to be a built in function, at
> least it's not in any of the toolboxes that I own and it's not in the
> basic MATLAB.
I see. I understand what you mean already.Thanks for the information. It helps me a lot.
|
|
0
|
|
|
|
Reply
|
donny
|
12/14/2010 5:48:04 AM
|
|
"donny jason" wrote in message <ie70ek$mei$1@fred.mathworks.com>...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message <b758411f-dfb8-45f3-90f1-4dbf2ebbc94a@j25g2000yqa.googlegroups.com>...
> > On Dec 13, 10:54 pm, "donny jason" <pooler_pool...@yahoo.com> wrote:
> > > ImageAnalyst <imageanal...@mailinator.com> wrote in message <58c37cd4-957b-434b-9528-a849ab153...@z19g2000yqb.googlegroups.com>...
> > > > You can solve it by defining the function select(). And, no, I don't
> > > > know the code for it.
> > >
> > > Do you mean that I need to write a program for the function select?
> >
> > ------------------------------------------------------------------
> > Basically yes. Well, not a whole program, just that one function that
> > you called "select" because it doesn't seem to be defined anywhere.
> > Or else get it from whomever wrote the rest of that code that you're
> > trying to run. Select() does not seem to be a built in function, at
> > least it's not in any of the toolboxes that I own and it's not in the
> > basic MATLAB.
>
> I see. I understand what you mean already.Thanks for the information. It helps me a lot.
hi sir can u tell me how are u implementing mean-shift algorithm what is the procedure ur following can u give an outline of the algorithm. if possible can u send the code u have implemented.
|
|
0
|
|
|
|
Reply
|
usha
|
12/28/2010 3:59:07 AM
|
|
On Dec 27, 10:59=A0pm, "usha kiran peddala" <kiran8...@gmail.com> wrote:
> hi sir can u tell me how are u implementing mean-shift algorithm what is =
the procedure ur following can u give an outline of the algorithm. if possi=
ble can u send the code u have implemented.
-----------------------------------------------------------
Try this:
http://www.wisdom.weizmann.ac.il/~vision/courses/2004_2/files/mean_shift/me=
an_shift.ppt
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
12/28/2010 4:58:18 AM
|
|
|
6 Replies
426 Views
(page loaded in 0.074 seconds)
Similiar Articles: mean shift clustering code matlab - comp.soft-sys.matlab ...mean shift problem - comp.soft-sys.matlab mean shift clustering code matlab - comp.soft-sys.matlab ... Hi Can any one help me to find matlab code for Mean Shift , i have a ... Cross correlation to find time lag by employing chirp signal ...mean shift problem - comp.soft-sys.matlab Cross correlation to find time lag by employing chirp signal ... My problem involves inputing the audio signal recorded by 2 mics ... PWM as DAC problems - comp.dspmean shift problem - comp.soft-sys.matlab Are we supposed to assume what you mean exactly? ... waves each with its own amplitude and phase shift. ... How can I solve in HTTP error code in 111 - comp.lang.java ...Hi!To my all friends,I am being faced with the problem in J2EE web application ... mean shift problem - comp.soft-sys.matlab Can anyone help me with this. I encounter an ... Random number with variable mean and variance - comp.soft-sys ...Random number with variable mean and variance - comp.soft-sys ... mean shift clustering code matlab - comp.soft-sys.matlab ... Random number with variable mean and ... Nonparametric, paired test with unequal sample size? - comp.soft ...In this case I have one signal and I make 100 surrogate signals out of it (mean ... mean shift problem - comp.soft-sys.matlab Nonparametric, paired test with unequal sample ... cross-correlation, chirp finding - comp.dspmean shift problem - comp.soft-sys.matlab Cross correlation to find time lag by employing chirp signal ... My problem involves inputing the audio signal recorded by 2 mics ... normalized cross correlation(NCC) - comp.soft-sys.matlab ...mean shift problem - comp.soft-sys.matlab normalized cross correlation(NCC) - comp.soft-sys.matlab ..... image out of the color channels which you set to mean 0 and ... A sort order column? - comp.databases.mysqlmean shift problem - comp.soft-sys.matlab You can solve it by defining the function select(). And, no, I don't know the code for it. imresize function - comp.soft-sys.matlabmean shift problem - comp.soft-sys.matlab... of frames numberofframes = length(M); Frame1 = M(frameNo); Image1 = imresize ... Select() does not seem to be a built in ... k-means clustering - Wikipedia, the free encyclopediaIt is often easy to generalize a k-means problem into a Gaussian mixture model. Mean shift clustering. Basic mean shift clustering algorithms maintain a set of data points ... What does it mean when...? (shifting issues)so from time to time, and inconsistently, but usually when i am shifting from 3rd to 4th, the transmission seems to hit neutral. obviously it revs the 7/22/2012 8:39:54 PM
|