Hi guys, my code is below
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clc; clear all;
Rs1 = [ 0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 1 0;
0 0 0 0 0 0 0 0 0 0 1 0;
0 0 0 0 0 0 0 0 0 1 1 0;
0 0 0 0 0 0 0 0 0 1 1 0;
0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 2 2 2 2 0 0;
0 0 0 0 0 0 2 2 2 2 2 0;
0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 0 0]
STATS = regionprops(Rs1, 'PixelList' )
SS=STATS(1)
TT =STATS(2)
% I also do that: [SS TT] = STATS.PixelList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
is there any way i can print the 2 struct arrays that exist in the Variable editor without assigning variables such as 'SS' and 'TT' like I did in my code .
thank you
dale
|
|
0
|
|
|
|
Reply
|
dale
|
7/29/2010 4:50:19 AM |
|