paint on an BW image (updated version)

バージョン 1.2.0.0 (3.17 KB) 作成者: Gang Wang
Paint on an BW image on an axis interactively as you did on windows Paint
ダウンロード: 1K
更新 2012/3/15

ライセンスの表示

This function is specially useful for image segmentation software developers who wish to 1)create the ground truth for their algorithm validation or 2) modify the auto-segmentation result.

This is version 2. New features include:
1) Users can paint/erase the mask
2) Can select brush/eraser size
3) export the mask

Run bwpaint_demo:

Usage:
bottom slider to change slices. left click to paint and right click to erase, please move the mouse slowly otherwise the line will not be continuous.
Click button to export the processed image to A.mat. I save the images into one matrix which is in size of [SIZE_X, SIZE_Y, No._of_Slices x 3];
The images are saved in the following sequence:

R_slice1 (original input image in red channel)
G_slice1 (mask layer in green channel)
B_slice1
R_s2
G_s2
B_s2
R_s3
G_s3
B_s3


R_sn
G_sn
B_sn

If you want to re-process the saved matrix, just reload it into workspace and run

bwpaint1([the_matrix]);

引用

Gang Wang (2024). paint on an BW image (updated version) (https://www.mathworks.com/matlabcentral/fileexchange/32786-paint-on-an-bw-image-updated-version), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

Updated version with new features

1.0.0.0