标签:www.tianjin-qmedu.com, 2005: / matlabcentral / fileexchange /喂? q = authorid % 3 a2480426 MATLAB中央文件交换 程序 logo.png MATLAB中央-文件交换authorid: 2480426 用户输入的代码库 2023 - 05 - 17日0 - t21:00:45 + 16 1 60 47814年 2016 - 10 - 03 - t22:58:00z 2016 - 10 - 03 - t22:58:00z vtkwrite:出口各种2 d / 3 d数据ParaView VTK文件格式 出口2 d / 3 d图像体积,向量场,ParaView面、线、多边形等

Paraview是一个功能强大的开源软件的可视化大型3 d数据集。它提供了更多的选择,细节和更好的性能比内置Matlab三维可视化模块。这个函数是一个集成的几个之前提交有关出口的3 d数据VTK格式。函数可以保存多个相同大小的矢量和标量场到单个ParaView VTK-formatted文件查看。它还可以出口直线或多边形对象。最大化不同的操作系统之间的兼容性、数值数据默认保存在ascii格式的精度小数点后面3位数。用户可以指定精度,如vtkwrite(“执行”,“structured_points”、“核磁共振”,D,“精确,5),而不是vtkwrite(“执行”,“structured_points”、“核磁共振”,D)。用户还可以选择数字数据保存在“浮动”数据类型(该选项不可用POLYDATA数据集类型)通过添加“二进制”的命令,例如vtkwrite(“执行”,“structured_points”、“核磁共振”,D,二进制)。下面是一些示例用法。只要输入下面的代码。示例1:出口3 D数组(典型的图像体积)负载mri D =紧缩(D);vtkwrite(“核磁共振。vtk', 'structured_points', 'mri', D) If you've already setup system path to include the folder containing the ParaView binary, you can invoke ParaView directly by:vtkwrite('execute', 'structured_points', 'mri', D)In this case, a file named 'matlab_export.vtk' is saved and passed on to ParaView.Example 2 : export 3D vector and scalar fieldload wind [cu,cv,cw] = curl(x, y, z, u, v, w); div = divergence(x, y, z, u, v, w); vtkwrite('wind.vtk', 'structured_grid', x, y, z, ... 'vectors', 'vector_field', u, v, w, 'vectors', 'vorticity', cu, cv, cw, 'scalars', 'divergence', div); Usage is very similar for unstructured 3D data. Just change 'structured_grid' to 'unstructured_grid'. For example :vtkwrite('random_vector.vtk', 'unstructured_grid',x,y,z, 'vectors','random_vector',u,v,w,) Example 3 : export 3D linex = 1:100; y = sin(x); z = sqrt(x); vtkwrite('execute','polydata','lines',x,y,z); optionally, user can specify precision of data output(default is 3). for example:vtkwrite('line.vtk','polydata','lines',x,y,z,'precision',5); Example 4 : export triangular data[x,y,z] = peaks(100); z = .4*z; tri = delaunay(x,y); vtkwrite('peaks.vtk','polydata','triangle',x,y,z,tri); Example 5 : export tetrahedral datad = [-1 1]; [x, y, z] = meshgrid(d, d, d); DT = delaunayTriangulation(x(:), y(:), z(:)); vtkwrite('execute', 'polydata','tetrahedron', x, y, z, DT.ConnectivityList); The usage of vector and scalar field input is the same as built-in quiver3 and scatter3 function, where x,y,z specifies the coordinates of the grid points and u,v,w the vector components. For multiple data array entry, they must have the same number of grid points. x,y,z only need to be specified once, followed by combination of [keyword, title, data]. You can add however many data arrays as you want. In the example above, you'll end up with a single VTK file with three data arrays of the same number of grid points. In the sample screenshot, the color of the arrow represents the magnitude of divergence.In Paraview, press 'ctrl+o' to open file. Then on properties page immediately below pipeline browser, click 'Apply'. For line and polygon data, you should already see the correct representation of data. For 3D vector field, you have to further click on 'glyph' in the common toolbar, then choose the glyph object in the pipeline browser and click 'Apply'.See file for more details on usage.

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58700年 2017 - 03 - 09 - t02:02:52z 2017 - 03 - 09 - t02:02:52z xml2struct, bug修复和添加功能 xml2struct的改进版本,将xml文档转换成MATLAB结构。

xml2struct需要一个java xml对象,xml文件或xml格式的字符串,并返回一个结构保存在xml文档树的关系。这是一个改进版的另一个MATLAB文件交换提交://www.tianjin-qmedu.com/matlabcentral/fileexchange/28518-xml2struct。具体地说,它有以下特点:1。解决了这个问题,当存在发表评论,其他数据都将丢失。2。固定的“未定义的函数“toCharArray”“双”类型的输入参数。“issue.3。增加了对xm万博1manbetxl字符串的支持。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
59411年 2016 - 10 - 03 - t18:33:07z 2016 - 10 - 03 - t18:33:07z struct2xml与错误修正 将一个结构转换成xml文本字符串或一个xml文件

这是一个改进版本的前一个MATLAB文件交换提交(//www.tianjin-qmedu.com/matlabcentral/fileexchange/28639-struct2xml)。当前版本修复了错误当试图转换结构空字段。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58975年 2022 - 05 - 17 - t14:36:03z 2022 - 05 - 17 - t14:36:03z mat2np: MATLAB数组变成一个Python Numpy对象 节省一个一维或二维MATLAB数组放入腌Numpy数组

节省了一维或二维MATLAB数组腌Numpy数组。(目前只测试了在Python 3)。支持数据类型:‘int8’,‘uint万博1manbetx8’,‘int16’,‘uint16’,‘int32’,‘uint32’,‘float64’。用法:在MATLAB: = (1.2, 3.5, 4.3);mat2np (”。pkl”、“float64”),那么在Python中:张开(“进口泡菜。pkl, rb)鳍:a = pickle.load(鳍)

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
49153年 2016 - 10 - 04 - t04:01:43z 2016 - 10 - 04 - t04:01:43z 3 d彗星的多个对象 情节以可控的速度轨迹的多个对象3 d和尾巴的长度

comet3n情节以可控的速度轨迹的多个对象3 d和尾巴的长度。它需要一个M * 5数组作为输入。列1 - 4 (x, y, z, t)对象的坐标,分别。列5是对象id号码。时间和对象id号必须是整数。请参见下面的例子还是democomet3n运行。m %对象1 t =(1:50 0) *π/ 50;x = 16 *(罪(t) ^ 3), y = 13 * cos (t) - 5 * cos (2 * t) - 2 * cos (3 * t) - cos (4 * t); t = 1:50 0; z = 0.5 * t; id = 1(长度(t) 1);其中obj1 =猫(2 x, y, z, t, id); t =(1:50 0) * %对象2π/ 50;x = -16 *(罪(t) ^ 3), y = 13 * cos (t) - 5 * cos (2 * t) - 2 * cos (3 * t) - cos (4 * t); t = 1:50 0; z = -0.5 * t; id = 1(长度(t), 1) * 2; methoda =猫(2 x, y, z, t, id); %结合两个对象。src =猫(1其中obj1 methoda); comet3n (src,“速度”,5,headsize, 1.5,“tailwidth”, 2,…“taillength”, 100年)

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
46892年 2016 - 08 - 14 - t07:47:09z 2016 - 08 - 14 - t07:47:09z 蔡司激光扫描共焦显微镜LSM文件阅读器 从蔡司LSM读取图像数据文件

lsmread蔡司lsm的返回信息和图像数据文件。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58666年 2016 - 08 - 14 - t07:45:05z 2016 - 08 - 14 - t07:45:05z 从蔡司CZI图像文件读取信息。 这个函数返回各种信息在蔡司CZI图像文件。

从蔡司CZI Czifinfo读信息图像文件。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58772年 2016 - 08 - 22 - t17:44:56z 2016 - 08 - 22 - t17:44:56z 局部自适应阈值和GUI来帮助找到最好的参数。 局部自适应阈值基于局部均值和标准差。

局部自适应阈值:使用当地的平均值和标准偏差前景分割。两个用法:使用GUI来找到最好的参数和执行阈值。(bw, params) = localthreshGUI (img) img和显示它和分割图像。在现有的GUI程序,二进制映像(bw)和参数localthresholding (params)返回。使用函数没有GUI。bw = localthresh (img ssize、msize sthresh, mthresh)执行当地脱粒形象。ssize:滤波器尺寸为标准偏差滤波器。msize:过滤器的大小意味着sthresh过滤:阈值标准偏差(褶皱数相对于本地标准差)mthresh:阈值的意思是(在褶皱数相对于本地的意思)输入以下尝试:%负载内置大米imageimg = imread (rice.png) localthreshGUI (img)

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
57710年 2016 - 08 - 19 - t07:20:32z 2016 - 08 - 19 - t07:20:32z 正交观众对灰度图像栈 Orthoviewer提取灰度图像栈并显示其正交视图。

Orthoviewer正交视图显示图像的堆栈。示例用法:关闭allclearload mriD =挤压(D); %调整图像使其largerD2 = 0(大小(D)。* (4 4 1),“uint8”); 2 = 1:尺寸(D, 3) D2(:,:,(二)= imresize (D (:,: ii), 4); endD3 = 0(大小(D2)。* (1 1 4),“uint8”); 2 = 1:尺寸(D2, 2) D3(:,二世:)= imresize(挤压(D2(:,二世:)),…(大小(D2, 1),大小(D2, 3) * 4]); endorthoviewer (D3)

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
48998年 2016 - 08 - 14 - t07:50:43z 2016 - 08 - 14 - t07:50:43z 泊松发布出去是依靠最小误差阈值 发现一个阈值,使用最小误差阈值区分前景和背景

泊松发布出去是依靠最小误差阈值

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58662年 2016 - 08 - 19 - t01:16:25z 2016 - 08 - 19 - t01:16:25z 创建扩展景深图像通过集中堆放 这个函数合并一堆拍摄的图像在多个焦平面成一个all-in-focus形象。

这个脚本是一个抛光版本的代码贴在这个链接:http://www.magiclantern.fm/forum/index.php?topic=11886.0它作用于样本数据集发现的链接。为每个数据集、参数必须仔细调整。输入必须是一个单元阵列的图像在不同的焦平面,与每个单元包含一个颜色或灰度图像。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
47578年 2016 - 10 - 04 - t03:44:32z 2016 - 10 - 04 - t03:44:32z regionprops3 测量几何属性(如长轴、偏心等)的3 d图像对象。

regionprops3措施图像对象的几何性质在三维空间中,包括“MajorAxis”、“MajorAxisLength”、“重心”,“AllAxes”,“怪癖”。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
47690年 2016 - 08 - 14 - t07:49:56z 2016 - 08 - 14 - t07:49:56z ROI经理 管理多个ROI处理

ROI管理器管理多个的句柄

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
71345年 2019 - 04 - 25 - t16:28:24z 2019 - 04 - 25 - t16:28:24z nd2read 尼康阐述文件阅读器

这是一个尼康阐述文件阅读器。它是通过扫描阐述文件实现有意义的信息重建文件规格。nd2read是一个示例实现演示了一个可能的方式读取图像文件和三个频道。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
58758年 2016 - 08 - 18 - t10:20:06z 2016 - 08 - 18 - t10:20:06z randcmap randcmap生成colormap随机顺序

生成一个colormap随机顺序。例如,rjet = randmap(256年,“喷气机”)生成一个随机的喷气colormap 256年的水平。可能是有用的示例照片等图像分割。万博1manbetx支持colormap类型是内置的MATLAB colormap类型:‘parula’,‘飞机’,‘hsv’,‘热’,‘酷’,‘春天’,“夏天”,“秋天”,“冬天”,“灰色”、“骨”,“铜”、“粉红色”,“行”,“colorcube”、“棱镜”,“国旗”,“白”。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y
59423年 2016 - 10 - 03 - t21:12:54z 2016 - 10 - 03 - t21:12:54z MATLAB版本ImageJ 在MATLAB提供ImageJ-like体验!

这是一个长期项目的起点。目前,它只工作函数是拖放显示的图像文件。

CY Y //www.tianjin-qmedu.com/matlabcentral/profile/8891413-cy-y