Monday, March 12, 2007

A matrix in a vector for no good reason.

So, I've been rerunning this program I designed last month. It takes a random 256 pixel square out of each of 4212 images in a calibrated database of photographs. It determines which of 108 frequency-space filters would give the biggest response to that sub-image. That's 9 frequencies (the lowest and two highest never have maximal responses, but they're there as buffers so no energy is ignored). For some reason, I wrote the spectral filtering function so that it would return the filter coefficients in a 108 entry vector instead of a 12x9 matrix. I don't know why I wrote it this way. This means that every time I want to do something different with the data in the driver function, I have to sit and think again about how to find the right entry in the vector. This is really irritating, but I don't go back and slightly rewrite the analyzer function, because I don't want to do a bunch of back-and-forth fixing to adjust for the function fix. I leave the function messed up and go ahead and just make things difficult for myself in handling the output data. I don't know why. Also, my tooth-hole hurts.

10 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. thankee very much, gonzo!

    ReplyDelete
  3. if you have wisdom teeth still, take care of them! if not, retroactive condolences to you all!!!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. 1’2 34567, 84 1 49965:

    wxjz dawx m gnqxnpuo qlzmlt, kunlz n awxqlzq, kzme mxq kzmlt, whzl gmxt m rdmnxo mxq jdlnwdy hwsdgz wc cwlpwoozx swlz, kunsz n xwqqzq, xzmlst xmaanxp, ydqqzxst ouzlz jmgz m omggnxp, my wc ywgz wxz pzxosy lmaanxp, lmaanxp mo gt jumgfzl qwwl. “‘ony ywgz hnynowl,” n gdoozlzd, “omwwnxp mo gt jumgfzl qwwl--wxst ouny, mxq xwounxp gwlz.”

    ReplyDelete
  6. didn't melody decode the code last time? is this a code or a monster attack?

    ReplyDelete
  7. no, just for fun (mostly mine, honestly!) no attack...just a fun cryptogram. it's very familiar, except the numbers. just giving something new to read.

    ReplyDelete
  8. not fair, i figured n, then m, then x and q, then o and y; then it popped out and i knew what it was; then, realized it was subtly misdone to mislead me, and 'tapping' was spelled 'tamming' and 'taooing' in the conversion, and 'muttered' was 'muttereu'. yar.

    ReplyDelete
  9. oh, that's funny! I tried to outsmart you with my stupidity! i didn't double check this one! you got it. I wanted to alter the structure, because i figured that would give it away, but i guess i screwed up the code! my stupidity leads me to genius!

    ReplyDelete
  10. I just solved it! Oh, that's terrible! I'm a terrible person! If I ever post another one, I'll be sure to double check it! I'm so dumb.

    ReplyDelete