Click to See Complete Forum and Search --> : finding contour lines that are closest
bladerunner1982
September 5th, 2005, 01:41 PM
Hi,I need help!!!
I have a black/white contour map.Then I need a colour contour map. I need to know the maximums in the contour map. How can I to do that?Its maximum are essencial for colour's routine to colouring. can anyone help me? the idea is to do a 3d-contour map finding a grid scale of the color-contour map.
Thanks.
bladerunner1982
September 6th, 2005, 12:29 PM
I'm sorry. I believe that nontapeworm time to explain the problem completely. I go again:
I have a black/white contour map. This is a map where black lines represent contour lines. The rest of the map is white. My propouse is to do a 3d contour map from 2d black/white contour map.
To make this, first I need to colour the black/white contour map. It is the hard step!! I have a class that to colour a region given a posicion of the map.
You can to imagine a island's map for example. In it, each island had a representation per contour lines. The idea is find the contour lines that are closest, it is for to colour the islands. It contour lines that are closest to represent the maximums of the islands.
Then with a colour contour map, I can to see each pixel to do the 3d contour map. You can to see too that the colour map is really a grid-colour map. I explain myself, each pixel represents a grid-scale of the one colour(anyone).
A u example of a black/white contour map:
http://img383.imageshack.us/img383/8618/binarytopomapromeral3ch.png
Well, thank you for you time.
Thanks.
olivthill
September 7th, 2005, 04:27 AM
If you have a circular line containing nothing, then you know it is a maximum or a minimum, but you don't know if it is the highest altitude or the lowest altitude.
Let's say you have three lines: / / /
You cannot guess if the lines are describing a hill to the right side, or to the left side, or if there is a valley between two hills.
So, I think you need to have the information about the altitude of the lines, otherwise, it is impossible to guess what colors they should have.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.