Changeset 1150 for trunk/src/geometry_calib.m
- Timestamp:
- Jun 24, 2024, 6:38:26 PM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r1148 r1150 346 346 display([XmlName ' updated with calibration parameters' dispmessage]) 347 347 else 348 display([XmlName ' created with calibration parameters ' dispmessage])348 display([XmlName ' created with calibration parameters: no timing defined' dispmessage]) 349 349 end 350 350 end … … 396 396 %------------------------------------------------------------------------ 397 397 % --- Executes on button press in Replicate 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 398 function Replicate_Callback(hObject, eventdata, handles) 399 % %------------------------------------------------------------------------ 400 set(handles.CheckEnableMouse,'Value',0)% desactivate mouse (to avoid spurious creation of new points) 401 402 if get(handles.Replicate,'Value') %open the GUI browse_data 403 % look for the GUI uvmat and check for an image as input 404 huvmat=findobj(allchild(0),'Name','uvmat'); 405 hhuvmat=guidata(huvmat);%handles of elements in the GUI uvmat 406 RootPath=get(hhuvmat.RootPath,'String'); 407 SubDir=get(hhuvmat.SubDir,'String'); 408 browse_data(fullfile(RootPath,SubDir)) 409 else 410 hbrowse=findobj(allchild(0),'Tag','browse_data'); 411 if ~isempty(hbrowse) 412 delete(hbrowse) 413 end 414 end 415 415 %------------------------------------------------------------------------ 416 416 % --- activate calibration and store parameters in ouputfile . … … 1294 1294 Heading=s.Heading; 1295 1295 end 1296 1296 if isfield (s,'GeometryCalib') 1297 1297 GeometryCalib=s.GeometryCalib; 1298 1298 fx=1;fy=1;Cx=0;Cy=0;kc=0; %default … … 1341 1341 set(handles.CheckEnableMouse,'BackgroundColor',[0.7 0.7 0.7]) 1342 1342 end 1343 1343 end 1344 1344 %------------------------------------------------------------------------ 1345 1345 %---display calibration intrinsic parameters
Note: See TracChangeset
for help on using the changeset viewer.