Changeset 885 for trunk/src


Ignore:
Timestamp:
Mar 25, 2015, 9:28:10 AM (6 years ago)
Author:
sommeria
Message:

bug corrected in civ_input

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_input.m

    r884 r885  
    322322            set(handle_title_dx,'Visible','off');
    323323        end
     324    end
     325    if isfield(Param.ActionInput,'Civ2')
     326       CheckDeformation_Callback(hObject, eventdata, handles)
    324327    end
    325328end
     
    11441147set(handles.ConfigSource,'String','NEW')
    11451148set(handles.OK,'BackgroundColor',[1 0 1])
    1146 if get(handles.CheckDeformation,'Value')
    1147     set(handles.num_CorrSmooth,'Visible','off')
    1148 else
    1149     set(handles.num_CorrSmooth,'Visible','on')
     1149handles_CoorSmooth=findobj(get(handles.Civ2,'children'),'Tag','num_CorrSmooth');
     1150if get(handles.CheckDeformation,'Value')   
     1151    set(handles_CoorSmooth,'Visible','off')
     1152else
     1153    set(handles_CoorSmooth,'Visible','on')
    11501154end
    11511155
  • trunk/src/series/civ_series.m

    r883 r885  
    977977if CheckDeformation
    978978    mesh=0.25;%mesh in pixels for subpixel image interpolation (x 4 in each direction)
     979    par_civ.CorrSmooth=2;% use SUBPIX2DGAUSS (take into account more points near the max)
    979980end
    980981
     
    10441045                    image2_crop=interp2(image2_crop,xi,yi,'*spline');
    10451046                    image2_crop(isnan(image2_crop))=0;
    1046                     par_civ.CorrSmooth=2;% use SUBPIX2DGAUSS (take into account more points near the max)
    10471047                end
    10481048                sum_square=sum(sum(image1_crop.*image1_crop));
Note: See TracChangeset for help on using the changeset viewer.