标题: [tcaxLib] test the behavior of the CombinePixs function [打印本页] 作者: milkyjing 时间: 2011-12-19 21:15:47 标题: [tcaxLib] test the behavior of the CombinePixs function
# this script tests for the behavior of the very important function CombinePixs, which is used to composite PIXs into a single one
# it can not only reduce the output size of the TCAS, but also can gain much convenience for manipulating PIXs, just consider of any
tcas_main(TCAS_BUF, PIX2, 0, 10000, dx + 400, dy + 100, 0) # green over red
tcas_main(TCAS_BUF, PIX4, 0, 10000, dx + 500, dy, 1) # red over green, note that the layer should be at least 1, otherwise it will be covered by the red one (line: 63)