diff options
Diffstat (limited to 'SD-VBS/common/toolbox/MultiNcut/read_data.m')
| -rwxr-xr-x | SD-VBS/common/toolbox/MultiNcut/read_data.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SD-VBS/common/toolbox/MultiNcut/read_data.m b/SD-VBS/common/toolbox/MultiNcut/read_data.m new file mode 100755 index 0000000..c0929c0 --- /dev/null +++ b/SD-VBS/common/toolbox/MultiNcut/read_data.m | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | |||
| 2 | %fnames = dir('/home/jshi/Results_DLIB/SegLabl*.mat'); | ||
| 3 | |||
| 4 | fnames = dir('/data/jshi/DLIB/Results/Results_DLIB/SegLabl*.mat'); | ||
| 5 | |||
| 6 | for j=1:length(fnames), | ||
| 7 | cm = sprintf('load /data/jshi/DLIB/Results/Results_DLIB/%s',fnames(j).name); | ||
| 8 | disp(cm);eval(cm); | ||
| 9 | figure(1);imagesc(I); colormap(gray); axis image; | ||
| 10 | figure(2); imagesc(SegLabel); axis image; | ||
| 11 | |||
| 12 | pause; | ||
| 13 | end | ||
