Sniper007
May 21 2004, 12:36 AM
I've been using (and abusing) objects extensively ever since I ran across ACTool. And as most of us know, when running isobject commands, ACTool checks for the highest RGB intensity per pixel. I've said before that ACTool is colorblind: But... Why? Why doesn't it see color? Right now, I could write procedures that would loop the GetRed, GetGreen, and GetBlue commands, and in essence, create an ISOBJECT command that sees color (MAPPING these objects is an entirely different matter! Heh...) complete with "objvar" parameters (three of them actually).
Does anyone else thing that this would be a valuable addition to ACTool? I don't know if it would help, but if you DO think this would be good to add to ACTool, I'd be honored to work out those procedures and submit them. (My code isn't very... "elegant," but it gets the job done.)
Just a thought.
The WABBIT
May 21 2004, 01:20 PM
| QUOTE (Sniper007 @ May 21 2004, 12:36 AM) |
I've been using (and abusing) objects extensively ever since I ran across ACTool. And as most of us know, when running isobject commands, ACTool checks for the highest RGB intensity per pixel. I've said before that ACTool is colorblind: But... Why? Why doesn't it see color? Right now, I could write procedures that would loop the GetRed, GetGreen, and GetBlue commands, and in essence, create an ISOBJECT command that sees color (MAPPING these objects is an entirely different matter! Heh...) complete with "objvar" parameters (three of them actually).
Does anyone else thing that this would be a valuable addition to ACTool? I don't know if it would help, but if you DO think this would be good to add to ACTool, I'd be honored to work out those procedures and submit them. (My code isn't very... "elegant," but it gets the job done.)
Just a thought. |
When I was looking at the code for the routine that creates the objects, and the one that compares the objects.
The both get the full color of the pixel. And then break the pixel's color down to the RGB colors. Of course they only use the highest value of the three.
So, this should not be too hard to implement. The only thing I can see that might cause a problem. Is if AC Tool uses the original color value, instead of the RGB color values. As it would be harder to compensate for the differences caused by other computer systems/drivers/vid cards/etc.. It just might be best to use all three RGB values.
And if we do use all three RGB values. How would we create an object, that uses all three RGB values. But does not grow beyond what is currently created?
If you can come up with a formula, that allows the saving of all three RGB values. I might be able to change/update the current routines.