# Zhenjue tutorial

## Relative orientation

### Compute tie points

mm3d Tapioca All  ".*JPG" 1500

### Compute relative orientation for images with specified focal length

mm3d Tapas RadialStd ".*JPG" Focs=[20,30] Out=F24

Check residual and number of points used per images.

### Compute relative orientation for all images

mm3d Tapas RadialStd ".*JPG" InOri=F24 Out=Toutes

## Dense correlation in image geometry

### Edit selection

mm3d SaisieMasq DSC_3128.JPG
mm3d SaisieMasq DSC_3135.JPG

### Dense correlation

mm3d Malt GeomImage "DSC_31((2[5-9])|(3[0-1])).JPG" Toutes Master=DSC_3128.JPG ZoomF=4
mm3d Malt GeomImage "DSC_313[2-9].JPG" Toutes Master=DSC_3135.JPG ZoomF=4 AffineLast=0

## Compute a depth map

cd MM-Malt-Img-DSC_3128
mm3d GrShade Z_Num6_DeZoom4_STD-MALT.tif ModeOmbre=IgnE Mask=AutoMask_STD-MALT_Num_5.tif FZ=2 Out=../Shade3128.tif
mm3d Nuage2Ply NuageImProf_STD-MALT_Etape_6.xml Attr=../DSC_3128.JPG RatioAttrCarte=4 Out=../3128.ply<pre>

<pre>cd MM-Malt-Img-DSC_3135
<pre>mm3d Nuage2Ply NuageImProf_STD-MALT_Etape_6.xml Attr=../DSC_3135.JPG RatioAttrCarte=4 Out=../3135.ply<pre>
<pre>mm3d GrShade Z_Num6_DeZoom4_STD-MALT.tif ModeOmbre=IgnE Mask=AutoMask_STD-MALT_Num_5.tif FZ=2 Out=../Shade3135.tif<pre>