libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd/cvd image.h


From: Edward Rosten
Subject: [libcvd-members] libcvd/cvd image.h
Date: Fri, 21 Jul 2006 01:01:31 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        06/07/21 01:01:31

Modified files:
        cvd            : image.h 

Log message:
        Fixed compile error with subimage iterators.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/image.h?cvsroot=libcvd&r1=1.21&r2=1.22

Patches:
Index: image.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/image.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- image.h     11 Jul 2006 16:16:02 -0000      1.21
+++ image.h     21 Jul 2006 01:01:31 -0000      1.22
@@ -198,7 +198,7 @@
                {}
                
                SubImageIterator(T* end) 
-               :ConstSubImageIteratorEnd<T>::ptr(end)
+               :ConstSubImageIterator<T>(end)
                { }
 
                SubImageIterator()
@@ -243,6 +243,16 @@
 };
 
 
+/// A generic image class to manage a block of srbitrarily padded data as an 
image. Provides
+/// basic image access such as accessing a particular pixel co-ordinate. 
+/// @param T The pixel type for this image. Typically either
+/// <code>CVD::byte</code> or <code>CVD::Rgb<CVD::byte> ></code> are used,
+/// but images could be constructed of any available type.
+/// 
+/// A BasicImage does not manage its own data, but provides access to an 
+/// arbitrary externally-managed block of data as though it were an image. Use
+/// the derived Image class if you want an image which also has its own data.
+/// @ingroup gImage
 template<class T> class SubImage
 {
        public:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]