|
Until you sign up you can't do much. Yes, it's free.
|
|
|
|
|
|
|
 | / / / Viewing Topic
|  |
( sakurag )
Soothsayer
Patron
|
So, in my day to day life I get to interview really, really smart people. I ask them some questions (usually to do with fun exciting topics), and they try to answer them for me. Now you all, being super smart.. I want to see if you can answer one of these question. Most people don't seem to get them right.. it bums me out. Maybe someone here will astound me: If you know the answer, just don't blurt it out.. let people who don't know solve it. Question: I have an image on my computer. It's got a black background and a white triangle in it. The image is stored in a bitmap, each pixel contains the color value. On your own, w/o a paint program, tell me how you would create an outline of this shape from the original image. Ie, how would your paint program go about doing this. For those of you who don't understand how a computer image looks like up close, think of like zooming in really close to a picture, things get kinda pixelated. that might help you out.
------- I've got spurs that jingle jangle jingle. As I go riding merrily along. And they sing, "Oh, ain't you glad you're single?" And that song ain't so very far from wrong.
|
9:01 am on Oct. 8, 2008 | Joined Oct. 2002 | 575 Days Active Join to learn more about sakurag Washington, United States | Straight Male | 2254 Posts | 10222 Points
|
|
| |
|
|
jamesish
Heaven
Sustainer
Support Leader
Tech Support Leader
|
You could always use the magic wand. I didn't break any rules, did I?
------- |Myspace|
|
3:23 pm on Oct. 8, 2008 | Joined Jan. 2008 | 221 Days Active Join to learn more about jamesish South Carolina, United States | Metrosexual Male | 16049 Posts | 24842 Points
|
|
| |
|
|
allsmiles
Soothsayer
Ad Free
|
How the program, as opposed to the user and the UI? Presumably, it would start from the centre-most pixel and spiral outwards, switching the values of pixel pairs based on orientation from the previous pixel. This would generate a one line black triangle surrounded by a one line white triangle. Then you would just tell it to fill the centremost pixels with black until they encounter a black pixel in their direct vicinity. I dunno, sounds like how it would operate. I'm not all that good with image manipulation, only spent one lesson on it in physics.
------- When they leave me, they're all smiles. When they leave you, they're in tears.
|
|
|
sadnessness
Wealthy Hobo
|
why does being smart mean we know all about computers and pixels? the actualy intellectual test was nothing to do with it either lol
------- dont wonder why im not smiling, wonder why you are.
|
|
|
whoami111
Visionary
|
Quote: from sadnessness at 11:23 am on Oct. 9, 2008
why does being smart mean we know all about computers and pixels? the actualy intellectual test was nothing to do with it either lol 
QFT not all of us are computer geniuses
------- My Ultimate goal in life is to become what I am fully capable of.
|
|
|
|
|
|
|
allsmiles
Soothsayer
Ad Free
|
That does not create the outline of a triangle. Also, everything but inverse colours was redundant.
------- When they leave me, they're all smiles. When they leave you, they're in tears.
|
|
|
|
|
|
|
|
|
|
| Looking for something else?
|
|
|
|
|
|
 | / / / Viewing Topic |  |
|