Adobe Systems, Inc.

any_image.hpp File Reference

Support for run-time instantiated images and image views. More...

#include "any_image_view.hpp"
#include "../../core/image.hpp"

Go to the source code of this file.


Namespaces

namespace  detail

Classes

class  any_image< IMAGE_TYPES >
 Represents a run-time specified image. More...
struct  detail::any_image_get_const_view< AnyConstView >
struct  detail::any_image_get_view< AnyView >
struct  detail::resize_clobber_image_fnobj

view, const_view

Get an image view from a run-time instantiated image

template<typename TYPES>
GIL_FORCEINLINE any_image<
TYPES >::const_view_t 
const_view (const any_image< TYPES > &anyImage)
template<typename TYPES>
GIL_FORCEINLINE any_image<
TYPES >::view_t 
view (any_image< TYPES > &anyImage)

get_width, get_height, get_dimensions, get_num_channels

Returns the dimensions of an instance of any_image

template<typename TYPES>
GIL_FORCEINLINE point2< int > get_dimensions (const any_image< TYPES > &v)
template<typename TYPES>
GIL_FORCEINLINE int get_height (const any_image< TYPES > &a)
template<typename TYPES>
GIL_FORCEINLINE int get_num_channels (const any_image< TYPES > &a)
template<typename TYPES>
GIL_FORCEINLINE int get_width (const any_image< TYPES > &a)
template<typename TYPES>
GIL_FORCEINLINE void resize_clobber_image (any_image< TYPES > &img, const point2< int > &sz)
template<typename TYPES>
GIL_FORCEINLINE void resize_clobber_image (any_image< TYPES > &img, int w, int h)

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated

Definition in file any_image.hpp.


Function Documentation

template<typename TYPES>
GIL_FORCEINLINE any_image<TYPES>::const_view_t const_view const any_image< TYPES > &  anyImage  ) 
 

Returns the constant-pixel view of any image. The returned view is any view.

Definition at line 85 of file any_image.hpp.

template<typename TYPES>
GIL_FORCEINLINE int get_width const any_image< TYPES > &  a  ) 
 

Returns the width of any image or image view.

Definition at line 102 of file any_image.hpp.

template<typename TYPES>
GIL_FORCEINLINE int get_height const any_image< TYPES > &  a  ) 
 

Returns the height of any image or image view.

Definition at line 106 of file any_image.hpp.

template<typename TYPES>
GIL_FORCEINLINE point2<int> get_dimensions const any_image< TYPES > &  v  ) 
 

Returns the dimensions of any image or image view.

Definition at line 110 of file any_image.hpp.

template<typename TYPES>
GIL_FORCEINLINE void resize_clobber_image any_image< TYPES > &  img,
int  w,
int  h
 

Resizes any_image.

Definition at line 124 of file any_image.hpp.

template<typename TYPES>
GIL_FORCEINLINE void resize_clobber_image any_image< TYPES > &  img,
const point2< int > &  sz
 

Resizes any_image.

Definition at line 130 of file any_image.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