shape from shade, so i do not take over Bjorn's |
shape from shade, so i do not take over Bjorn's |
Apr 7 2010, 04:03 AM
Post
#1
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
So that i do not take over his nice thread i figured i would start a new one
I am just figuring it out so bear with me Rhea This is a example - very early example http://www.shatters.net/forum/viewtopic.php?f=5&t=15847 one that i am going to redo . the program i am using "Cyclops" has a few bugs Enceladus this is a good example a bit better than the above the close ups are a 8k level 3 VT with and without a texture over it then a 4k level2 vt unfortunately i still have to figure out a bug .I need to run a highpass on it ( the 32 bit isis dem ) Cyclops exports to a 3d *.ply this is easy to export to a isis cub and i get this ( this happens when i combine 16 smaller images into one big one ) and this example is at 1/2 size Just a bit of a bug !!! |
|
|
Jan 15 2018, 06:13 AM
Post
#2
|
||||
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
just a update on a rather old thread
i was asked about using SFS starting image of Ceres PIA21750 a 8 bit copy of the 32 bit float image and a hillshade using GDAL yes i am using the same old mini.cpp -- link https://drive.google.com/file/d/1v_y_rmCC6p...iew?usp=sharing contains the original readme and the paper in pdf format along with the PIA21750 image REQUIRES g++3.3 to build !!! i also use a bash script to automate the multi resolution i use a 1024x1024 , a 512x512,a 256x256 and a 128x128 images this script uses GDAL and G'Mic ( the TERMINAL VERSION of gmic) CODE #!/bin/bash gmic PIA21750.pgm -resize 128,128 -split_freq 10% -n[1] 0,1 -o[1] 128.tif gmic PIA21750.pgm -resize 256,256 -split_freq 10% -n[1] 0,1 -o[1] 256.tif gmic PIA21750.pgm -resize 512,512 -split_freq 10% -n[1] 0,1 -o[1] 512.tif gmic PIA21750.pgm -split_freq 10% -n[1] 0,1 -o[1] 1k.tif gdal_translate -of EHdr -ot Float32 128.tif 128.raw gdal_translate -of EHdr -ot Float32 256.tif 256.raw gdal_translate -of EHdr -ot Float32 512.tif 512.raw gdal_translate -of EHdr -ot Float32 1k.tif 1k.raw mini_sfs 1k.raw 2 35 95 2 66 2 c_dem gmic c_dem1.raw,1024,1024 -split_freq 3% -n[1] 0.1,0.9 -o[1] 1kc.tiff mini_sfs 512.raw 2 35 95 10 125 2 512_dem gmic 512_dem1.raw,512,512 -resize 1024,1024 -blur 3 -split_freq 4% -n[1] 0.05,0.95 -o[1] 1k_512.tiff mini_sfs 256.raw 2 35 95 10 200 2 256_dem gmic 256_dem1.raw,256,256 -resize 1024,1024 -blur 4 -split_freq 5% -n[1] 0.05,0.95 -o[1] 1k_256.tiff mini_sfs 128.raw 2 35 95 25 600 2 128_dem gmic 128_dem1.raw,128,128 -resize 1024,1024 -blur 5 -split_freq 6% -n[1] 0,1 -o[1] 1k_128.tiff gmic 1kc.tiff 1kc.tiff 1k_512.tiff 1k_256.tiff 1k_128.tiff -blend add -div 5 -n 0.1,0.9 -o HeightMap.tiff gdaldem hillshade -z 40 -az 95 -alt 35 -compute_edges HeightMap.tiff hillshade.tiff # this line below can be undocumented after a good test # rm 128.tif 128.hdr 256.tif 256.hdr 512.tif 512.hdr 1k.tif 1k.hdr 128.raw 128_dem.hdr 128_dem1.raw 256.raw 256_dem.hdr 256_dem.hdr 256_dem1.raw 512.raw 512_dem.hdr 512_dem1.raw 1k.raw 1kc.tiff 1k_512.tiff 1k_256.tiff 1k_128.tiff c_dem.hdr c_dem1.raw 128.raw.aux.xml 256.raw.aux.xml 512.raw.aux.xml 1k.raw.aux.xml now this is important !!! the way i make the height map looses ALL real height information only the RELATIVE data is there . If it looks twice as high and something in the image it is likely about twice as high but there is NO height in meters information |
|||
|
||||
Lo-Fi Version | Time is now: 1st November 2024 - 12:07 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |