IPB

Welcome Guest ( Log In | Register )

shape from shade, so i do not take over Bjorn's
JohnVV
post 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 !!!

Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
JohnVV
post Jun 7 2010, 03:02 AM
Post #2


Member
***

Group: Members
Posts: 890
Joined: 18-November 08
Member No.: 4489



QUOTE
Looks very promising despite the 'terraced' appearance in much of the image (a consequence of an 8 bit DEM?)

no, that is an artifact from a fast and not so good contrast bump on the low contrast map . At this stage i am not worried after all the screen shot is a 4096x2048 resize of the 16384x8192 map i am making .

QUOTE
As an example, for image N1507742440_2.IMG of Dione the correct direction is (0.303693, -0.205793, 0.930279) but I get much better results using (0.5,0.2,0.6).

for this image i am using this ( measurementsare on the image )
-- oops i miss typed --
[attachment=21852:N1507742440_2.png]
from the center 0.2 up and 1.0 over( right ) and 0.5 out from the screen is the height
-- correction --
on the photo should be ( 1.0 ,0.2,0.5)
QUOTE
Big craters are often too shallow in the resulting DEMs, requiring postprocessing in Photoshop (or combining the Cyclops DEM with a stereo DEM).

i have seen that too , that is why i posted above ( a few posts) that i have been editing , by hand, the craters
there are very predictable spots that need help
[attachment=21853:N1507742440_2.jpg]
also the second hi-pass is removing some of the depth in the hole but at the same time it is getting ride of the left to right slope
as seen in Nirgal's post
http://www.thethirdplanet.de/mars_gallery/...okrates_sfs.jpg
the one on the right is like the ply / normal map from cyclops , and that second hi-pass filter flattens the image .
-- i or we or all of us need to find a better solution --

but considering there is not much of a choice
the pc2d ( from 2004 )
-gimp-
shapefs-1.2.0.0-20051020.tar.gz ( this dos not work well and needs a very old version of gimp )
i have collected a few OLD things and they do build
linear.cpp
-- excerpt --
CODE
/****************************************************************************
NAME:   linear.cpp  --   Performs shape from shading using
                         linear FFT based algorithm

SYNOPSIS:  linear inImage inFmt sunElevAngle sunAzimAngle d -f fltFrq outFmt outDem

Example:  linear spot128.dat 2 19.3 287.2 2.5 -f 0 2 ts_dem.dat  

DESCRIPTION:   This program performs linear shape-from-shading

ALGORITHM REFERENCES:
   Liu, H. "Derivation of surface topography and terrain parameters
from single satellite image using shape-from-shading technique"
in Computers & Geosciences

BUGS:

Compiling on SGI:
CC -Ddebug=0 -g -o linear linear.cpp linear_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -LANG:std  -lm
Compiling on SUN:
CC -Ddebug=0 -g -o linear linear.cpp linear_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp   -lm

or mini.cpp
CODE
/****************************************************************************
NAME:   mini.c  -   Performs shape from shading using minimization algorithm

SYNOPSIS:  mini inName inFmt sunElevAngle sunAzimAngle lamda iterNum -d initDemName outFmt outName

Example 1:mini spot128.dat 2 19.3 287.2 1.5 50  2 ts_dem.dat  

ALGORITHM REFERENCES:
  Liu, H. "Derivation of surface topography and terrain parameters
from single satellite image using shape-from-shading technique"
in Computers & Geosciences

Compiling on SGI:
CC -Ddebug=0 -g -o mini mini.cpp mini_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -LANG:std  -lm

Compiling on SUN:
CC -Ddebug=0 -g -o mini mini.cpp mini_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -lm

************************************************************/

