code logs -> 2007 -> Tue, 30 Jan 2007< code.20070129.log - code.20070131.log >
--- Log opened Tue Jan 30 00:00:47 2007
00:13 AnnoDomini [~farkoff@Nightstar-29034.neoplus.adsl.tpnet.pl] has quit [Quit: No fighting in the War Room!]
01:17 MyCatVerbs is now known as MyCatSleeps
01:53 MyCatSleeps is now known as MyCatVerbs
01:59 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has left #code [Dead channel.]
02:38 Syloq [Syloq@Admin.Nightstar.Net] has quit [Quit: ]
03:38 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: ]
03:39 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
03:39 mode/#code [+o Chalcedon] by ChanServ
03:48
<@ToxicFrog>
Ok, bicubic filtering is nasty.
03:50
<@ToxicFrog>
result = (1.0/6.0)*(R1*Gc(ix,iy-1) + R2*Gc(ix,iy) + R3*Gc(ix,iy+1) + R4*Gc(ix,iy+2));
03:50
<@ToxicFrog>
#define Gc(X,Y) ((1.0/6.0)*(S1*G(X-1,Y) + S2*G(X,Y) + S3*G(X+1,Y) + S4*G(X+2,Y)))
03:50
<@ToxicFrog>
And there's another ten #defines behind that.
03:51
<@ToxicFrog>
It works, though!
03:56
< Vornicus>
Eeew
03:57
<@ToxicFrog>
This is, I note, not some kind of workaround to fit it into the language; the reference equations are thirteen lines long and just as nasty.
03:57
< Vornicus>
...I didn't think bicubic was that bad.
03:57
<@ToxicFrog>
I can paste them here if you don't believe me.
03:59
< Vornicus>
...though now that I think on it I'm probably using the wrong invariants.
03:59
<@ToxicFrog>
Basically, the pixel value is the value of the row of four pixels around it, which is 1/6th of the sum of the value of each of those pixels multiplied by a position-specific value that I don't know how they derive.
03:59
<@ToxicFrog>
And the value of each of those pixels is the value of the four-pixel column it's a part of calculated in the same way.
04:00
<@ToxicFrog>
Bilinear is much nicer.
04:00
< Vornicus>
Bilinear is much nicer.
04:00
< Vornicus>
There is only one way to /do/ bilinear.
04:00
<@ToxicFrog>
I think there's only one way to do bicubic. Or at least, we've only covered on way so far.
04:01
<@ToxicFrog>
Bilinear also has the advantage that it's a tiny fraction of the size of bicubic and makes intuitive sense.
04:01
< Vornicus>
There's at least two different kinds of invariants I can think of - you can interpolate in the bezier fashion, where the two inner points are not touched but are control points, and you can do something where the two /outer/ points are non-touched control points.
04:02
< Vornicus>
And then there's stuff like cubic splines, where the curve touches /all/ the vertices... http://mathworld.wolfram.com/CubicSpline.html
04:04
< Vornicus>
I used biquadratic surfaces in my ottdgfx thing.
04:05
<@ToxicFrog>
I am totally not awake enough to grok that.
04:05
< Vornicus>
Dude, I'm not awake enough to grok it.
04:06
<@ToxicFrog>
ftp://131.104.49.49/cis4720/lab_1/notes.pdf -- this is the equation we're using
04:08 * Vornicus eyes
04:09
< Vornicus>
Okay, I don't know what the hell it's doing.
04:09 * Chalcedon boggles at TFs equation
04:10 * Chalcedon offers cookies and coffee for midnight-assignment-doings
04:11
<@ToxicFrog>
It's sampling the sixteen points between (x-1,y-1) and (x+2,y+2) weighted according to something I don't understand.
04:11
<@ToxicFrog>
It works, though.
04:13
< Vornicus>
Yeah, I don't understand the weighting either.
04:44 MahalWork is now known as Mahal
04:50
<@Reiver>
VORN
04:51
<@Reiver>
I'm trying to work out formula thingies and failing.
04:53
< Vornicus>
oh?
05:35 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
06:39 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:39 mode/#code [+o Chalcedon] by ChanServ
07:02 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
07:02 mode/#code [+o Chalcy] by ChanServ
07:03 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
07:03 Chalcy is now known as Chalcedon
07:06 Chalcedon is now known as ChalcyDinner
07:34 McMartin [~mcmartin@Nightstar-8547.dsl.pltn13.pacbell.net] has joined #code
07:34 mode/#code [+o McMartin] by ChanServ
08:18 Mahal is now known as MahalBEDD
09:10 ChalcyDinner is now known as Chalcedon
09:35 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: gone]
09:51 gnolam [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
09:54 You're now known as TheWatcher[wr0k]
10:01 gnolam is now known as gnohermit
10:09 Vornicus is now known as Vornicus-Latens
10:51 AnnoDomini [~farkoff@Nightstar-29034.neoplus.adsl.tpnet.pl] has joined #Code
11:29 Bogdan [Bogdan@89.39.209.ns-4610] has joined #code
11:30 Bogdan is now known as Bogdan|brb
11:40 Reiver is now known as ReivZzz
12:29 Bogdan|brb [Bogdan@89.39.209.ns-4610] has quit [Quit: ]
16:19 Serah [~-@87.72.36.ns-26407] has quit [Ping Timeout]
16:19 Serah [~-@87.72.36.ns-26407] has joined #Code
16:29 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
16:38 You're now known as TheWatcher
16:41 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
16:49 gnohermit [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Connection reset by peer]
16:56 gnolam [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
17:14 You're now known as TheWatcher[afk]
17:15 gnolam is now known as gnosword
17:22 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
17:22 mode/#code [+o Chalcedon] by ChanServ
17:30 AnnoDomini [~farkoff@Nightstar-29034.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
17:32 ReivZzz is now known as Reiver
17:36 AnnoDomini [~farkoff@Nightstar-29679.neoplus.adsl.tpnet.pl] has joined #Code
17:41 Reiver is now known as ReivWork
18:06 * Chalcedon argh at presence
18:13 MahalBEDD is now known as Mahal
18:15 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
18:15 mode/#code [+o Chalcy] by ChanServ
18:15 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
18:15 Chalcy is now known as Chalcedon
18:31 You're now known as TheWatcher
18:36 Mahal is now known as MahalWork
18:49 Chalcedon is now known as ChalcyOut
18:54 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
18:54 mode/#code [+o Chalcy] by ChanServ
18:55 ChalcyOut [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
20:15 gnosword [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Ping Timeout]
20:15 Vornicus-Latens is now known as Vornicus
20:22 gnolam [Lenin@85.8.5.ns-20483] has joined #Code
21:57 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
21:59 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
22:06 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
22:06 mode/#code [+o Chalcy] by ChanServ
22:07 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
22:28 You're now known as TheWatcher[T-2]
22:31 You're now known as TheWatcher[zZzZ]
23:14 gnolam [Lenin@85.8.5.ns-20483] has quit [Quit: So... tired...]
23:26 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
23:27 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
23:29 ChalcyGone is now known as Chalcedon
23:53 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
--- Log closed Wed Jan 31 00:00:47 2007
code logs -> 2007 -> Tue, 30 Jan 2007< code.20070129.log - code.20070131.log >