Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7483

Follow point in AVI

From nlko <niko@homebound.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Follow point in AVI
Date 2011-12-30 12:15 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jdka0m$8e3$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hello,
I want to follow a horizontal movement of a black object on white
background in an AVI.

My concept:
- Import the first frame of the AVI
- The frame is a "list of lists" : (x = 0 to 320, y = 0 to 240, z =
RGBvalues)?
   How is the list sorted?
- the AVI is black and white, RGB is coded with 8 bits?
- values : 0 to 255 from white to black?
- take one fixed y and show a list of x and their RGBvalues
- go through x (from left to right, 0 to 320) and set a threshold for
the RGBvalue :
       If RGB > some value, then : pick position x
- save position of x in a list
- import next frame of AVI

Is it a good way to solve the problem?
Do you have any hints?

Thanks in advance,
Nlko

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Follow point in AVI nlko <niko@homebound.de> - 2011-12-30 12:15 +0000

csiph-web