Skip to content, Skip to search

Changes

ImgLib2 Examples

8 bytes added, 11:11, 18 October 2012
no edit summary
By using the concept of '''Views''' it is possible to display only parts of the image, display a rotated view, and many more cool things. Note that you can also concatenate them. '''Views''' are much more powerful than shown in this example, they will be increasingly used throughout the examples.
A '''View''' almost behaves similar to an '''Img''', and in fact they share important concepts. Both are '''RandomAccessible''' , and '''Views''' that are not infinite. Also they are both also an '''Interval''' (i.e. those '''Views''' have a defined size) and can therefore be made '''Iterable''' (see example 2c). In ImgLib2, all algorithms are implemented for abstract concepts like '''RandomAccessible''', '''Iterable''' or '''Interval'''. This enables us, as can be seen below, to display a '''View''' the exact same way we would also display an '''Img'''.
[[Image:ImgLib2example1d.jpg|780px]]
Emailconfirmed, incoming, uploaders
1,086
edits