AwsedreswA has asked for the wisdom of the Perl Monks concerning the following question:
Please help, I know it can be done.
I have 60,075 .txt files(TAB delimited) that are created from ImageJ that contains the XY coordinates and RGB tuples for each frame(60075 frames) of a video. (Macro took me days to make, 16 hours to run, and ate up 360GB)
I need the RGB tuple information from one coordinate x=384, y=377 for each frame. (this information is not always found on the same line#, which is why I need a piece of logic to find the data)
I need this data in a new file that can be loaded into a spreadsheet. So it needs to have either TAB or comma separated values. The file being created will have 60076 lines of data when completed.
Each RGB tuple file is named 00000.txt - 60075.txt
(G:\Frames as bitmap\00000.txt) <-where it sits for me
RGB tuple file example line;
0 (TAB) 0 (TAB) 113 (TAB) 0 (TAB) 255 {X Y R G B}
Desired new file example line
00000,255,255,255 or 00000 (TAB) 255 (TAB) 255 (TAB) 255
I would like to be able to adapt this based on changes to directory and coordinates desired.
Thank you for your time in advance.
My end goal is to prove the police edited an arrest video.
Still have to do statistical analysis after this to prove pixel skew.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: need logic, police edited video
by kcott (Archbishop) on Jan 02, 2014 at 06:37 UTC | |
|
Re: need logic, police edited video
by atcroft (Abbot) on Jan 02, 2014 at 09:24 UTC | |
by AwsedreswA (Initiate) on Feb 01, 2014 at 05:53 UTC | |
|
Re: need logic, police edited video
by Anonymous Monk on Jan 02, 2014 at 06:45 UTC | |
|
Re: need logic, police edited video
by Laurent_R (Canon) on Jan 02, 2014 at 07:17 UTC |