Live data from Hacker News

How much oranger do red orange bags make oranges look?

alexanderell.is

21–30 of 109 posts

Re: How much oranger do red orange bags make oranges look?

#22

This is interesting because it shows us how a programmer thinks of a problem vs. how a psychologist or neuroscientist would think of this problem and highlights the lack of "human-ness" in programmer thinking. I'm no fan of schools forcing STEM students to study boring electives but this is a prime example of why that might be useful. The entire premise of the post is wrong - average pixel value has nothing to do wit…

You saw someone making a bunch of observations, setting up an experiment and trying to use maths/programming to prove an hypothesis they believed to be a sign of "lack of human-ness"?

To me it showed curiosity and ingenuity, sure they might not have studied a certain subject but it is a totally valid approach to an unknown problem. It might actually get people who have similar "silly questions" to run a similar set of experiment and perhaps stumble upon something novel.

You comment showed less human-ness than OP, ironically.

Re: How much oranger do red orange bags make oranges look?

#23
post #18

Am i mossing something or is this really a blog post saying that if you put something red in a picture and compare it to the same thing without red, then the picture with more red, looks, well, more red?

If you put an object of color X of intensityn N in a net with color X of intensity N+M, then the object will get some spill over from the net similar to M, which the brain/person doesn't necessarily realise and simply assigns it to the object ad well.

It is also a consumer advice about not comparing an orange inside a bag (of any color) with one outside of one as we have a hard time truly comparing them.

Re: How much oranger do red orange bags make oranges look?

#26
The best oranges [0] I've had were half green. Fresh from the tree, but still plenty ripe.

It's my understanding that oranges for transport to colder countries are picked unripe and ripened in the holds of cargo ships. This ripening process is great at making the skin more orange, and OK at improving the flavour, but nowhere near as good for that as ripening on the tree.

So if I saw green patches on my supermarket oranges, far from the tropics, I'd be conditioned to expect them to be really good. They wouldn't be, of course.

[0] Satsumas? Clementines? I don't want to get into a debate about what taxonomically is an orange, but these were citrus fruit that turn orange in colour when ripe.

Re: How much oranger do red orange bags make oranges look?

#27

This is interesting because it shows us how a programmer thinks of a problem vs. how a psychologist or neuroscientist would think of this problem and highlights the lack of "human-ness" in programmer thinking. I'm no fan of schools forcing STEM students to study boring electives but this is a prime example of why that might be useful. The entire premise of the post is wrong - average pixel value has nothing to do wit…

It's not a "programmer" problem. Any competent program I know would never thing of averaging the color of the orange with the color of the non-orabge bag, and expect that to be orange, or representative of how we percieve the orange.

Re: How much oranger do red orange bags make oranges look?

#28
>First, the average pixel is not what I would expect it to be at all

It looks like the averaging was done in default sRGB color space, with:

magick "$f" -resize 1x1 txt:-

Downscaling should instead be done in a linear colorspace. Human vision is non-linear, but the filtering required for downscaling is equivalent to blurring, which is linear because it's done optically not within the retina or brain. Using ImageMagick:

magick "$f" -colorspace RGB -resize 1x1 -colorspace sRGB txt:-

Additionally, JPEG supports chroma subsampling, which is usually enabled by default. I don't know what sips does, but with these small files you might as well use PNG and avoid the risk of losing color information this way.

This should produce results closer to human perception.

Re: How much oranger do red orange bags make oranges look?

#29

This is interesting because it shows us how a programmer thinks of a problem vs. how a psychologist or neuroscientist would think of this problem and highlights the lack of "human-ness" in programmer thinking. I'm no fan of schools forcing STEM students to study boring electives but this is a prime example of why that might be useful. The entire premise of the post is wrong - average pixel value has nothing to do wit…

Context absolutely affects how we see things.

But so does its colour.

So observing how a red mesh affects that colour is absolutely worth investigating.

Post reply on HN