Skip to main content.
April 12th, 2005

Zzzzzzzzzzzz ..usual things

Lack of sleep is taking a toll on me. I can’t focus on things, I tend to be less positive than I could.. and my under eye bags are getting worse. Of the recent pictures that have been taken of me, I can only keep those where I wear sunglasses. I’ve been doctoring pictures before, to fix the tired look on my face … 8) … but that’s not a solution. The truth is that I need to sleep !!
Right now I’m using Crimson Editor to edit this post. I found out that it has a spell checker. Great ! But the real reason why I’m not editing within GMail is that I need a custom black background to lessen the pain on my eyes.
A few months ago I tried some popular sleeping pills that can be bought here in Japan. Unfortunately, those don’t seem to help in getting me convinced to fall asleep. They did give me some solid dreams, but as far as getting me quick to sleep.. not a chance.
On a different note. I’ve been looking around image processing, a field that interests me very much. This relates to improving image quality of Aibo, but also to video-compression. One very fascinating thing is how a thumbnail can look decent at its own resolution, but look terrible when stretched. Obviously all the “information” introduced by (usually) bilinear filtering is largely spurious.
I’ve been working on a better re-sampling algorithm for my next video-chat software. It’s nothing too new. Basically, I try to individuate the logical direction formed by adjacent pixels rather than blidly interpolate rows and columns.
Here is an example, on the left is a portion of an image down-sampled to 50% and then up-sampled back to the original size, using The Gimp (which probably uses bilinear filtering), on the right my up-sampling:



Bilinear up-sampling
Cheap 2×2 matrix up-sampling

A lot more can be done. Specifically, working on sub-matrices of 2×2 pixels, like I’m doing, is still not nearly good enough. A better re-sampling should try to individuate edges and shapes in an image and preserve those features as much as possible. Ultimately, the best result would come out of an algorithm that has somewhat experience and can at some level understand what the contents of the image are, and fill the missing pixels at re-sampling time, with those that fit the algorithm’s experience. This is what our brain does, and that’s why we can “zoom” image thumb-nails in our mind, much better than bilinear or trilinear filtering do 8)

Posted by Davide Pasca in Uncategorized

This entry was posted on Tuesday, April 12th, 2005 at 10:48 pm and is filed under Uncategorized. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “Zzzzzzzzzzzz ..usual things”

  1. Rince says:

    I found recently that my eyes were getting strained because of a lack of lighting at work. I suppose the contrast between the CRT and the ambient darkness of where I was sitting was causing some discomfort to my vision.

    I asked to be moved to a desk with more ambient light and this has significantly reduced the strain on my eyes.

  2. Davide Pasca says:

    Neon light is known to emit pulses at a relatively low frequency, thus creating some sort of visible temporal aliasing with CRT displays 8)
    I have LCD monitors both at work and at home. It’s definitely more relaxing that CRT, although the monitor at work is very slow at updating pixels, making scrolling of text less than appealing..
    I’m far form any window, and they are all shut close anyway.. I think it’s a company policy/paranoia.. sad.

  3. Gotecki says:

    Introducing: lanczos interpolation! :)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>