624 | | Deducing the physical coordinates from image coordinates requires information on the illumination plane. The default assumption is that the objects in the image are in the plane used for calibration (assumed horizontal with x,y coordinates), but '''uvmat''' can handle volume scanning by a laser plane. A set of section planes can be defined by their origin positions and rotation angle vectors. Theses planes are labelled by a ''z index'', assumed to be the frame index j (case of volume scan), or the index i modulo the number of slices !NbSlice (case of 'multilevel' scan). These settings are stored in the xml file <!ImaDoc> as part of the section <!GeometryCalib> and can be edited from '''uvmat.fig''' with the menu bar command '''[Tools/set slice]'''. A dialog box '''set_slices''' appears for entering the first and last section plane positions ''z'', as well as the number of slices and the option 'volume_scan' ('multilevel' otherwise). In the absence of 3D scan put twice the same value for first and last z. Finally a tilt angle of the laser sheet, around the ''x'' and ''y'' axis, can be introduced, with a possible angular scanning from first to last section planes. After introduction of the plane position information, the z-index is displayed in the frame '''[!FileIndices]''' of '''uvmat.fig'''. The local ''z'' position of the mouse pointer, assumed to lay on the current section plane, is then displayed in '''[text_display]'''. |
| 626 | Deducing the physical coordinates from image coordinates requires information on the illumination plane. The default assumption is that the objects in the image are in the plane used for calibration (assumed horizontal with x,y coordinates), but '''uvmat''' can handle volume scanning by a laser plane. A set of section planes can be defined by their origin positions and rotation angle vectors. Theses planes are labelled by a ''z index'', assumed to be the frame index j (case of volume scan), or the index i modulo the number of slices !NbSlice (case of 'multilevel' scan). These settings are stored in the xml file <!ImaDoc> as part of the section <Slice> and can be edited from '''uvmat.fig''' with the menu bar command '''[Tools/set slice]'''. A dialog box '''set_slices''' appears for entering the first and last section plane positions ''z'', as well as the number of slices and the option 'volume_scan' ('multilevel' otherwise). In the absence of 3D scan put twice the same value for first and last z. Finally a tilt angle of the laser sheet, around the ''x'' and ''y'' axis, can be introduced, with a possible angular scanning from first to last section planes. After introduction of the plane position information, the z-index is displayed in the frame '''[!FileIndices]''' of '''uvmat.fig'''. The local ''z'' position of the mouse pointer, assumed to lay on the current section plane, is then displayed in '''[text_display]'''. |
656 | | |
657 | | * <!NbSlice_i>: nbre of slices for the first field index i (multilevel case), =1 by default. |
658 | | |
659 | | * <!NbSlice_j>: nbre of slices for the second index j (volume scan), =1 by default. |
660 | | |
661 | | * <!SliceCoord>: [x y z] positions (nb lines) of the nb planes, where nb=!NbSlice_i (multilevel case) or nb=!NbSlice_j of j indices (volume scan), for parallel volume scan, x=y=0, z= slice height, for angular scan, [x,y,z]=[origin]. |
662 | | |
663 | | * <SliceDZ>: step distance between planes. |
664 | | |
665 | | * <SliceDPhi>: step angle for angular scan. |
| 658 | |
| 659 | The parameters defining the slice positions are in the XML element <!ImaDoc/Slice> as follows: |
| 660 | |
| 661 | * <!NbSlice>: nbre of slices |
| 662 | |
| 663 | * <!CheckVolumeScan>=0 for the multilevel case (position is given by index i modulo !NbSlice ), =1 for volume scan (position is given by index j) |
| 664 | |
| 665 | * <!SliceCoord>: [x y z] positions (!NbSlice lines) of the !NbSlice planes. For volume scan with translation, x=y=0, z= slice height. For angular scan, [x,y,z]=[coordinate on the rotation axis]. |
| 666 | |
| 667 | * <!SliceAngle> set of !NbSlice angles. !SliceAngle(i,1) = angle of rotation around x axis for plane #i . !SliceAngle(i,2) = angle of rotation around y axis for plane #i. ( !SliceAngle(i,3)=0 is not used) |