Changeset 368 for trunk/src/uvmat.m
- Timestamp:
- Jan 12, 2012, 3:55:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r360 r368 1652 1652 return 1653 1653 end 1654 i1=UvData.i1_series{1}(ref_i+1,ref_j+1,1); 1654 if get(handles.scan_i,'Value')==1% case of scanning along index i 1655 i1_subseries=UvData.i1_series{1}(ref_i+1,:,:); 1656 else 1657 i1_subseries=UvData.i1_series{1}(:,ref_j+1,:); 1658 end 1659 i1_subseries=i1_subseries(i1_subseries>0); 1660 if isempty(i1_subseries) 1661 errormsg='no next file'; 1662 return 1663 end 1664 i1=i1_subseries(end); 1655 1665 if ~isempty(UvData.i2_series{1}) 1656 i2=UvData.i2_series{1}(ref_i+1,ref_j+1,1); 1666 if get(handles.scan_i,'Value')==1% case of scanning along index i 1667 i2_subseries=UvData.i2_series{1}(ref_i+1,:,:); 1668 else 1669 i2_subseries=UvData.i2_series{1}(:,ref_j+1,:); 1670 end 1671 i2_subseries=i2_subseries(i2_subseries>0); 1672 i2=i2_subseries(end); 1657 1673 end 1658 1674 if ~isempty(UvData.j1_series{1}) 1659 j1=UvData.j1_series{1}(ref_i+1,ref_j+1,1); 1675 if get(handles.scan_i,'Value')==1% case of scanning along index i 1676 j1_subseries=UvData.j1_series{1}(ref_i+1,:,:) 1677 else 1678 j1_subseries=UvData.j1_series{1}(:,ref_j+1,:) 1679 end 1680 j1_subseries=j1_subseries(j1_subseries>0); 1681 j1=j1_subseries(end); 1660 1682 end 1661 1683 if ~isempty(UvData.j2_series{1}) 1662 j2=UvData.j2_series{1}(ref_i+1,ref_j+1,1); 1663 end 1684 if get(handles.scan_i,'Value')==1% case of scanning along index i 1685 j2_subseries=UvData.j2_series{1}(ref_i+1,:,:) 1686 else 1687 j2_subseries=UvData.j2_series{1}(:,ref_j+1,:) 1688 end 1689 j2_subseries=j2_subseries(j2_subseries>0); 1690 j2=j2_subseries(end); 1691 end 1692 1664 1693 end 1665 1694 filename=fullfile_uvmat(InputFile.RootPath,InputFile.SubDir,InputFile.RootFile,FileExt,NomType,i1,i2,j1,j2);
Note: See TracChangeset
for help on using the changeset viewer.