OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::xphoto 名稱空間參考

類  GrayworldWB
 灰度世界白平衡演算法。 更多...
 
類  LearningBasedWB
 更復雜的基於學習的自動白平衡演算法。 更多...
 
類  SimpleWB
 一個簡單的白平衡演算法,透過獨立地將輸入影像的每個通道拉伸到指定的範圍來工作。 為了提高魯棒性,它忽略了頂部和底部 \(p\%\) 的畫素值。 更多...
 
類  TonemapDurand
 該演算法使用雙邊濾波器將影像分解為兩個層:基礎層和細節層,並壓縮基礎層的對比度,從而保留所有細節。 更多...
 
類  WhiteBalancer
 自動白平衡演算法的基類。 更多...
 

列舉

列舉  Bm3dSteps {
  BM3D_STEPALL = 0 ,
  BM3D_STEP1 = 1 ,
  BM3D_STEP2 = 2
}
 BM3D 演算法步驟。 更多...
 
列舉  InpaintTypes {
  INPAINT_SHIFTMAP = 0 ,
  INPAINT_FSR_BEST = 1 ,
  INPAINT_FSR_FAST = 2
}
 各種影像修復演算法。 更多...
 
列舉  TransformTypes { HAAR = 0 }
 BM3D 變換型別。 更多...
 

函式

void applyChannelGains (InputArray src, OutputArray dst, float gainB, float gainG, float gainR)
 實現了一種高效的定點近似,用於應用通道增益,這是多個白平衡演算法的最後一步。
 
void bm3dDenoising (InputArray src, InputOutputArray dstStep1, OutputArray dstStep2, float h=1, int templateWindowSize=4, int searchWindowSize=16, int blockMatchingStep1=2500, int blockMatchingStep2=400, int groupSize=8, int slidingStep=1, float beta=2.0f, int normType=cv::NORM_L2, int step=cv::xphoto::BM3D_STEPALL, int transformType=cv::xphoto::HAAR)
 使用塊匹配和 3D 濾波演算法執行影像去噪 http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf 具有多個計算最佳化。 噪聲預計為高斯白噪聲。
 
void bm3dDenoising (InputArray src, OutputArray dst, float h=1, int templateWindowSize=4, int searchWindowSize=16, int blockMatchingStep1=2500, int blockMatchingStep2=400, int groupSize=8, int slidingStep=1, float beta=2.0f, int normType=cv::NORM_L2, int step=cv::xphoto::BM3D_STEPALL, int transformType=cv::xphoto::HAAR)
 使用塊匹配和 3D 濾波演算法執行影像去噪 http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf 具有多個計算最佳化。 噪聲預計為高斯白噪聲。
 
Ptr< GrayworldWBcreateGrayworldWB ()
 建立 GrayworldWB 的例項。
 
Ptr< LearningBasedWBcreateLearningBasedWB (const String &path_to_model=String())
 建立 LearningBasedWB 的例項。
 
Ptr< SimpleWBcreateSimpleWB ()
 建立 SimpleWB 的例項。
 
Ptr< TonemapDurandcreateTonemapDurand (float gamma=1.0f, float contrast=4.0f, float saturation=1.0f, float sigma_color=2.0f, float sigma_space=2.0f)
 建立 TonemapDurand 物件。
 
void dctDenoising (const Mat &src, Mat &dst, const double sigma, const int psize=16)
 此函式實現了簡單的基於DCT的去噪。
 
void inpaint (const Mat &src, const Mat &mask, Mat &dst, const int algorithmType)
 該函式實現了不同的單影像修復演算法。
 
void oilPainting (InputArray src, OutputArray dst, int size, int dynRatio)
 oilPainting 詳情請參閱 [47]
 
void oilPainting (InputArray src, OutputArray dst, int size, int dynRatio, int code)
 oilPainting 詳情請參閱 [47]