Added 'EqualizeHist' function
This commit is contained in:
parent
0918c9eef3
commit
3014fc92fb
1 changed files with 5 additions and 0 deletions
|
|
@ -528,6 +528,11 @@ func (src *IplImage) Avg(mask *IplImage) Scalar {
|
||||||
return (Scalar)(C.cvAvg(unsafe.Pointer(src), unsafe.Pointer(mask)))
|
return (Scalar)(C.cvAvg(unsafe.Pointer(src), unsafe.Pointer(mask)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// cvEqualizeHist(const CvArr* src, CvArr* dst)
|
||||||
|
func (src *IplImage) EqualizeHist(dst *IplImage) {
|
||||||
|
C.cvEqualizeHist(unsafe.Pointer(src), unsafe.Pointer(dst))
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************************\
|
/****************************************************************************************\
|
||||||
* Discrete Linear Transforms and Related Functions *
|
* Discrete Linear Transforms and Related Functions *
|
||||||
\****************************************************************************************/
|
\****************************************************************************************/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue