Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
measure/record pixel coordinates
#5
Maybe use ImageMagick (IM) as well as Gimp. (had to make up an image Smile    )

Define the points on an overlay, pencil tool, size 1 pix, black and export that layer to a png.

   

Using IM from this post: http://www.imagemagick.org/discourse-ser...hp?t=32483

Code:
convert in.png -threshold 50% -depth 1 txt:- | tail -n +2 | sed -n 's/^\(.*\):.*black$/\1/p'

Lists like this:

   

IM has moved, ask questions here: https://github.com/ImageMagick/ImageMagick/discussions

Gimp Code? I suppose you could download the source from (for Gimp 2.8) https://download.gimp.org/mirror/pub/gim...22.tar.bz2
Reply


Messages In This Thread
measure/record pixel coordinates - by fotomax - 07-16-2020, 06:01 AM
RE: measure/record pixel coordinates - by denzjos - 07-16-2020, 06:45 AM
RE: measure/record pixel coordinates - by fotomax - 07-16-2020, 09:02 AM
RE: measure/record pixel coordinates - by rich2005 - 07-16-2020, 10:47 AM
RE: measure/record pixel coordinates - by Ofnuts - 07-16-2020, 11:30 AM
RE: measure/record pixel coordinates - by fotomax - 07-16-2020, 07:10 PM
RE: measure/record pixel coordinates - by Ofnuts - 07-16-2020, 09:17 PM
RE: measure/record pixel coordinates - by fotomax - 07-17-2020, 04:39 AM
RE: measure/record pixel coordinates - by Ofnuts - 02-23-2022, 04:30 PM

Forum Jump: