Feb-05-2017, 07:43 AM
I want to get the (x,y) coordinates of the boundary of this TIF image - goo.gl/Uai8lR
I am using Python notebook in Anaconda distribution. I just need the height in pixels, so far I have used this code -
It reads the green channel of RGB and dividing by 127 gives the height in pixel. But it does not capture overhang regions. I think it will be a good idea to extract the (x,y) coordinates instead.
Any help is appreciated.
I am using Python notebook in Anaconda distribution. I just need the height in pixels, so far I have used this code -
1 2 3 |
foo = misc.imread( "90.tif" ) prof = foo. sum (axis = 0 ) prof = prof[:, 1 ] / 127 |
Any help is appreciated.