Page 1 of 1

using satelite imagery as base for attributes map

PostPosted: Sun Feb 22, 2015 1:50 pm
by boblanders
it would be cool to see some sort of functionality within L3DT like http://www.terrasim.com/products/materialmap/

cant really find any tools like it available commercially to the public and it would work well for converting sat imagery to attributes map

Re: using satelite imagery as base for attributes map

PostPosted: Thu Feb 26, 2015 1:26 pm
by Aaron
Hi Boblanders,

Sure, I'm working on the plugin now. K-means clustering to the rescue!

Best regards,
Aaron.

Re: using satelite imagery as base for attributes map

PostPosted: Fri Feb 27, 2015 1:19 pm
by boblanders
awesome! great news for arma modders... after some playing around with illustrator CC's image trace(from what i comprehend, its the same algorithm at work) it works but not ideal... will be interesting to see what your able to do with the plugin forsure... especially if it will support large(20480x20480 or 40960x40960) images.

Re: using satelite imagery as base for attributes map

PostPosted: Sun Mar 01, 2015 2:27 pm
by Aaron
Hi boblanders,

Just a quick progress note: I've got the k-means clustering algorithm working, but need to add some sort of user interface to allow you to assign land types to the clusters. Also, the algorithm currently doesn't treat shadows or other variations in lighting terribly well, so I need to refine the pre-filtering stage, and possibly add a post-filtering state to in-fill shadows from the surrounding areas. I'll post back here when I've got something to test.

Best regards,
Aaron.

Re: using satelite imagery as base for attributes map

PostPosted: Mon Mar 09, 2015 9:39 pm
by boblanders
awesome! if this plugin can do its job on the sat imagery i have, ill be picking up the pro version of L3DT. i have licenses for more than one terrain editing program but for bringing real world locations into the virtual world, L3DT seems to be the best tool for the job! (well atleast the only tool for the job that i personally can afford)

Re: using satelite imagery as base for attributes map

PostPosted: Thu Mar 26, 2015 1:48 pm
by Demostenes
How is it going, any progress?

Re: using satelite imagery as base for attributes map

PostPosted: Fri Mar 27, 2015 1:27 pm
by Aaron
Hi Demostenes,

The good news is that I have all the requisite calculations working, including the image processing, clustering, and re-mapping of the clusters back to climates/land types. My tests show that the clustering works pretty well, within limits. However, the bad news is that it's completely unusable without either a) a nice user interface or b) years of experience in using k-means cluster analysis. Fortunately, I think I've worked out a relatively painless design for the UI, but it's going to take time to implement. I'll let you know when I have something ready for testing.

Cheers,
Aaron.

Re: using satelite imagery as base for attributes map

PostPosted: Fri Mar 27, 2015 3:15 pm
by Demostenes
Well, for my usage I would be happy with ability to export and import attributes map as picture (so i can process in photoshop). This would be fast solution for satelite pictures conversion too, beucase you can easily do all filtering/coloring in photoshop...

Re: using satelite imagery as base for attributes map

PostPosted: Fri Apr 03, 2015 1:41 pm
by boblanders
its too bad you cant just overlay your attributes map on sat imagery in photoshop and paint away.... even at max hardness youll end up with far too many colors on the final image

Re: using satelite imagery as base for attributes map

PostPosted: Tue Apr 07, 2015 1:03 pm
by Demostenes
boblanders wrote:its too bad you cant just overlay your attributes map on sat imagery in photoshop and paint away.... even at max hardness youll end up with far too many colors on the final image


?

What is the problem? You can prepare very simple macro to change colors from some range to some fixed value. And then make some hand tuning. Only thing you need is to know exact color values for attributes map (no problem at all) and ability to export/import into l3dt as picture.

Re: using satelite imagery as base for attributes map

PostPosted: Sat May 09, 2015 1:22 pm
by Demostenes
It seems, there is already some limited ability to convert AM:

viewtopic.php?f=4&t=2243

Why not make it RGB for better visualisation, solve problems with more climates and add conversion from picture to AM?

Re: using satelite imagery as base for attributes map

PostPosted: Sun May 31, 2015 1:30 pm
by Aaron
Hi Everyone,

I'm very sorry for the delay here. I've got a beta version of the plugin ready for testing. You can download the plugin from here:

http://www.bundysoft.com/wiki/doku.php? ... :atcluster

A brief (!) user guide is provided on that page that explains how to use the plugin to filter an image before importing it as an attributes map.

Please note that the user interface is rather bare bones; if the calculation proves useful to anyone, I'll have a go at building a more ergonomic UI. Please feel free to play with it and let me know what you find.

Best regards,
Aaron.

Re: using satelite imagery as base for attributes map

PostPosted: Sun Jun 07, 2015 1:09 pm
by Demostenes
I think it is great! This clustering feature is extremely useful.

I am missing only some visualisation during import process to show me, which pixels on clustered map are for example 10,150,20, so I can better asign clima/land type.