home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
263b.lha
/
HELP
/
AutoContour
< prev
next >
Wrap
Text File
|
1989-06-29
|
2KB
|
64 lines
Autocontour Help Information *
The Autocontour commands are use to
set the current picture's contour's
heights in a way that will evenly
distribute a picture's heights
amongst the contours.
You are responsible for choosing the
pen patterns, pattern length and pen
colors. Autocontour will choose
heights for your contours. Length
of pattern effects how much detail
is shown in your picture.
To use the Autocontour command, set
a pattern of pens in the contour
palette and pull down one of the
two Autocontour menu sub-items.
Detailed explanation of Autocontour:
When you pull down the Autocontour
menu sub-item, MandelVroom performs
the following steps:
1. Count number of contours in
contour palette. To do this
the program starts with the
righmost contour and looks for
the first contour with a pen
number not equal to 1.
2. Calculate number of pixels in
your picture minus the number
pixels that have an altitude
equal to the MaxIteration for
your picture.
3. Divide the number of pixels
from step 2 by the number of
contours in step 1.
4. Calculate a histogram of the
number of pixels at each of the
possible heights.
The number calculated in step 3 is
the average number of pixels per
contour. Using the histogram data,
the program allocates heights to
contours from tallest to shortest.
There are two flavors of
AutoContour. The above description
describes first of the two flavors.
The second differs from the first,
in that once a given contour's
height range is equal to one, all
subsequent contour height ranges are
set to one.