try to draw line projection for an image, the line 4 of below codes "sy/2" represents the length of projection (here is the half image range), but how to set the