In case preview is broken
anyway here is the compiled exe
It was compiled in cygwin so you have to install cygwin
If you don't want the cygwin version (you need a dll for it to run) you can download the MinGW version at the bottom
MinGW version (compiled in 64 bit):
32 bit version
If you want to use it in cmd make sure to put it in PATH.
To use it you need a .raw image file and a .hdr file for it to run.
And if you know to calculate the input values down there you can use those to make it look good.
and here's the help output
(mini is supposed to be mini_sfs)
Code: Select all
Usage: mini inName inFmt sunElevAngle sunAzimAngle lamda iterNum -d initDemName outFmt outName
inputs: inName input image
inFmt input image file format
(1=bsq,2=float,3=ascii,4=grid,5=las
sunElevAngle sun elevation angle in decimal degree
sunAzimAngle sun azimuth angle in decimal degree
lamda tradeoff (regulation) parameter
between smoothness and residual(0.4-50)
iterNum iteration number (e.g. 50)
[-d initDem] the frequencies filtered out
outFmt output DEM file format
(1=bsq,2=float,3=ascii,4=grid,5=las
output: outName output DEM file
==============================================
I don't know how to calculate those inputs up there.
I ran the tool again but this time with a image of Dione which created this image:
(probably the reason why the image looks tiled is because I used gmic and gdal for the resizing stuff)
The source image
and this was the command
Code: Select all
mini.exe tethysthing.raw 2 35 95 2 5 2 tethys_dem
Like I said I don't know how to compute the input values, so I had to use the same values as the example image.
So make sure you don't use the same values as the example image, and maybe try to calculate the values. Or else the DEM will not look good.