minor fix
This commit is contained in:
@@ -173,6 +173,7 @@ namespace cv { namespace gpu
|
||||
|
||||
template <typename _Tp> operator DevMem2D_<_Tp>() const;
|
||||
template <typename _Tp> operator PtrStep_<_Tp>() const;
|
||||
template <typename _Tp> operator PtrStep<_Tp>() const;
|
||||
|
||||
/*! includes several bit-fields:
|
||||
- the magic signature
|
||||
@@ -427,6 +428,11 @@ namespace cv { namespace gpu
|
||||
return PtrStep_<T>(static_cast< DevMem2D_<T> >(*this));
|
||||
}
|
||||
|
||||
template <class T> inline GpuMat::operator PtrStep<T>() const
|
||||
{
|
||||
return PtrStep<T>((T*)data, step);
|
||||
}
|
||||
|
||||
inline GpuMat createContinuous(int rows, int cols, int type)
|
||||
{
|
||||
GpuMat m;
|
||||
|
||||
Reference in New Issue
Block a user