Experiment 8

Geometric transformation of template

In experiment 8, we transform a template by dilation, rotation, and changing the aspect ratio.

Negative experience in Experiment 8. We encountered some difficulty with the bicycle template. When the viewing distance is close, the size of one wheel can be larger than the size of the other wheel, so a single scale factor does not give very good fit. Also, the frontal wheel may turn to a different direction than the back wheel. The above difficulty suggests that we should better split the bicycle template into two part-templates, and each part-template has its own geometric transformation. We study the composition of multiple part-templates in Experiment 7.

(1) data, codes, and readme for geometric transformation
The codes in this experiment are not optimized for speed.


Experiment 8.1. The number of elements is 60. The image size is 252 $\times$ 320. The scale factor is 1.4. The rotation is 1 $\times$ pi/15. The aspect factor is 0.9 eps


Experiment 8.1. The image size is 200 $\times$ 250. The scale factor is 1.4. The rotation is 1 $\times$ pi/15. The aspect factor is 1. eps


Experiment 8.1. The image size is 248 $\times$ 232. The scale factor is 1.2. The rotation is -1 $\times$ pi/15. The aspect factor is 0.6. eps

(2) another example


Experiment 8.2. The number of elements is 40. The image size is 138 $\times$ 168. The scale factor is 1. The rotation is 0 $\times$ pi/15. The aspect factor is 0.8. eps


Experiment 8.2. The image size is 192 $\times$ 144. The scale factor is 1. The rotation is 4 $\times$ pi/15. The aspect factor is 1.3. eps

Back to active basis homepage