Ok, so this is my latest creation which I think has promise to be something useful for us.
Basically what it does is to split the image up into multiple 'slices' of a few greyscale values in each slice. This means that we can work on each slice individually and each slice can be as many greyscale values 'wide' as we want. Currently they are 8 pixels each, so slice 1 is from greyscale value 000-007, slice 2 is from 008-015, etc. This means hopefully that some item which is dark can be lightened without the surrounding areas being lightened too.
What we have is an image reduced to 400 pixels wide and we work on that image adding and removing various layers depending on what we want to show.
Now I have written the proof of concept, but I need some ideas as to what to do with it. I suspect, as I said, that we can lighten or darken a layer and then add it into the mix of the image which will lighten or darken just an area which has those greyscale values.
I will post it onto the website later on with a link on here, but in the meantime, please have a think about it.
Currently the image address is hard-coded into the program as it is a demo but perhaps it will be selectable later on. The problem with that is that PHP which is the programming language I am using is not terribly quick and so creating the slices takes about 1-2 minutes on my machine (but maybe quicker on the server which probably has more memory and a faster processor. It takes about a minute and a half but it only needs to be done once a day.)
So comments please as it is on my website now at the bottom of the menu under "Experimental".
To use, click on the blue - sign at the bottom right hand corner of each red image on the left column. This removes the corresponding pixels as shown in the red area. To add them back in from the original, click on the green + sign at the top left.
Basically the green and blue small buttons toggle between adding and subtracting the pixels in a layer.
Any questions, ask me on this thread.
-- Edited by qmantoo on Thursday 10th of February 2011 01:14:04 PM