日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

三维重建16:概率图模型 模板类编程

發布時間:2023/12/31 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 三维重建16:概率图模型 模板类编程 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

剛刷了一部分網絡題,又出了個模板類編程。沒人能從面試中得到自己想要的方法,只能得到能看得到的結果!!!

一 概率圖模型

???? 貝葉斯模型,真是推導不出來了!貝葉斯函數貌似也寫不出來了!

???? 參考:斯坦福概率圖模型-貝葉斯網絡 -https://blog.csdn.net/wishchin/article/details/14136257

???? 貝葉斯網絡,是一個有向無環圖的網絡,其中節點表示的是隨機變量,可以是觀測變量、隱性變量或者參數等。

??? 馬爾科夫性,來源于自動化領域隨機過程的概念。馬爾科夫決策過程(Markov Decision Process),動態規劃(Dynamic Programming)的基礎都是馬爾科夫性質/無后效性。

??? 簡言之,*未來與過去無關,只和現在有關 *
? ? 即: P ( X n + 1 ∣ X 0 , . . . , X n ) = P ( X n + 1 ∣ X n ) P({X_{n+1}|X_0, . . . , X_n}) = P({X_{n+1}|X_n} ) P(Xn+1?∣X0?,...,Xn?)=P(Xn+1?∣Xn?),

???? HMM網絡,隱馬爾科夫網絡。是一種結構最簡單的動態貝葉斯網的生成模型,為馬爾科夫網絡添加一個隱層,參考:HMM模型,訓練算法有前向,后向,以及著名的維比特算法。

???? CRF,條件隨機場,是遵循馬爾科夫性的概率圖網絡,是一個典型的有向圖網絡,CRF是一個判別式模型。

???? HMM模型訓練最終會收斂到一個穩定的轉移矩陣。CRF模型用于圖像分割,即(CRF)用于pixel-wise的圖像標記。最小化CRF圖像標記gIbbs能量得到的勢函數,即完成最優分割的過程。

???????????????

???? 參考:ANN-生成式模型-https://blog.csdn.net/wishchin/article/details/45101251

???? 參考:Time Analsisy HMM-model :https://blog.csdn.net/wishchin/article/details/51594271

???? 參考:從感知機到深度網絡-https://blog.csdn.net/wishchin/article/details/45067177

???? 參考:神經網絡進行降維--https://blog.csdn.net/wishchin/article/details/45287125

???? CRF模型作為經典的傳統分割方法,曾得到廣泛的應用。在DeepLab中也使用了CRF方法作為精細調整。

? ?? 生成式模型是06年深度學習的討論基礎,通過大量數據預訓練,學習出波爾茲曼機參數,得到的生成結構,是結構學習的基礎。但此后的深度學習并沒有在此路徑上取得好的成果,指導2012年的Alexnet在CNN上的巨大成功,才引領學習模型從傳統方法到深度方法的演進。

?

二? 模板類

????? PCL算法庫幾乎完全使用模板庫編程,以適應各種類型的點云數據,使用PointT代替PointRGBAX...之類的;

????? 以RanSac為例,SampleConsensus 貌似是一個抽象類

template <typename PointT>class RandomSampleConsensus : public SampleConsensus<PointT>{typedef typename SampleConsensusModel<PointT>::Ptr SampleConsensusModelPtr;public:typedef boost::shared_ptr<RandomSampleConsensus> Ptr;typedef boost::shared_ptr<const RandomSampleConsensus> ConstPtr;using SampleConsensus<PointT>::max_iterations_;using SampleConsensus<PointT>::threshold_;using SampleConsensus<PointT>::iterations_;using SampleConsensus<PointT>::sac_model_;using SampleConsensus<PointT>::model_;using SampleConsensus<PointT>::model_coefficients_;using SampleConsensus<PointT>::inliers_;using SampleConsensus<PointT>::probability_;/** \brief RANSAC (RAndom SAmple Consensus) main constructor* \param[in] model a Sample Consensus model*/RandomSampleConsensus (const SampleConsensusModelPtr &model) : SampleConsensus<PointT> (model){// Maximum number of trials before we give up.max_iterations_ = 10000;}/** \brief RANSAC (RAndom SAmple Consensus) main constructor* \param[in] model a Sample Consensus model* \param[in] threshold distance to model threshold*/RandomSampleConsensus (const SampleConsensusModelPtr &model, double threshold) : SampleConsensus<PointT> (model, threshold){// Maximum number of trials before we give up.max_iterations_ = 10000;}/** \brief Compute the actual model and find the inliers* \param[in] debug_verbosity_level enable/disable on-screen debug information and set the verbosity level*/bool computeModel (int debug_verbosity_level = 0);}; }

?

總結

以上是生活随笔為你收集整理的三维重建16:概率图模型 模板类编程的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。