[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd vision.h
From: |
Gerhard Reitmayr |
Subject: |
[libcvd-members] libcvd/cvd vision.h |
Date: |
Fri, 22 Apr 2011 14:56:09 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Gerhard Reitmayr <gerhard> 11/04/22 14:56:09
Modified files:
cvd : vision.h
Log message:
everything should work on subimages :)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/vision.h?cvsroot=libcvd&r1=1.39&r2=1.40
Patches:
Index: vision.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/vision.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- vision.h 8 Apr 2011 10:54:56 -0000 1.39
+++ vision.h 22 Apr 2011 14:56:09 -0000 1.40
@@ -320,7 +320,7 @@
* @Note: this will collide with transform in the std namespace
*/
template <typename T, typename S, typename P>
-int transform(const BasicImage<S>& in, BasicImage<T>& out, const
TooN::Matrix<2, 2, P>& M, const TooN::Vector<2, P>& inOrig, const
TooN::Vector<2, P>& outOrig, const T defaultValue = T())
+int transform(const SubImage<S>& in, SubImage<T>& out, const TooN::Matrix<2,
2, P>& M, const TooN::Vector<2, P>& inOrig, const TooN::Vector<2, P>& outOrig,
const T defaultValue = T())
{
const int w = out.size().x, h = out.size().y, iw = in.size().x, ih =
in.size().y;
const TooN::Vector<2, P> across = M.T()[0];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libcvd-members] libcvd/cvd vision.h,
Gerhard Reitmayr <=