Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automatically get locations of multiple simple geometric forms from digitized maps
#1
Hello,

I would like to automatically get locations of multiple simple geometric forms from digitized maps ...

I have roughly 300 digitized maps (300 7 MB files) containing the positions of all allied and german units during the last year of world war 2. It is approximately 500 units * 300 days = 150000 locations.

Using the Gimp script-fu, I'm able to pre-process the maps and remove the backgrounds to keep the units symbols only. Attached is the light result map for the 6th of June 1944.

Is there any "simple" way, using gimp to separately detect the geometric unit symbols (rectangles with round inside, rectangles with cross inside, dashed rectangles, ...) and then get a corresponding position in the image?

I think at kind of convolutional algo ... ?

It is quite obvious for a single map to do it manually, but ... I would like to be able to insert this into a script-fu to run it automatically over the 300 map files.

I don't want to use heavy processing like AI for that ...

Thanks for your help.

Olivier


Attached Files Thumbnail(s)
   
Reply
#2
well ... after thinking a bit ore ... one way could be to process the image of the map (without the background) with the opencv library (library for image processing). but I'm wondering whether this kind of library does already exist as plugin for gimp ? have a good day.
Reply
#3
Definitely more a job for opencv. A Gimp plugin could export the layer to file before calling opencv on it.
Reply


Forum Jump: