NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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.

asked 14 Jul '13, 09:12

dcp's gravatar image

dcp
721374456
accept rate: 0%

edited 14 Jul '13, 20:09


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

permanent link

answered 14 Jul '13, 22:39

Vclaw's gravatar image

Vclaw
9.2k895141
accept rate: 22%

1

This answer is just perfect. Thank you Vclaw

(15 Jul '13, 07:12) dcp

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.

permanent link

answered 14 Jul '13, 09:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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.

permanent link

answered 14 Jul '13, 10:11

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1

question asked: 14 Jul '13, 09:12

question was seen: 14,683 times

last updated: 15 Jul '13, 07:12

Related questions

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum