Changeset 574 for trunk/src/transform_field/phys_polar.m
- Timestamp:
- Feb 27, 2013, 1:57:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/phys_polar.m
r567 r574 1 %'phys_polar': transforms image (Unit='pixel') to polar (phys) coordinates using geometric calibration parameters 2 3 %------------------------------------------------------------------------ 4 %%%% Use the general syntax for transform fields %%%% 5 % OUTPUT: 6 % DataOut: output field structure 7 % .X=radius, .Y=azimuth angle, .U, .V are radial and azimuthal velocity components 8 9 %INPUT: 10 % DataIn: first input field structure 11 % XmlData: first input parameter structure, 12 % .GeometryCalib: substructure of the calibration parameters 13 % DataIn_1: optional second input field structure 14 % XmlData_1: optional second input parameter structure 15 % .GeometryCalib: substructure of the calibration parameters 1 16 % transform image coordinates (px) to polar physical coordinates 2 17 %[DataOut,DataOut_1]=phys_polar(varargin) … … 11 26 % Data_1: second input field (not mandatory) 12 27 % CalibData_1= calibration parameters for the second field 13 14 function [DataOut,DataOut_1]=phys_polar(varargin) 28 %------------------------------------------------------------------------ 29 function DataOut=phys_polar(DataIn,XmlData,DataIn_1,XmlData_1) 30 %------------------------------------------------------------------------ 15 31 Calib{1}=[]; 16 32 if nargin==2||nargin==4
Note: See TracChangeset
for help on using the changeset viewer.