the two above are from a zip called
v29-10-03.zip this was from a paper - google found the zip but not the paper
(h??p://207.176.140.93/documents/oldftp/VOL29/)

and then cyclops . So not to much of a choice here
in a few( or many,many) years there will be Nirgal's . If all the patent an IP issues can be solved
Go to the top of the page
 
+Quote Post

Posts in this topic
- JohnVV   shape from shade   Apr 7 2010, 04:03 AM
- - JohnVV   making progress started with N1500060254_2.img r...   Apr 8 2010, 12:27 AM
- - 4th rock from the sun   Nice bump maps ! I have already suggested som...   Apr 8 2010, 02:53 PM
- - JohnVV   right now i am working on Dione i have a list of f...   Apr 13 2010, 07:26 AM
- - JohnVV   just an update this is a TESTING only 100% auto t...   Apr 17 2010, 03:42 AM
- - Bjorn Jonsson   This looks very impressive, there is some loss of ...   Apr 27 2010, 12:41 AM
- - JohnVV   hi Bjorn at this point i am just using a default ...   Apr 27 2010, 03:58 AM
- - JohnVV   only 3 show so a link to the photo album http://w...   Apr 27 2010, 04:22 AM
|- - Bjorn Jonsson   I have now tested Cyclops a bit. The first test ru...   Apr 29 2010, 09:26 PM
|- - TrappistPlanets   QUOTE (Bjorn Jonsson @ Apr 29 2010, 10:26...   Oct 18 2021, 08:48 PM
|- - JohnVV   QUOTE (TrappistPlanets @ Oct 18 2021, 04...   Oct 19 2021, 01:22 AM
|- - TrappistPlanets   QUOTE (JohnVV @ Oct 19 2021, 02:22 AM) i ...   Oct 19 2021, 10:48 AM
- - JohnVV   i am calling it a "bug" because i am doi...   Apr 30 2010, 02:06 AM
- - JohnVV   while i am starting to put together an ISIS contro...   May 3 2010, 04:33 AM
|- - Bjorn Jonsson   QUOTE (JohnVV @ May 3 2010, 04:33 AM) if ...   May 4 2010, 02:28 PM
- - JohnVV   at the end will be a link to the folder newbump.ta...   May 6 2010, 06:16 AM
- - JohnVV   five more and most likely the last until i find wh...   May 8 2010, 08:42 PM
|- - Bjorn Jonsson   Thanks - I'll take a look at these files soon....   May 8 2010, 10:27 PM
|- - TrappistPlanets   i figured out how to dem process in gimp, but how ...   Nov 29 2021, 01:41 AM
|- - JohnVV   QUOTE (TrappistPlanets @ Nov 28 2021, 08...   Nov 29 2021, 03:27 PM
|- - TrappistPlanets   QUOTE (JohnVV @ Nov 29 2021, 04:27 PM) i ...   Nov 29 2021, 05:24 PM
- - JohnVV   first the gimp Gmic filter( was called Graystratio...   May 9 2010, 04:02 AM
- - JohnVV   a bit of a change - the below will create a ...   May 13 2010, 06:42 PM
- - JohnVV   2) removing the curvature yes one or two meshes c...   May 13 2010, 08:01 PM
- - Sajid   Interesting work you are doing. Where did you fi...   May 13 2010, 08:20 PM
- - JohnVV   3) convert the hipassed normal to a mesh then to ...   May 13 2010, 08:39 PM
- - JohnVV   4) -- optional -- i like to normalize and convert ...   May 13 2010, 11:46 PM
- - JohnVV   an update just a "testing " shot with...   May 28 2010, 12:07 AM
- - Bjorn Jonsson   Looks very promising despite the 'terraced...   Jun 6 2010, 09:05 PM
- - JohnVV   QUOTE Looks very promising despite the 'terrac...   Jun 7 2010, 03:02 AM
- - 4th rock from the sun   I've programed a simple SFS implementation in ...   Sep 2 2010, 01:16 PM
|- - AndyG   Very nice! ActionScript, huh? Smarty-pants...   Sep 2 2010, 01:52 PM
|- - 4th rock from the sun   Thanks! I'm reading the image as a raste...   Sep 2 2010, 10:17 PM
- - JohnVV   the main problem has been with non optimal images ...   Sep 2 2010, 11:24 PM
- - JohnVV   just a bit of an update stereo is by far better ...   Feb 1 2012, 05:04 AM
|- - volcanopele   QUOTE (JohnVV @ Jan 31 2012, 10:04 PM) th...   Feb 1 2012, 06:11 AM
- - JohnVV   a height map but that spot IS an artifact from Sh...   Feb 1 2012, 06:53 AM
- - JohnVV   for now i have dropped the hyperionCV sfs in favor...   Apr 17 2012, 09:03 AM
|- - TrappistPlanets   QUOTE (JohnVV @ Apr 17 2012, 10:03 AM) fo...   May 10 2021, 12:52 PM
- - JohnVV   just a update on a rather old thread i was asked ...   Jan 15 2018, 06:13 AM
- - TrappistPlanets   i have a SFS dem of umbriel   May 10 2021, 01:05 PM
- - TrappistPlanets   sorry that the attachemt was spammed, my computer ...   May 10 2021, 01:07 PM
- - JohnVV   QUOTE why does the 2 sides of the crater rim SFS d...   May 12 2021, 06:47 PM
|- - TrappistPlanets   QUOTE (JohnVV @ May 12 2021, 06:47 PM) th...   May 12 2021, 11:25 PM
|- - JRehling   QUOTE (JohnVV @ May 12 2021, 11:47 AM) th...   May 21 2021, 03:07 AM
|- - TrappistPlanets   a friend of mine processed this fantastic dem from...   Jun 10 2021, 11:37 AM
|- - JRehling   QUOTE (TrappistPlanets @ Jun 10 2021, 04...   Oct 21 2021, 04:32 PM
|- - TrappistPlanets   QUOTE (JRehling @ Oct 21 2021, 05:32 PM) ...   Oct 21 2021, 11:10 PM
|- - JRehling   QUOTE (TrappistPlanets @ Oct 21 2021, 04...   Oct 21 2021, 11:24 PM
|- - TrappistPlanets   QUOTE (JRehling @ Oct 22 2021, 12:24 AM) ...   Oct 22 2021, 11:08 AM
|- - JRehling   First of all, the standard of citing research is t...   Oct 22 2021, 02:31 PM
- - JohnVV   QUOTE i don't know how to compile programs vea...   Oct 19 2021, 02:29 PM
- - stevesliva   Just FYI... There was this other discussion: http:...   Oct 22 2021, 04:47 PM
|- - TrappistPlanets   QUOTE (stevesliva @ Oct 22 2021, 04:47 PM...   Oct 23 2021, 11:53 AM
- - Phil Stooke   Schenk, P., McKinnon, W.B., Moore, J. and Nimmo, F...   Oct 23 2021, 07:00 PM
|- - TrappistPlanets   QUOTE (Phil Stooke @ Oct 23 2021, 07:00 P...   Oct 23 2021, 10:48 PM
|- - JRehling   QUOTE (TrappistPlanets @ Oct 23 2021, 03...   Oct 23 2021, 11:26 PM
|- - JRehling   Here's the full text of a paper explaining the...   Oct 24 2021, 07:00 PM
- - JohnVV   a google search found the MS windows binaries htt...   Nov 29 2021, 05:41 PM
- - TrappistPlanets   QUOTE (JohnVV @ Nov 29 2021, 06:41 PM) a ...   Nov 29 2021, 05:58 PM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 23rd April 2024 - 01:49 PM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and 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.