]> AND Private Git Repository - these_gilles.git/blob - THESE/codes/meanshift/Ms_segmenter/Right_button.m
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
final
[these_gilles.git] / THESE / codes / meanshift / Ms_segmenter / Right_button.m
1 if Interactive\r
2         Region_right{I} = Region_left{I};\r
3         Choice_right = uicontrol('Parent', New_wind);\r
4         Call_back_right = ...\r
5         sprintf('Segment_demo(''Right'', %18.16f, %d)', Choice_right, I);\r
6         set(Choice_right, 'Style', 'Popup', 'String', Regions_disp, ...\r
7         'Units', 'Normalized', 'Position', [0.55 0.5 0.45 0.5], ...\r
8         'Callback', Call_back_right);\r
9 else\r
10         if Region_right{I} == 0\r
11                 msgbox('Please select 2-nd region', '2-nd region needed');\r
12         end\r
13         return;\r
14 end\r