I am adding building colours to OSM for 3D renderers. To do this I take pictures of the pertinent buildings and add the hex code to building colours and roof colours. However it is very time consuming (for me) to determine the hex code in question using http://drpeterjones.com/colorcalc/ Does anyone know of a colour analyser that will do the job? i.e. if I move the mouse pointer over a picture the hex code is shown and stored. There is an Android app (https://play.google.com/store/apps/details?id=com.jenspetervester.coloranalyzer) that seems to to the job. I would like one for windows. Text added I can understand Frederik Ramms arguments but I tend to agree with scai. If we are to add building colours then we want to do it properly and need an tool to aid us. Surely the hex is more likely to yield a more acceptable result than the present OSM standard colours: http://wiki.openstreetmap.org/wiki/Key:colour With my question I do not want to start a debate on whether or not colours are a good idea or not, but I am looking for a tool to aid me (and others) in colour analysis and if an Android app can do the job then it should be possible to the same colour analysis under windows! Let me explain this further. I know the dimensions and coordinates of a building. I take multiple pictures of the building in the sunlight. I load them to JOSM, scale and orientate them. Now I can add the entrance, windows, building:parts, roof:shape etc. All colours are visible but not easy to enter as a hex value. I don't expect JOSM to accomplish this task (would, however be a nice-to-have) tool. |
What you are looking for is "colour picker" or "eyedropper" software. There are a number of simple, free programs to do this on Windows. I recommend Pixie. Just run it, and it will tell you the colour codes for whatever the mouse cursor is pointing to. You can press Ctrl+Alt+C to copy the hex code to the clipboard. Or a number of other options listed here AlternativeTo.net |
Different photos of the same object will yield vastly different colour values because of lighting conditions, imaging technology, and post processing. It is therefore not a good idea to extract colour values from a photo and add them to OSM because their correctness is hard to verify. Renderers should not encourage people to engage in such tagging. 2
I agree that the extracted colors can vary. But if we want to add building colours, what other sources are there? Photos can be taken very easily by anyone on the ground. And I expect most people to not notice small color differences, especially in a rendered map. If we accept hardly noticeable inaccuracies in GPS coordinates then I think we can accept those for colours, too.
(14 Jul '13, 10:03)
scai ♦
1
If you really want colours I'd suggest including a known range of colours in the image so as to perform colour correction. Alternatively just carry a colour chart: Fungus enthusiasts (Pilzfreunde) often make use of such colour charts such as http://www.amazon.co.uk/Flora-British-Fungi-Colour-Identification/dp/0114902305.
(14 Jul '13, 12:05)
SK53 ♦
A color chart might help but won't include every color. And the color visible to you eye also depends on the current weather condition. And building colors will change over the years. There is no way of obtaining the exact building color. I think we should just accept that fact and don't bother.
(14 Jul '13, 13:54)
scai ♦
|
Every medium-class picture editor will do the job (e.g. gimp). Most of them have a color picker tool. Although I don't know of any program which allows you to hover over the image to see the color. Usually you have to click on the image and then extract the hex value from the color palette. |