r33 | ozzloy | 2007-08-10 13:30:53 -0700 (Fri, 10 Aug 2007) | 9 lines
graphTop9Eigs now scales the top 9 eigenvectors such that the lowest value on
any pixel+color element is 0, and the highest is 255. the rest are truncated to
integral values somewhere in between
createPicElem is in progress. it will hold all the information about an image,
such as the pixel+channel column vector, the number of rows, cols, and which
colors, the set ppm, the picture's ppm. NOTE: createPicElem doesn't actually do
this stuff yet.
my work is mostly mathematical. most of the time i don't need to see an actual picture, even though i'm dealing with thousands of them all the time. but i do need to represent what i'm doing for other people to gauge my progress. for the people only loosely familiar with the details, i must represent what i am doing in a way that glosses over details and emphasizes important parts.
top9eigs will take the top 9 eigenvalues and turn them into pictures. this function was not maintained very well. it was not tested for robustness to different inputs. it did not handle all correct inputs correctly. now it handles a wider variety of inputs and scales them correctly. i use this to generate a graphical representation of the mathematics performed. i am then able to use this as a visual aid as i explain to investors what progress i have made.
i must also create a way to store meta data about the pictures. i have decided to do this with a struct. i want to spend the least amount of time possible building this, so i'm not going to learn anything new first. it seems like using structs would be the quickest way to do this. i might do objects later.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment