Conversion to img (Part 2)
Converter, which was published in the previous
room, could be finalized. Source I at
We shall assume I will not, and will release a separate program
but, however, said that after all has changed and
why.
Firstly, the conversion rate, which
in principle, have a decent, has become
more respectable - for example, the conversion in the img
accelerated somewhere in the 3-fold. This has been
achieve the following way. Before looking lu
chshey palette for a particular familiarity
calculates the average color
this familiarity. Next in a series of search parameters
Liters calculated the average color palette
(Very easy). Next, calculate the time
the difference between fact and drugim.Esli it exceeds
preset threshold (square of the distance more
min/32, where min = sum of squared errors
submission of the previous pixel palette
line), this palette is rejected. Although
it is not clear, but the image quality
the worse the new method does not reflect
Xia.
Moreover, the algorithms are now integral
nye! At this stage it is already possible to transfer
converter on the ZX!
Secondly, the corrected formula is projected
tion of the current color to the current palette.
Now this is really a geometric
projection. Color accuracy in
mode chankovoy hatching, respectively,
improved. A chankovoy hatching covered
very large proportion of the area of each picture
Key in the magazine (remember: in my converter
You can select a brush, which areas will
FLS chankovye, and what - floydovye). Color in
chankovoy hatching still not quite with the
correspond to the colors in floydovoy. This is not
glitch, but one must thoroughly investigate
- Why is it and why it can for r
ditsya in practice.
When the conversion in multicolor (komuto if this is
necessary) should predproetsirovanie off, or not working
mechanism poi ska secondary colors (which gave such
cute stripes).
Thirdly, it is possible to
conversion of familiarity in advance projected onto
vat all points found in the "best"
palette (in the last issue I have already explained,
that it is not so best). At last It will remove the visible
boundaries of sign- places that have been observed even when
neighbors had the same familiarity Pali
Labour! However, please note that at low
level dithering border familiarity all-ta
ki will be looked through (due to propagation
injured errors, which gives the correct
average color), but certainly not as NEs
but, as before.
At the same time prohibited the palette, in which all
4 colors lie on one line (exception -
gray palette). This, too, as it turned out,
not degrade the quality.
Fourth, added the conversion and the 6912
GIGA in ch $. So far, without specifying the size, so
Still, several ch $ is easier to glue
one more than several or scr
img. On the format ch $ read the article about
384x304 viewer.
At the moment my analog converter
torus on the quality of conversion in the img does not susches
tvuet.Veroyatno, Baze/3SC wrote a decent
converter, but do not distribute it.
Alone Coder