Modules | Alphabetical List | Class List | Directories | File List | GIL Home Page

# Image View From Raw Data
[Algorithms and Utility Functions]

## Detailed Description

Methods for constructing image views from raw data and for getting raw data from views.

## Functions

template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, cmyk_t > >::view_t | planar_cmyk_view (std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes)
| from raw CMYK planar data
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, devicen_t< 2 > > >::view_t | planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, std::ptrdiff_t rowsize_in_bytes)
| from 2-channel planar data
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, devicen_t< 3 > > >::view_t | planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, std::ptrdiff_t rowsize_in_bytes)
| from 3-channel planar data
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, devicen_t< 4 > > >::view_t | planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, std::ptrdiff_t rowsize_in_bytes)
| from 4-channel planar data
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, devicen_t< 5 > > >::view_t | planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, IC c4, std::ptrdiff_t rowsize_in_bytes)
| from 5-channel planar data
template<typename Iterator>
type_from_x_iterator< Iterator > ::view_t | interleaved_view (std::size_t width, std::size_t height, Iterator pixels, std::ptrdiff_t rowsize_in_bytes)
| Constructing image views from raw interleaved pixel data.
template<typename Iterator>
type_from_x_iterator< Iterator > ::view_t | interleaved_view (point2< std::size_t > dim, Iterator pixels, std::ptrdiff_t rowsize_in_bytes)
| Constructing image views from raw interleaved pixel data.
template<typename HomogeneousView>
detail::channel_pointer_type < HomogeneousView >::type | interleaved_view_get_raw_data (const HomogeneousView &view)
| Returns C pointer to the the channels of an interleaved homogeneous view.
template<typename HomogeneousView>
detail::channel_pointer_type < HomogeneousView >::type | planar_view_get_raw_data (const HomogeneousView &view, int plane_index)
| Returns C pointer to the the channels of a given color plane of a planar homogeneous view.
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, rgb_t > >::view_t | planar_rgb_view (std::size_t width, std::size_t height, IC r, IC g, IC b, std::ptrdiff_t rowsize_in_bytes)
| from raw RGB planar data
template<typename IC>
type_from_x_iterator < planar_pixel_iterator< IC, rgba_t > >::view_t | planar_rgba_view (std::size_t width, std::size_t height, IC r, IC g, IC b, IC a, std::ptrdiff_t rowsize_in_bytes)
| from raw RGBA planar data