能量控制问题代码matlab-multilevelOT:用于多级最佳运输的MATLAB代码

上传者: 38686860 | 上传时间: 2022-11-15 14:40:41 | 文件大小: 1.48MB | 文件类型: ZIP
能量控制问题代码matlab 这是通过[1]中介绍的多级方法进行的最优运输(OT)的Matlab代码存储库。 OT在许多领域都发挥着至关重要的作用,包括流体动力学,图像处理,机器学习和控制。 它是两个概率分布的适当距离度量。 该距离也称为地球移动者距离(EMD)或Wasserstein距离。 我们的Matlab代码可计算网格上定义的两个分布之间的Wasserstein-1距离。 它使用以下三个基本度量之一:1-范数,2-范数和inf-范数。 我们的代码具有以下优点: 快速地。 在单个CPU上花费几秒钟来计算1024 * 1024网格上的最佳传输。 方便使用的。 问题描述 给定两个2D概率分布或两个图像rho0和rho1,我们希望找到能量最小的从一个到另一个的传输: 在这里,p可以是1、2或无穷大,m(x)的1、2或无穷大范数分别是,h是网格步长。 算法与函数 “ otFunctions / W1PD_ML.m”在[1]中实现算法1M; “ otFunctions / W1PDHG_ML.m”在[1]中实现了算法2M。 句法 [m,phi] = W1PD_ML(h, rho0, rho1

文件下载

资源详情

[{"title":"( 41 个子文件 1.48MB ) 能量控制问题代码matlab-multilevelOT:用于多级最佳运输的MATLAB代码","children":[{"title":"multilevelOT-master","children":[{"title":"README.md <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"otFunctions","children":[{"title":"W1PDHG_ML.m <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"W1PD_ML.m <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"W1PD.m <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"how_to_compile <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"initialize.m <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"src_c","children":[{"title":"emdPDHG.mexa64 <span style='color:#111;'> 17.66KB </span>","children":null,"spread":false},{"title":"mexGateway_emd.cpp <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"emdPDHG.mexmaci64 <span style='color:#111;'> 21.88KB </span>","children":null,"spread":false},{"title":"emdPDHG.mexw64 <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false},{"title":"emdPDHG.cpp <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false},{"title":"compile_pdhg.m <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"cat512.mat <span style='color:#111;'> 111.50KB </span>","children":null,"spread":false},{"title":"cat1024.mat <span style='color:#111;'> 537.55KB </span>","children":null,"spread":false},{"title":"cat128.mat <span style='color:#111;'> 16.83KB </span>","children":null,"spread":false},{"title":"cat256.mat <span style='color:#111;'> 23.82KB </span>","children":null,"spread":false},{"title":"Cameraman.png <span style='color:#111;'> 213.94KB </span>","children":null,"spread":false},{"title":"Lake.png <span style='color:#111;'> 294.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"ReadMAT.m <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"Constraint.m <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"interpolate_m.m <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"PrimalFunLinf.m <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"PlotFlow.m <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"restrict.m <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"ShrinkL2.m <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"Gra.m <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"ProjL1.m <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ShrinkL1.m <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"ReadIMG.m <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"PrimalFunL2.m <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"ShrinkLinf.m <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"restrict_m.m <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"ProjL1_test.m <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"PlotPotential.m <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"interpolate.m <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"PrimalFunL1.m <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"Div.m <span style='color:#111;'> 460B </span>","children":null,"spread":false}],"spread":false},{"title":"demo","children":[{"title":"demo_img_Algorithm_2M.m <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"demo_cat_Algorithm_1M.m <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"demo_cat_Algorithm_2M.m <span style='color:#111;'> 832B </span>","children":null,"spread":false},{"title":"demo_img_Algorithm_1M.m <span style='color:#111;'> 836B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明