Adobe Systems, Inc.

image_view.hpp File Reference

image view class More...

#include "gil_config.hpp"
#include <cstddef>
#include <iterator>
#include "pixel_iterator.hpp"

Go to the source code of this file.


Classes

class  image_view< LOC >
 A lightweight object that interprets memory as a 2D array of pixels. More...
struct  image_view< LOC >::axis< D >

get_width, get_height, get_dimensions, get_num_channels

Returns the dimensions of an image or an image view

template<typename T>
T::point_t get_dimensions (const T &v)
template<typename T>
T::y_coord_t get_height (const T &a)
template<typename T>
int get_num_channels (const T &)
template<typename T>
T::x_coord_t get_width (const T &a)

Functions

template<typename L2>
void swap (image_view< L2 > &x, image_view< L2 > &y)

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on May 16, 2006

Definition in file image_view.hpp.


Function Documentation

template<typename T>
T::x_coord_t get_width const T &  a  ) 
 

Returns the width of an image or an image view.

Definition at line 184 of file image_view.hpp.

template<typename T>
T::y_coord_t get_height const T &  a  ) 
 

Returns the height of an image or an image view.

Definition at line 187 of file image_view.hpp.

template<typename T>
T::point_t get_dimensions const T &  v  ) 
 

Returns the dimensions of an image or an image view.

Definition at line 190 of file image_view.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