What I'm trying to do is generate two lines on a binary image (one vertical, one horizontal). Then return all of the row/column values along with pixel values underneath that line and place them into a list.
In matlab you could do this similarly by running improfile()
on a binary image where you set the binary image to have "10/255" pixel values by im2bw(image,10/255)
.
Is this even possible?