From: Alex Jin on
I have a video(the video is seperated to many frames) and i need to select a part of the image automatically(cropping it). It should be done automatically.

an example of the image is shown below
http://www.postimage.org/image.php?v=TskFOOJ

the part i want is in red. Please Help. Cheers
From: us on
"Alex Jin" <limyijin(a)googlemail.com> wrote in message <ho7p3o$jl4$1(a)fred.mathworks.com>...
> I have a video(the video is seperated to many frames) and i need to select a part of the image automatically(cropping it). It should be done automatically.
>
> an example of the image is shown below
> http://www.postimage.org/image.php?v=TskFOOJ
>
> the part i want is in red. Please Help. Cheers

a hint:
- requires the img proc tbx

help imcrop;

us
From: Alex Jin on
"us " <us(a)neurol.unizh.ch> wrote in message <ho7pgs$q26$1(a)fred.mathworks.com>...
> "Alex Jin" <limyijin(a)googlemail.com> wrote in message <ho7p3o$jl4$1(a)fred.mathworks.com>...
> > I have a video(the video is seperated to many frames) and i need to select a part of the image automatically(cropping it). It should be done automatically.
> >
> > an example of the image is shown below
> > http://www.postimage.org/image.php?v=TskFOOJ
> >
> > the part i want is in red. Please Help. Cheers
>
> a hint:
> - requires the img proc tbx
>
> help imcrop;
>
> us

The position of the crop of each image will be different. The part i want to crop is lighter than the surrounding position. It automatically selects the part i want for different images.
From: Alex Jin on
"Alex Jin" <limyijin(a)googlemail.com> wrote in message <ho7svf$1nm$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <ho7pgs$q26$1(a)fred.mathworks.com>...
> > "Alex Jin" <limyijin(a)googlemail.com> wrote in message <ho7p3o$jl4$1(a)fred.mathworks.com>...
> > > I have a video(the video is seperated to many frames) and i need to select a part of the image automatically(cropping it). It should be done automatically.
> > >
> > > an example of the image is shown below
> > > http://www.postimage.org/image.php?v=TskFOOJ
> > >
> > > the part i want is in red. Please Help. Cheers
> >
> > a hint:
> > - requires the img proc tbx
> >
> > help imcrop;
> >
> > us
>

I thought of doing this: finding the rgb value of the image. lets say the part that should be selected has a rbg value of 5, meaning once rgb value > then 5 is detected, the place should be cropped. I am new to matlab. Please Advice.