[josm-dev] Plugin: Access layer pixel data

Nick Ma. nick.mayerhofer at enchant.at
Tue Apr 15 16:24:23 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working on a plugin like "Tracer2"[1] but which should run
entirely embedded into JOSM.

Therefore I'm asking for the best way to access pixel color shown in
an active Layer[2] or ImageryLayer?

Why/Background/Next steps (that's not the question):
To execute an edge detection[3] algorithm with the image information
and auto detect the edges of an area currently displayed in JOSM.
Helping to faster create buildings.

Any hints appreciated.
Best, Nick

[1] http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Tracer2
[2] JAVA::org.openstreetmap.josm.gui.layer.Layer
[3] https://en.wikipedia.org/wiki/Edge_detection
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTTV03AAoJEDMnKdeJttQVci8P/1P2QB2p5AVHII/86OpbFTxc
xklxGIe31HvewSfi28D4UCwDRR6KshExD+g4QpSWoEv3E+OGAXVrWnLHp416FPrP
+4idJ9zcNYxhsUG5CmDlltFex3Uyl9RPDGN8ZNlCBAtzXWfQoGxg+j0Wh0YfRqph
DVw5W/F2wOPtmt7bsURxcM/El9/7olGb2RrauUKATpLdCvRL0YNDRjD01YTPzvKX
wmpe8isaEYzGXONwQbW7UyyWhEpW+DpQ9ztdp0GO2k/20T3y9dtcHq66l/PkJUI0
68teEBVuJjtliLR2HOq1v8NRYhco63fpEJQo7MKHqpZ7jb6hrS5DeiAQauAf9wWG
EVm0xRxdl8hCSbtcth7ERZKIp4/iAuriVNYjY1Vt/OV9/glErGVMgqLx8o7lf4b7
nX5Ytcz5Z320bwmolgE6hrJbtIeHuWbLDy7k2q65SJ8z8+BjTiANrtoQYUsBGViU
knFFRL0r1pwIAzOvHJi8lpksBw2lFfGhgzs3eSWT3YSQGSsoBLFzlm2fujhJ6kUk
3hHyCt+BFAJ79Fqlwd4C8L1P3F6pyCwZzYWq5ESCiXXo21MFvQNI3rTTA6lfqeS2
SSOuOGudLGAx1I9e029s9QXQh8oYj3knvHxduNjzv8knuISPyF1A0cTaoIqd9pMs
JrhpabeADzbwheJRNlDC
=nFVM
-----END PGP SIGNATURE-----



More information about the josm-dev mailing list