Hough transform(Straight line extraction)is performed by P-Cube by generating
characteristic image, and implemented by scanning of high luminance points
by comp (Can obtain the slant and segments of straight line). Here provide
sample code of P-Cube.
The loop will be initiated by micro packet processor, so the user just needs to provide parameters of the engine as program.
[1st pass] cycle=2 commands×Screen size /processor num.
[2nd pass] cycle=7 commands×Extract num./processor num.