Changeset 858 for trunk/src/series/civ_input.m
- Timestamp:
- Jan 26, 2015, 7:43:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r856 r858 1888 1888 Param=rmfield(Param,'OutputSubDir'); %remove output file option from civ_series 1889 1889 Param.ActionInput.Civ2.SmoothParam=0;% launch Civ2 with no data point (to get the image names for A and B) 1890 set(handles.Civ1,'BackgroundColor',[1 1 0]) 1890 1891 [Data,errormsg]=civ_series(Param);% get the civ1+fix1 results 1891 1892 … … 1904 1905 hview_field=view_field(ImageData); %view the image in the GUI view_field 1905 1906 set(0,'CurrentFigure',hview_field) 1907 % plot the boundaries of the subdomains used for patch 1906 1908 RectCentre=squeeze(mean(Data.Civ1_SubRange,2)); 1907 1909 for isub=1:size(Data.Civ1_SubRange,3); … … 1912 1914 rectangle('Position',[pos_x pos_y width height],'EdgeColor',[0 0 1]) 1913 1915 end 1914 hhview_field=guihandles(hview_field); 1916 hhview_field=guihandles(hview_field);% 1915 1917 set(hview_field,'CurrentAxes',hhview_field.PlotAxes) 1916 ViewData=get(hview_field,'UserData'); 1918 %ViewData=get(hview_field,'UserData'); 1919 % store info in the UserData of view-field 1917 1920 ViewData.CivHandle=handles.civ_input;% indicate the handle of the civ GUI in view_field 1918 1921 ViewData.PlotAxes.B=imread(Data.Civ2_ImageB);%store the second image in the UserData of the GUI view_field … … 1927 1930 ViewData.PlotAxes.Civ1_V_tps=Data.Civ1_V_tps; 1928 1931 ViewData.PlotAxes.Civ1_Dt=Data.Civ1_Dt; 1932 ViewData.PlotAxes.Civ2_Dt=Data.Civ2_Dt; 1929 1933 set(hview_field,'UserData',ViewData)% store the info in the UserData of image view_field 1930 1934
Note: See TracChangeset
for help on using the changeset viewer.