⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 createimage.m

📁 这是一个利用水平集方法进行分割的方法
💻 M
字号:
function newim = createimage( im, phi )% CREATEIMAGE Return segmented image as 3 channel uint8 image%    CREATEIMAGE( im, phi ) Draws the segmented region in green%    overtop of the original image im. The region is determined by%    finding the front points from phi% copy overpixels to red and blue channels of new imagenewim( :, :, 1 ) = im;newim( :, :, 3 ) = im;% copy over pixels to a temporary image and outline pixels of the% segmented regiontempim = im;tempim( find( isfront( phi ) ) ) = 255;% copy over pixels into green channelnewim( :, :, 2 ) = tempim;% convert to uint8newim = uint8( newim );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -