Changeset 65 for trunk/src/mouse_down.m


Ignore:
Timestamp:
Mar 24, 2010, 8:47:23 PM (11 years ago)
Author:
sommeria
Message:

name_generator: remove unneeded indices at output
civ.m: & introduced at the end of system command lines (beginning by !) to allow matlab operations during civ in run mode
uvmat.m: debugging in dealing with projections
prove image pair movies superposed to velocity vectors
mouse: put circles along detected vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r62 r65  
    3838test_create=~testzoom && (isequal(MouseAction,'create_object') || isequal(MouseAction,'create_mask'));
    3939%test_cal=get(handles.cal,'Value');
    40 test_cal=isequal(MouseAction,'calib');
    41 test_ruler=isequal(MouseAction,'ruler');
    42 menu_coord=get(hhuvmat.transform_fct,'String');
    43 coord_choice=get(hhuvmat.transform_fct,'Value');
    44 coord_type=menu_coord{coord_choice};
    45 test_edit=isequal(MouseAction,'edit_object');
    46 test_edit_vect=isequal(MouseAction,'edit_vect');
     40test_cal=strcmp(MouseAction,'calib');
     41test_ruler=strcmp(MouseAction,'ruler');
     42% menu_coord=get(hhuvmat.transform_fct,'String');
     43% coord_choice=get(hhuvmat.transform_fct,'Value');
     44% coord_type=menu_coord{coord_choice};
     45test_edit=strcmp(MouseAction,'edit_object');
     46test_edit_vect=strcmp(MouseAction,'edit_vect');
    4747xdisplay=[];%default
    4848ydisplay=[];%default
     
    257257            geometry_calib('ListCoord_Callback',hObject,eventdata,hh_geometry_calib)
    258258            data=read_geometry_calib(Coord);
    259             if isequal(coord_type,'px')|isequal(coord_type,'');%px cordinates
     259%             if isequal(coord_type,'px')|isequal(coord_type,'');%px cordinates
    260260                XCoord=data.Coord(:,4);
    261261                YCoord=data.Coord(:,5);
    262             else %phys cordinates
    263                 XCoord=data.Coord(:,1);
    264                 YCoord=data.Coord(:,2);
    265             end
     262%             else %phys cordinates
     263%                 XCoord=data.Coord(:,1);
     264%                 YCoord=data.Coord(:,2);
     265%             end
    266266            hh=findobj('Tag','calib_points');           
    267267            if isempty(hh)
Note: See TracChangeset for help on using the changeset viewer.