[00:59] Good bacon to all! [01:37] SamuraiAlba: does chocolate coated bacon chip cookies sound enticing to you? [01:39] wasn't that on Epic Meal Time, last month [01:41] OM NOM NOM! [01:41] Pulling a good guy greg this weekend [01:41] GF dumps me, her computers go nuts [01:41] I'm going up to fix them for free [01:42] and this is AFTER I'm rerunning the entire LAN at work... [01:42] anyway.. sleepytime... dreams of cookies :) [01:43] sweet dreams, [01:54] Let's see, now. GF dumps you, THEN you choose to fix big computer problem of hers. Stay that nice guy. That could make a reputation that could attract more attention. [01:55] maybe, but on the other!!!! the flip side works faster [09:08] Morning. [09:35] Morning [09:40] *yawn* [11:05] Back to last night... [11:06] Yeah, I'll stay the nice guy :) [11:06] wootoff btw. [11:06] Turns out after running SFC /scannow, 3 of her PCs say they cant repir some system files... [11:06] *Repair [11:06] so.... I have to reinstall WHILE keeping her apps and data... [11:06] no biggie [12:16] Enjoy being busy fixing drive or saving files to go elsewhere. [12:16] morning [12:18] i want this woot [12:18] * JonathanD needs to get to work quick! [12:24] JonathanD wants a 32" tv ? Not so good for a monitor for computer though. [12:29] for fosscon [12:47] JonathanD: should check out the 'sellout woot' they have 32" 720p HDTV for only $99 refurb. Way better [12:48] 'n the reg woot for $209 [12:48] InHisName: it's a 22 inch [12:48] not 32 [12:48] 22 is too small. [12:49] Oh, missed that 3 for 2 digit [12:49] Well [12:49] Fosscon is getting at least one TV. [12:52] woot is not working very well [12:52] fosscon might not be getting at least one TV [12:53] server error. [12:55] Well y not a 22" in liu of anything else ? [12:56] Or...... how about just borrow for the period from someone who can spare it out? [13:18] anyone have time to help poor old turkey? [13:18] i need some programming advice === MutantTurkey is now known as argv_turk [13:36] argv_turk: y the name change? YOU? need programming advice ? [13:37] yes [13:37] yes [13:37] unfortunately [13:37] I have 18000 images, with a height of X and a width of Y, each pixel location on each image has 3 values, the R G and B. [13:37] how should I store that in an array? [13:37] What is it? If its cobol, I cannot help [13:37] C [13:38] .mp4 ? [13:38] int array[18000][height][width][RBG]? [13:38] png [13:39] Shouldn't there be an app that takes n png images and converts to mp4 storage. Then is able to do the reverse when needed ? [13:40] why would I need to do that? [13:40] I already have the mp4 and the pngs [13:40] I need to do some data operations on the pixels [13:40] so I need to store them properly [13:40] you were asking for compact way to store them? [13:41] png is good for a still image [13:42] I was asking for a way to store them inside of a program [13:42] sorry [13:42] I need a way to access them from inside of the program [13:43] i need to I read all these pixels, do some operations, and then write out some into [13:43] What kind of program? One that you compiled ? [13:43] yes I am writing a program to compute the mode of each pixel across nImages [13:43] to generate a common background [13:43] rather to derive one [13:45] So you are reading all the pixel values and running some math for an answer for each image ? [13:46] reading all of the pixel values, and running math for a certain pixel across images [13:46] so [13:46] maybe it's pixel (1,1) and we need to compare the RBG across all 18000 images [13:48] Open up file directory to the list of 18,000 and start with first one and loop until the last. [13:48] open up on image into memory. [13:49] yes [13:49] exactly [13:49] I am asking how to declare the array [13:49] if you don't know - well - me neither. [13:49] Loop on that image and do the repeating calcs for that image. Save anything in running totals if you need those. Save details into metadata of the file (like audio data in mp3's) [13:50] C language ? There are std ways to open a path and import the list into memory then loop the list. [13:50] Then open each item as you loop it. [13:56] array[2000][3000] x 3 for a 2k x 3k image ? so array[345][567][1] is red and [345][567][2] is green and ...[3] is blue of the same pixel. That syntax is used in several languages, not sure if c though. [14:00] Or maybe no array at all. Just var[18,456] to hold all the bytes of one image plus extra bytes. Then the whole file is stored in memory. Then you just do your array walking by calculating the position into the file. [14:04] Or build your own raw file reader/writer. Must know your file format to the byte detail. What each byte is for. [14:06] For example: image 3k x2k x3 bytes. Horiz 3k, vert 2k, 3 colors. plus 993 bytes before 1st image bytes. plus 558 trailing misc bytes. plus wasted padding to fill up last sector. [14:08] So do sector reads. 1st 512 is leading bytes. 2nd is mixed 481 2nd batch leading bytes. Remaining are image bytes. 31 bytes total. [14:10] Say the bytes are store thusly: row 0 col 0 blue, green, red, row0, col1, blue, green, red, etc. [14:10] Loop [14:10] row =0 [14:10] loop {row} [14:10] col = 0 [14:11] loop {col} [14:11] color = 0 [14:11] loop {color} [14:11] i give up [14:11] image[col][row][color] =raw[index] [14:12] color++ [14:12] end loop color [14:12] col++ [14:12] end loop col [14:12] row++ [14:12] end loop row [14:14] until you read all raw bytes in and store into your array image[row][col][color] [14:14] Now you can loop on your image and do math on it [14:15] When done save data accumulated into metadata and save file. Add other data to running totals if desired. [14:15] loop back to read next image file and do again. [14:16] good idea [14:17] Check C libs for maybe something prebuilt that reads in png files. Use their format for array and process on that. [14:18] C is old png are pretty old. There is bound to be something that is already made that could be reused. [14:27] yeah I looke [14:27] I am using Imagmagick to parse the array === pleia2_ is now known as pleia2 === Joe_CoT is now known as Balls === Balls is now known as Joe_CoT === Joe_CoT is now known as dracopervicats === dracopervicats is now known as Joe_CoT [21:29] * waltman narrowly avoided jury duty for the second straight day! [22:38] waltman: would love to come to this thing saturday... [22:39] We're having a family thing at the zoo though. [22:39] and it looks like this is basically all day?