The detail algorithm implemention is shown as the figure below:
In the SCC kernel design, FW-color and BW-Label can be dataflow by sharing some common buffers with multiple independent AXI masters.
As a result, these two processes will be run at the same time to obtain a better performance.