OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::xphoto::SimpleWB 類參考抽象類

一種簡單的白平衡演算法,透過獨立地將每個輸入影像通道拉伸到指定的範圍來工作。 為了提高魯棒性,它忽略了頂部和底部 \(p\%\) 的畫素值。 更多...

#include <opencv2/xphoto/white_balance.hpp>

cv::xphoto::SimpleWB 的協作圖

公共成員函式

virtual float getInputMax () const =0
 輸入影像範圍最大值。
 
virtual float getInputMin () const =0
 輸入影像範圍最小值。
 
virtual float getOutputMax () const =0
 輸出影像範圍最大值。
 
virtual float getOutputMin () const =0
 輸出影像範圍最小值。
 
virtual float getP () const =0
 要忽略的頂部/底部值的百分比。
 
virtual void setInputMax (float val)=0
 輸入影像範圍最大值。
 
virtual void setInputMin (float val)=0
 輸入影像範圍最小值。
 
virtual void setOutputMax (float val)=0
 輸出影像範圍最大值。
 
virtual void setOutputMin (float val)=0
 輸出影像範圍最小值。
 
virtual void setP (float val)=0
 要忽略的頂部/底部值的百分比。
 
- 從 cv::xphoto::WhiteBalancer 繼承的公共成員函式
virtual void balanceWhite (InputArray src, OutputArray dst)=0
 將白平衡應用於輸入影像。
 
- 從 cv::Algorithm 繼承的公共成員函式
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 清除演算法狀態。
 
virtual bool empty () const
 如果 Algorithm 為空(例如,在開始時或讀取失敗後),則返回 true。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 從檔案儲存中讀取演算法引數。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 將演算法引數儲存到檔案儲存中。
 
void write (FileStorage &fs, const String &name) const
 

其他繼承的成員

- 從 cv::Algorithm 繼承的靜態公共成員函式
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 從檔案中載入演算法。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 從字串載入演算法。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 從檔案節點讀取演算法。
 
- 從 cv::Algorithm 繼承的保護成員函式
void writeFormat (FileStorage &fs) const
 

詳細描述

一種簡單的白平衡演算法,透過獨立地將每個輸入影像通道拉伸到指定的範圍來工作。 為了提高魯棒性,它忽略了頂部和底部 \(p\%\) 的畫素值。

成員函式文件

◆ getInputMax()

virtual float cv::xphoto::SimpleWB::getInputMax ( ) const
純虛擬函式
Python
cv.xphoto.SimpleWB.getInputMax() -> retval

輸入影像範圍最大值。

另請參見
setInputMax

◆ getInputMin()

virtual float cv::xphoto::SimpleWB::getInputMin ( ) const
純虛擬函式
Python
cv.xphoto.SimpleWB.getInputMin() -> retval

輸入影像範圍最小值。

另請參見
setInputMin

◆ getOutputMax()

virtual float cv::xphoto::SimpleWB::getOutputMax ( ) const
純虛擬函式
Python
cv.xphoto.SimpleWB.getOutputMax() -> retval

輸出影像範圍最大值。

另請參見
setOutputMax

◆ getOutputMin()

virtual float cv::xphoto::SimpleWB::getOutputMin ( ) const
純虛擬函式
Python
cv.xphoto.SimpleWB.getOutputMin() -> retval

輸出影像範圍最小值。

另請參見
setOutputMin

◆ getP()

virtual float cv::xphoto::SimpleWB::getP ( ) const
純虛擬函式
Python
cv.xphoto.SimpleWB.getP() -> retval

要忽略的頂部/底部值的百分比。

另請參見
setP

◆ setInputMax()

virtual void cv::xphoto::SimpleWB::setInputMax ( float val)
純虛擬函式
Python
cv.xphoto.SimpleWB.setInputMax(val) ->

輸入影像範圍最大值。

另請參見
getInputMax

◆ setInputMin()

virtual void cv::xphoto::SimpleWB::setInputMin ( float val)
純虛擬函式
Python
cv.xphoto.SimpleWB.setInputMin(val) ->

輸入影像範圍最小值。

另請參見
getInputMin

◆ setOutputMax()

virtual void cv::xphoto::SimpleWB::setOutputMax ( float val)
純虛擬函式
Python
cv.xphoto.SimpleWB.setOutputMax(val) ->

輸出影像範圍最大值。

另請參見
getOutputMax

◆ setOutputMin()

virtual void cv::xphoto::SimpleWB::setOutputMin ( float val)
純虛擬函式
Python
cv.xphoto.SimpleWB.setOutputMin(val) ->

輸出影像範圍最小值。

另請參見
getOutputMin

◆ setP()

virtual void cv::xphoto::SimpleWB::setP ( float val)
純虛擬函式
Python
cv.xphoto.SimpleWB.setP(val) ->

要忽略的頂部/底部值的百分比。

另請參見
getP

此類文件由以下檔案生成