Loading...
Logo
Processing Forum
Hi Folks, 

I am searching for professional programmers who can help me with my idea; I am an absolute nope in progrogramming - but however. I hope, with processing I can realize this:

Imagine, you have a BMP-photo with zillions of pixels in a particular order, where you can see - e. g. the German flag. As you know, this flag has the colors Black, Red, Yellow. Each color has 33,33% part to this flag. Now, I want to load this photo into an application - the program (code) analyses it and tells me the result: 33% blk, 33% red, 33% yel. This might be easy. 
But imagine now, you hava a complex photo with lots and lots of colors; maybe a landscape. Now, the program should be able to find out how many percent blue, red, yellow etc. is in this photo. 
Therefore the program should "see" the colors like an artist, not like a robot :) - means: all yellow tones, no matter how light or dark or yelloish they are, are "yellow" and have nn% part of all pixels in the photo. For a handy way, I would suggest cumulation of the colors to 16.

A good idea could be, to liquidize the photo. Like vortexted particles in a glass of water, sinking to ground. The particles are sorting thereby in the same way a spectral rainbow: Black are the "heaviest" that sink firts to ground, then the violet, then the blue.....white is the "lightest" color that will swim on the top.

Well, I hope my ideas are not so wierd and somebody might be able and willing to help realizing this proggy.

Greetings from Germany, 

Ede



Replies(4)

what you're saying is "sort all pixels from a picture by hue" or maybe "sort all pixels by value and hue" -- I really think you could do this yourself quite easily, you should try!



kb, http://www.riftgame.com/
this link relating to this kind of thing posted on this forum somewhere recently 


-saved it as as i was interested in similar things. kevin is right - i can tell you from recent ongoing frustrating experience that taking on the problem is the best way to learn because there's a lot of good education in transferring conceptual thinking into its description in code
wow, the Video-Color-Analizer goes in the direction I think about. Well, 2B honest, I play over 15 musical instruments, but I dont even know how to do the software mechanism to load a BMP file in somewhat. I gave up on my ZX81 3o years ago, so from the sight of programming I do know: More than nothing. 
Is there any embochure for me to go?

Thks!
Reading your post I tend to agree with the others. I have found the best practice is try to see how you would approach it.

Processing is so sweet, you get results even better than you originally imagined.