One of the Pixelmath expression for creating a white line
in column 427 is:
1-d2seg(427,0,427,2048)
427,0 is the xy position of the line start
427,2048 is the xy position of the end of the line.
(In this case my image has a heigt of 2048)
If you want to create a shorter line for example
1-d2seg(427,350,427,1200)
This creates a vertical line from
xy 427,350 to yx 427,1200
xy 0,0 is in PI ususally the upper left corner.
But you can find the start- and endpositions of your future line with the ReadoutCursor
Gerald