Hi,

I am processing Pleiades (Melbourne) (tri)stereo to generate DSM through 
Stereo Framework in Windows 8 (64 bit). However, it stuck up at the Writing 
file stage and sometimes applications collapses. I used both CLI and GUI 
versions of stereo framework including Moneverdi2. Following parameter, I 
pass to stereo framework:

*otbcli_stereowork "d:\otb\melb\img3.tif?&skipcarto=true" -io.inright 
"d:\otb\melb\img1.tif?&skipcarto=true" -elev.default 10 -output.res 2 
-io.out img_disp_ncc.tif -bm.metric ncc*

In addition to this I tried step by step as guided in ASP Cookbook i.e.:

Step 1:
otbcli_
StereoRectificationGridGenerator.bat -io.inleft 
"d:\otb\melb\img3.tif?&skipcarto=true" -io.inright 
"d:\otb\melb\img1.tif?&skipcarto=true" -epi.elevation.default 10 -epi.step 
5 -io.outleft img3_grid.tif -io.outright img1_grid.tif

Step 2:
otbcli_GridBasedImageResampling.bat -io.in 
"d:\otb\melb\img1.tif?&skipcarto=true" -io.out img1_epi.tif -grid.in 
img1_grid.tif -out.sizex 4980 -out.sizey 4980

otbcli_GridBasedImageResampling.bat -io.in 
"d:\otb\melb\img3.tif?&skipcarto=true" -io.out img3_epi.tif -grid.in 
img3_grid.tif -out.sizex 4980 -out.sizey 4980

Step 3:
otbcli_BandMath.bat -il "d:\otb\melb\img1.tif?&skipcarto=true"  -out 
img1_epi_mask.tif -exp "if(im1b1<=0,0,255)"
otbcli_BandMath.bat -il "d:\otb\melb\img3.tif?&skipcarto=true"  -out 
img3_epi_mask.tif -exp "if(im1b1<=0,0,255)"

Step 4:
otbcli_BlockMatching.bat -io.inleft "d:\otb\melb\img3.tif?&skipcarto=true" 
-io.inright "d:\otb\melb\img1.tif?&skipcarto=true" -io.out img_disp_ncc.tif 
-bm.minhd -45 -bm.maxhd 5 -bm.minvd 1 -bm.maxvd 1 -mask.inleft 
img3_epi_mask.tif -mask.inright img1_epi_mask.tif -io.outmetric 1 
-bm.metric ncc -bm.subpixel dichotomy -bm.medianfilter.radius 5 
-bm.medianfilter.incoherence 2.0

Step 5:
otbcli_BandMath.bat -il img_disp_ncc.tif -out img_thr_hd.tif uint8 -exp 
"if(0.9, 255, 0)"
otbcli_BandMath.bat -il img_disp_ncc.tif -out img_thr_vd.tif uint8 -exp 
"if(0.9, 255, 0)"

Step 6:
otbcli_ConcatenateImages.bat -il img_thr_hd.tif img_thr_vd.tif -out 
img_thr_hvd.tif

Step 7:
otbcli_DisparityMapToElevationMap.bat -io.in img_disp_ncc.tif -io.left 
"d:\otb\melb\img1.tif?&skipcarto=true" -io.right 
"d:\otb\melb\img3.tif?&skipcarto=true" -io.lgrid img1_grid.tif -io.rgrid 
img3_grid.tif -io.mask img_thr_hvd.tif -io.out img_dem.tif -hmin 10 -hmax 
400 -elev.default 10

Though I am unable to process the desired result. I have also removed 
skipcarto=true but no desirable results.

Can some body help me out?

Regards, 

Hafeez

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to