Adobe Systems, Inc.

image.hpp File Reference

Templated image. More...

#include "gil_config.hpp"
#include "planar_ref.hpp"
#include <memory>
#include "image_view.hpp"

Go to the source code of this file.


Classes

class  image< V, ALLOC >
 container interface over image view More...
class  image< V, ALLOC >::is_planar<>

view, const_view

Get an image view from an image

template<typename V2, typename ALLOC2>
const V2::const_t & const_view (const image< V2, ALLOC2 > &img)
template<typename V2, typename ALLOC2>
const V2 & view (image< V2, ALLOC2 > &img)

resize_clobber_image

Resizes a given image and invalidates its pixel values. If out of memory exception is thrown the image remains unchanged

template<typename IMG>
void resize_clobber_image (IMG &img, const typename IMG::x_coord_t &width, const typename IMG::y_coord_t &height)
template<typename IMG>
void resize_clobber_image (IMG &img, const typename IMG::point_t &new_dims)

Functions

template<typename V1, typename V2>
ADOBE_GIL_NAMESPACE_BEGIN void copy_pixels (const V1 &src, const V2 &dst)
template<typename V1, typename V2>
bool operator!= (const image< V1 > &im1, const image< V2 > &im2)
template<typename V1, typename V2>
bool operator== (const image< V1 > &im1, const image< V2 > &im2)
template<typename V, typename ALLOC>
void swap (image< V, ALLOC > &im1, image< V, ALLOC > &im2)

Detailed Description

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

Definition in file image.hpp.


Function Documentation

template<typename V2, typename ALLOC2>
const V2::const_t& const_view const image< V2, ALLOC2 > &  img  ) 
 

Returns the constant-pixel view of an image.

Definition at line 195 of file 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