- stllcv_0_7_7.zip
- stllcv_0_7_7
- stllcv_0_5_1.zip
- stllcv_0_5_1
- Doxyfile
- include
- stllcv
- LICENSE
- src
- stllcv_0_7_5.zip
- stllcv_0_7_5
- stllcv_0_7_2.zip
- stllcv_0_7_2
- include
- stllcv
- src
- example
- basicimage.cpp
- basicimage.vcproj
- basicimage.vcproj.LETSNOTE.niitsuma.user
- basicimage.vcproj.REX.niitsuma.user
- CvMatWrap.cpp
- CvMatWrap.vcproj
- CvMatWrap.vcproj.LETSNOTE.niitsuma.user
- CvMatWrap.vcproj.REX.niitsuma.user
- gil_wrap_iplimage_example.cpp
- gil_wrap_iplimage_example.vcproj
- histogram.cpp
- histogram.vcproj
- histogram.vcproj.LETSNOTE.niitsuma.user
- histogram.vcproj.REX.niitsuma.user
- lena.jpg
- lena2.jpg
- matrix.cpp
- matrix.vcproj
- matrix.vcproj.LETSNOTE.niitsuma.user
- matrix.vcproj.REX.niitsuma.user
- test.jpg
- Imageregistration
- lena.jpg
- lena2.jpg
- lenaSub.jpg
- PhaseOnlyCorrelation.cpp
- PhaseOnlyCorrelation.vcproj
- PhaseOnlyCorrelation.vcproj.LETSNOTE.niitsuma.user
- PhaseOnlyCorrelation.vcproj.REX.niitsuma.user
- stllcv.sln
|
/*
Copyright 2005-2006 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://opensource.adobe.com/licenses.html)
*/
#ifndef GIL_ANY_IMAGE_IMPL_HPP
#define GIL_ANY_IMAGE_IMPL_HPP
#ifdef NO_ASL
#include <gil/core/typedefs.hpp>
#include <gil/extension/dynamic_image/any_image_factory.hpp>
#include <gil/extension/dynamic_image/any_image.hpp>
#else
#include <adobe/gil/core/typedefs.hpp>
#include <adobe/gil/extension/dynamic_image/any_image_factory.hpp>
#include <adobe/gil/extension/dynamic_image/any_image.hpp>
#endif
using namespace GIL;
///////////////////////////////////////////////////////////////////////////////////
///
/// Define the scope of a run-time images and image views
///
///////////////////////////////////////////////////////////////////////////////////
// This is how to define any_image_t as a simple enumeration of images
//typedef any_image<boost::mpl::vector<gray8_image_t, rgb8_image_t, rgb8_planar_image_t, rgba8_image_t> > any_image_t;
// This is how to define it as a cross-product of types
//typedef boost::mpl::vector<bits8, bits16> all_channels_vec_t;
typedef boost::mpl::vector<bits8> all_channels_vec_t;
//typedef any_image<cross_vector_image_types<all_channels_vec_t, boost::mpl::vector<gray_t, bgr_t>,kInterleavedOnly>::type> any_image_t;
// This is how to define it as a union or other types (which could be enumerations, cross products or other unions)
typedef boost::mpl::concat_vector <
cross_vector_image_types<all_channels_vec_t, boost::mpl::vector<gray_t, bgr_t, argb_t>, kInterleavedOnly >::type,
cross_vector_image_types<all_channels_vec_t, boost::mpl::vector<rgb_t, cmyk_t, rgba_t>, kInterleavedAndPlanar>::type
> any_image_types;
typedef any_image<any_image_types> any_image_t;
// This is how to define any_image_view. Normally you don't need to do that. You can define any_image_t and then use any_image_t::view_t
typedef boost::mpl::concat_vector<
cross_vector_image_view_types<all_channels_vec_t, boost::mpl::vector<gray_t, bgr_t, argb_t>, kInterleavedOnly, kNonStepAndStep, true>::type,
cross_vector_image_view_types<all_channels_vec_t, boost::mpl::vector<rgb_t, cmyk_t, rgba_t>, kInterleavedAndPlanar, kNonStepAndStep, true>::type> any_image_view_types;
typedef any_image_view<any_image_view_types> any_image_view_t;
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.