Resizing (cont.)

The resizing algorithm is like as follows:

1. Evaluate the importance at each pixel of the target image.
2. Find a seam spanning across the image. The total score of the pixels on the seam have to be minimum.
3. Remove the pixels on the seam, then close the seam. This reduces the image size by one pixel.
4. Repeat the step 2 and 3 until the image comes to the desired size.

昨日のリサイジングの手順をすこし書いてみた。

このような手順などを英語で簡潔に書きたいけど、うまく書けない。
何回書き直しても納得がいきません。実用的に英語が使えるようになるにはまだ当分掛かりそうです。

Content-Aware Resizing


Seam Carving for Content-Aware Image Resizing
http://www.faculty.idc.ac.il/arik/imret.pdf

SIGGRAPH2007の論文より。簡単なアルゴリズムだったので作ってみた。

The proposed technique in the paper can be used to resize the given image to a different
aspect ratio while keeping the image content.

In the top middle is the original image with the aspect ratio of 4:3,
which is a wallpaper in Windows Vista.
On the bottom right is the image resized to 16:9 using the standard scaling technique.
And, on the bottom left is the one using the content-aware resizing technique.

Although the artifact about the fish by the shell of the turtle might be noticable,
the size of the turtle has been kept as it is while the surroundings are rearranged effectively.

右下の普通のスケーリングではカメが痩せてしまってるけど、
左下の内容を考慮した方法だと大きさを保ってるはずです。
これ、壁紙加工用かな?

SketchUp in Vista

新しいPCに買い換えた。OSがWindows Vistaに変わった。
しかし、SketchUpが正しく動作しなくなってしまった・・・
困った。

Last week end, I bought a new PC. But unfortunately
SketchUp doesn't work properly in Windows Vista.
I should have checked the compatibility problem before replacing my PC.