Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Lens Filter
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Delos




PostPosted: Sat Jan 24, 2004 9:41 pm   Post subject: Lens Filter

Hey all.

This is a programme I made today. It's particularly useful since it doesn't require excessive RGB imports etc.

Please note, if you try to crash the GUI, it will. I made that part in about 2 mins, so it's not perfect...
The filter on the other hand...hehehe...


Edit:
Attatchment removed...see Lens Filter V 2.0
http://www.compsci.ca/v2/viewtopic.php?t=3316
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Sat Jan 24, 2004 9:44 pm   Post subject: (No subject)

Awsome just damn well awsome
Delos




PostPosted: Sat Jan 24, 2004 9:49 pm   Post subject: (No subject)

Thank you, thank you very much.

No Elvis here...
Tony




PostPosted: Sat Jan 24, 2004 10:18 pm   Post subject: (No subject)

Edit: bah, I was just using a crappy picture to test it out... its actually a nice program Very Happy
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
DanShadow




PostPosted: Sun Jan 25, 2004 12:03 am   Post subject: (No subject)

holy crap!! That is freaken awesome!!! How the heck w ere you able to do that?? Does th en rendering process render each shade of RGB in a pixel, and set it to that shade of green?? That is just so great!
[+50 Bits]
Delta




PostPosted: Sun Jan 25, 2004 9:15 am   Post subject: (No subject)

Its pretty cool.. but your black doesn't seem to like working :S... but yea... not bad
Delos




PostPosted: Sun Jan 25, 2004 9:29 am   Post subject: (No subject)

Delta wrote:
Its pretty cool.. but your black doesn't seem to like working :S... but yea... not bad


Yeah...that was a last minute add on. For best results using it though, ensure that everything around the part of the picture you want silhouetted is white.

(See readme.txt).

It's a pretty simple programme really...
2 parts:
Rendering - it figures out what RGB colours to assign.
Checking - it turns all colour back into 256-scalable colours.

So, if I took out 'Checking' then the pics would look l337er but, would not work all that well with Turing.
AsianSensation




PostPosted: Sun Jan 25, 2004 12:42 pm   Post subject: (No subject)

pretty good, I was thinking of doing something like this before, so i could turn one picture into another, like that george bush to monkey thing. Well, look like you beat me to it, here, have some bits
+ 50 bits
shorthair




PostPosted: Sun Jan 25, 2004 8:51 pm   Post subject: (No subject)

why wont hte RGB values work for hte black color ?
Delos




PostPosted: Sun Jan 25, 2004 9:17 pm   Post subject: (No subject)

shorthair wrote:
why wont hte RGB values work for hte black color ?


What do you mean?
Expound a tad, si vous-plait.
shorthair




PostPosted: Sun Jan 25, 2004 9:19 pm   Post subject: (No subject)

when the edges of hte picture are not white , it turns the picture black , for some reason
Delos




PostPosted: Mon Jan 26, 2004 10:17 am   Post subject: (No subject)

I've done some tests...and I'm still not positive what you are talking about.

Here are some possibilities:

If your are using the 'sillhouette' mode; then the programme checks for either coloured pixels, or background colour pixels. For Turing, background colour pixels (colourbg) are 0.
So, if you have a pic with no white in it, then the whole thing is going to turn black.
shorthair




PostPosted: Mon Jan 26, 2004 5:42 pm   Post subject: (No subject)

Thats pretty muc hthe problem im having
sport




PostPosted: Mon Jan 26, 2004 5:52 pm   Post subject: (No subject)

Awesome program. You should add an option that allows to enter the name of the output file.
Delos




PostPosted: Mon Jan 26, 2004 5:53 pm   Post subject: (No subject)

Well, not so much a problem.

That is what that aspect of it is supposed to do. It is one of those "Hey, wait, it can do this as well!" type last minute add ons.

The best use for it would be if you had a pic on a white background, and wanted to make a silhouette for it.

Ah well, the other ones work better.

V 2.0 is almost done. Smile

Edit:

Output file name option? Sounds good!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 15 Posts ]
Jump to:   


Style:  
Search: