Adobe Systems, Inc.

Image View Constructors
[Image View]

Methods for constructing image views from raw data or other image views. More...

Classes

struct  color_convert_view_type< SRC_VIEW, DST_P >
 Returns the type of a view that does color conversion upon dereferencing its pixels. More...
struct  nth_channel_view_type< VIEW >
 Given a source image view type VIEW, returns the related types of an image view and x_iterator over a single channel of VIEW. More...

From existing views

constructing views from existing views

template<typename DST_P, typename VIEW>
color_convert_view_type< VIEW,
DST_P >::type 
color_converted_view (const VIEW &src)
template<typename VIEW>
VIEW::dynamic_step_t flipped_left_right_view (const VIEW &src)
template<typename VIEW>
VIEW flipped_up_down_view (const VIEW &src)
template<typename VIEW>
nth_channel_view_type< VIEW
>::type 
nth_channel_view (const VIEW &src, int n)
template<typename VIEW>
VIEW::dynamic_step_t rotated180_view (const VIEW &src)
template<typename VIEW>
VIEW::dynamic_step_t rotated90ccw_view (const VIEW &src)
template<typename VIEW>
VIEW::dynamic_step_t rotated90cw_view (const VIEW &src)
template<typename VIEW>
VIEW subimage_view (const VIEW &src, const typename VIEW::point_t &topleft, const typename VIEW::point_t &dimensions)
template<typename VIEW>
VIEW subimage_view (const VIEW &src, int xMin, int yMin, int width, int height)
template<typename VIEW>
VIEW::dynamic_step_t subsampled_view (const VIEW &src, typename VIEW::coord_t xStep, typename VIEW::coord_t yStep)
template<typename VIEW>
VIEW::dynamic_step_t subsampled_view (const VIEW &src, const typename VIEW::point_t &step)
template<typename VIEW>
VIEW::dynamic_step_t transposed_view (const VIEW &src)

Overloads for run-time instantiated image views

template<typename VTYPES>
any_image_view< VTYPES
>::dynamic_step_t 
flipped_left_right_view (const any_image_view< VTYPES > &src)
template<typename VTYPES>
any_image_view< VTYPES > flipped_up_down_view (const any_image_view< VTYPES > &src)
template<typename VTYPES>
any_image_view< VTYPES
>::dynamic_step_t 
rotated90cw_view (const any_image_view< VTYPES > &src)
template<typename VTYPES>
any_image_view< VTYPES
>::dynamic_step_t 
tranposed_view (const any_image_view< VTYPES > &src)

interleaved_view, planar_xxx_view

Constructing image views from raw pixel data

template<typename IT>
type_from_x_iterator< IT
>::view_t 
interleaved_view (int width, int height, IT pixels, std::ptrdiff_t rowsize_in_bytes)
template<typename IC>
type_from_x_iterator< planar_ptr<
IC, cmyk_t > >::view_t 
planar_cmyk_view (int width, int height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes)
template<typename IC>
type_from_x_iterator< planar_ptr<
IC, hsb_t > >::view_t 
planar_hsb_view (int width, int height, IC h, IC s, IC b, std::ptrdiff_t rowsize_in_bytes)
template<typename IC>
type_from_x_iterator< planar_ptr<
IC, lab_t > >::view_t 
planar_lab_view (int width, int height, IC l, IC a, IC b, std::ptrdiff_t rowsize_in_bytes)
template<typename IC>
type_from_x_iterator< planar_ptr<
IC, rgb_t > >::view_t 
planar_rgb_view (int width, int height, IC r, IC g, IC b, std::ptrdiff_t rowsize_in_bytes)
template<typename IC>
type_from_x_iterator< planar_ptr<
IC, rgba_t > >::view_t 
planar_rgba_view (int width, int height, IC r, IC g, IC b, IC a, std::ptrdiff_t rowsize_in_bytes)

Detailed Description


Function Documentation

template<typename IT>
type_from_x_iterator<IT>::view_t interleaved_view int  width,
int  height,
IT  pixels,
std::ptrdiff_t  rowsize_in_bytes
 

from raw interleaved data

Definition at line 38 of file core/image_view_factory.hpp.

template<typename DST_P, typename VIEW>
color_convert_view_type<VIEW,DST_P>::type color_converted_view const VIEW &  src  ) 
 

view of a different color space

Definition at line 105 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t flipped_left_right_view const VIEW &  src  ) 
 

view of a view flipped left-to-right

Definition at line 117 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW flipped_up_down_view const VIEW &  src  ) 
 

view of a view flipped up-to-down

Definition at line 111 of file core/image_view_factory.hpp.

template<typename VIEW>
nth_channel_view_type<VIEW>::type nth_channel_view const VIEW &  src,
int  n
 

single-channel (grayscale) view of the N-th channel of a given image_view

Definition at line 217 of file core/image_view_factory.hpp.

template<typename IC>
type_from_x_iterator<planar_ptr<IC,cmyk_t> >::view_t planar_cmyk_view int  width,
int  height,
IC  c,
IC  m,
IC  y,
IC  k,
std::ptrdiff_t  rowsize_in_bytes
 

from raw CMYK planar data

Definition at line 56 of file core/image_view_factory.hpp.

template<typename IC>
type_from_x_iterator<planar_ptr<IC,hsb_t> >::view_t planar_hsb_view int  width,
int  height,
IC  h,
IC  s,
IC  b,
std::ptrdiff_t  rowsize_in_bytes
 

from raw HSB planar data

Definition at line 68 of file core/image_view_factory.hpp.

template<typename IC>
type_from_x_iterator<planar_ptr<IC,lab_t> >::view_t planar_lab_view int  width,
int  height,
IC  l,
IC  a,
IC  b,
std::ptrdiff_t  rowsize_in_bytes
 

from raw LAB planar data

Definition at line 62 of file core/image_view_factory.hpp.

template<typename IC>
type_from_x_iterator<planar_ptr<IC,rgb_t> >::view_t planar_rgb_view int  width,
int  height,
IC  r,
IC  g,
IC  b,
std::ptrdiff_t  rowsize_in_bytes
 

from raw RGB planar data

Definition at line 44 of file core/image_view_factory.hpp.

template<typename IC>
type_from_x_iterator<planar_ptr<IC,rgba_t> >::view_t planar_rgba_view int  width,
int  height,
IC  r,
IC  g,
IC  b,
IC  a,
std::ptrdiff_t  rowsize_in_bytes
 

from raw RGBA planar data

Definition at line 50 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t rotated180_view const VIEW &  src  ) 
 

view of an image_view rotated 180 degrees

Definition at line 141 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t rotated90ccw_view const VIEW &  src  ) 
 

view of an image_view rotated 90 degrees counter-clockwise

Definition at line 135 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t rotated90cw_view const VIEW &  src  ) 
 

view of a view rotated 90 degrees clockwise

Definition at line 129 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW subimage_view const VIEW &  src,
const typename VIEW::point_t &  topleft,
const typename VIEW::point_t &  dimensions
 

view of an axis-aligned rectangular area within an image_view

Definition at line 147 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t subsampled_view const VIEW &  src,
const typename VIEW::point_t &  step
 

view of a subsampled version of an image_view, stepping over a number of channels in X and number of rows in Y

Definition at line 165 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t subsampled_view const VIEW &  src,
typename VIEW::coord_t  xStep,
typename VIEW::coord_t  yStep
 

view of a subsampled version of an image_view, stepping over a number of channels in X and number of rows in Y

Definition at line 157 of file core/image_view_factory.hpp.

template<typename VIEW>
VIEW::dynamic_step_t transposed_view const VIEW &  src  ) 
 

view of a view transposed

Definition at line 123 of file core/image_view_factory.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google