Simon Owen wrote:
> It might be nice to have a method of SAM-optimising the image for
> display in mode 4, but taking into account a certain number of palette
> changes in the border area before each line too.  It might not require
> much more than loading the SAM palette, then doing some additional
> optimisation on it for the changes per line.  Has this sorta thing been
> done already?

I considered doing it a while back, but without a real SAM to try it on any
more, I didn't want to spend the effort :-)

The problem is that it's a global minimization problem (if I recall my
terminology correctly), and may be difficult to handle using traditional
algorithms. Genetic algorithms or simulated annealing might be a good-enough
match though.

The other problem is that there's no way for an algorithm to know what looks
'good' or not.

Either way, you get approx. 15 changes per line, one palette color at a
time. You can't change the border color palette, and you'd probably want to
keep that as black. However, you might also consider turning the screen on
and off at the right places to simulate a black border. It'd be hairy
though.

OTDR/OTIR might be worth considering for it. Not sure of the performance
penalty there though.

If Stefan is still on the list... code genning might be a possibility :-)

Si

Reply via email to