i have a situation here regarding picturebox. there are 2 boxes, 1 is for template image, and one for image to be compared with. i planned to make the user able to draw a box in template image picbox, as a region where the image the other picbox will be compared with, in terms of its colour components. it will display the difference between the two images in percentage.
the problem is making the box visible when doing the region selection part. i cant seem to properly generate temporary marking lines on the template image. all i get in the end is an array of boxes in different size within a maximum size box, which all of the boxes start at the point of the click.
i can however, make a box at the end of the click and drag procedure, but that doesnt give any visual feedback during the region selection process, which is the clicking and dragging. the box is not there, until you release the mouse button, that makes it hard for the user.
i used the usual
to draw lines between initial clicking points and other points.
any suggestions would be greatly appreciated.
thanks in advance