Published online by Cambridge University Press: 28 May 2010
Chapter 2
Exercise 2.1 (Simple morph)
Given: two gray-scale images: P1 and P2
Input: U(t) = P1
Initial state: X(0) = P2
Boundary conditions: white frame
Output: Y(t) = a transition from P2 to P1.
Task
Design a single template, which implements this transition.
Example
Exercise 2.2 (Hexagonal neighborhood)
The standard CNN definition specifies that the cells form a rectangular grid. Anther feasible form could be a hexagonal grid.
Task
Give a formula for the side length and the area of a hexagon (measured in cells) in the case of a hexagonal cell grid, when the sphere of influence equals r.
Exercise 2.3 (Triangular neighborhood)
The standard CNN definition specifies that the cells form a rectangular grid. There are only three possibilities to cover the plane. These are rectangular, hexagonal, and triangular.
Task
Give a formula for the area of a triangle in the case of a triangular cell grid, when the sphere of influence equals r.
Chapter 3
Exercise 3.1 (Separate connected objects)
The problem to be solved is to separate connected objects. The example shows a test image where objects are all similar in size. All objects should be separated but their sizes must be preserved.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.