![]() |
TCHS 4O 2000 [4o's nonsense] alvinny [2] - csq - edchong jenming - joseph - law meepok - mingqi - pea pengkian [2] - qwergopot - woof xinghao - zhengyu HCJC 01S60 [understated sixzero] andy - edwin - jack jiaqi - peter - rex serena SAF 21SA khenghui - jiaming - jinrui [2] ritchie - vicknesh - zhenhao Others Lwei [2] - shaowei - website links - Alien Loves Predator BloggerSG Cute Overload! Cyanide and Happiness Daily Bunny Hamleto Hattrick Magic: The Gathering The Onion The Order of the Stick Perry Bible Fellowship PvP Online Soccernet Sluggy Freelance The Students' Sketchpad Talk Rock Talking Cock.com Tom the Dancing Bug Wikipedia Wulffmorgenthaler ![]() ![]() ![]() ![]() ![]() ![]() |
bert's blog v1.21 Powered by glolg Programmed with Perl 5.6.1 on Apache/1.3.27 (Red Hat Linux) best viewed at 1024 x 768 resolution on Internet Explorer 6.0+ or Mozilla Firefox 1.5+ entry views: 3794 today's page views: 303 (29 mobile) all-time page views: 3248450 most viewed entry: 18739 views most commented entry: 14 comments number of entries: 1215 page created Mon Apr 21, 2025 15:39:31 |
- tagcloud - academics [70] art [8] changelog [49] current events [36] cute stuff [12] gaming [11] music [8] outings [16] philosophy [10] poetry [4] programming [15] rants [5] reviews [8] sport [37] travel [19] work [3] miscellaneous [75] |
- category tags - academics art changelog current events cute stuff gaming miscellaneous music outings philosophy poetry programming rants reviews sport travel work tags in total: 386 |
![]() | ||
|
More sad stuff as Paul Scholes retires. I'll miss those pinpoint forty-yard balls sprayed to the wingers at exactly the right angle and pace. My cousin put together a little montage to remember Mr. Ham J. D. Burger by, using his iPhone: ![]() Mr. Ham with some of his prized trophies The mantle of Mr. Ham must be carried on, and after three days of mourning, a successor was found (sneak preview follows). His name and story will follow... soon. Photos And Predictions The grades for my final final modules (unless I get bored and do some Masters someday) are back, and they are: A for Computational Photography, and B+ for Simulation and Modelling Techniques. As happens so often with me, the results are a little ironic, as I decided to take Computational Photography mostly because it was fully assignment-based without final examinations, and I am by no measure a shutterbug, unlike so many people I know (I've said this, haven't I?). Heck, I haven't even replaced my point-and-shoot since I dropped it in Barcelona a couple of years ago. I was pleasantly surprised, therefore, when some of the material happened to be on techniques that I had independently explored (on this very blog, no less) before; take for instance Seam Carving and Face Hallucination, which I believe is basically the Example-Based Super-resolution taught in the class. The difference was that this time round, I had to actually bang out the code. Seam Carving is an interesting one. It would not be an exaggeration to say that it made huge waves (well, about as huge as could be expected) when it was first presented in 2007. It was, after all, a general method for recognizing and preserving the most significant details in an image, as follows: ![]() Resizing never looked so good* In the above example, when the width vs. height ratio of the image is changed, the usual rescaling distorts the image features, though it keeps their relative sizes constant. Cropping can preserve the original ratios, but loses whole blocks of information. Seam Carving, in contrast, can maintain the ratios of the most important features (like cropping), while automatically scaling the remainder of the image. Now, rescaling (down) is simply compressing multiple pixels from the original image into a single one in the target; considering the simple case of halving each dimension of a 2D image, each pixel in the final image will just be the average of four in the original. Cropping is even more straightforward. Then we have Seam Carving. It works on two principles:
The first principle can be satisfied by something as simple as a Prewitt or Sobel filter, which is merely observing how different a pixel is from its neighbours. Regions where this difference is small have little detail, and usually correspond to areas of less significance (e.g. the sky in the image above). These filters are taught in most introductory computer graphics courses. For the second principle, we could of course simply remove individual pixels in ascending order of importance - however, this generally does not preserve any structure, although it does maximize information content. Most of the time, we wish to rescale an image from its original dimensions of (x,y) to some new dimensions (m,n). This suggests that we can just remove (or add) the appropriate number of rows (or columns) of pixels, with the least important row being removed first - and this does indeed work, though it is somewhat vulnerable to leaving jagged edges (e.g. if several adjacent rows are removed). Seam Carving thus uses seams, which are simply connected paths of pixels across an image, with one pixel in each row (or column). There isn't anything particularly exciting about seams by themselves, either - they can be computed with dynamic programming, which is often covered in introductory algorithms classes. However, observe that these two fundamental techniques, available to many computer science students (possibly in their first year, even), combined into a very popular paper (over 250 citations in a few years), and a job at Adobe for one of the researchers. Oh, the paper has various extensions, but this is the meat and potatoes. What else was covered (and done) in the course?
I'll leave my thoughts on simulation for next time. Party And Parcel Something that I have not covered in the previous post, is the perception of the PAP as arrogant by some sections of the population (which is their own image problem). Are they? Well, they are certainly extremely confident that they are correct; whether that amounts to arrogance is another thing. One possible route that the PAP could take, which I have neglected to mention, is that of gradual relaxation - it is very possible that by righting certain unhappy practices, like the tying of upgrading to votes, might win them more votes than it loses. There is, of course, the concern that conceding on these points might make them look weak (and indeed, sheer sticking to one's guns has always been an effective political strategy). Come to think of it, they're sort of like Barcelona. Like them or not, you have to admit that they have achieved a lot. Now, if they could just cut down on all that diving (which especially rankles since they don't have to do it to win)... The clearest signal in this respect would, to me, be true liberalization of the (print) press. Is the Straits Times (ST) biased (on politics), most glaringly in its Forum page? One passionate journalist argued in the negative on Facebook, but looking at the comments, not too many are convinced. Distilling it down, my view is that what the ST says is invariably true, in the sense that it had been previously stated by someone in authority (whether scientific, or governmental, or whatever). It is also true, however, that many true things are not said by the ST. It can be recognized that our alternative news sites behave worse, but it again is the question of whether the ST, as a national newspaper, should hold itself to higher standards than Internet hacks. Shifting to contrarian mode, I feel that the ST's election coverage in particular has been relatively fair (see an example criticism). It is unreasonable for the Opposition to expect prime placement, when they are still some way from having a majority. It would be a strange newspaper indeed, that headlines a party that cannot be reasonably be expected to win; if the positions were reversed, and the Workers' Party, say, formed the Government, I'm sure they would expect to be emphasized on the front page too. The obvious solution is to allow a competing general daily that tells the other side of the truth - but that may be a long time in coming. It's all a matter of balance Next: Audience Granted
Trackback by this, that, post, blog, article, forum, phorum, to...
Trackback by print manager application
Trackback by unlock iphone
Trackback by unlock iphone
Trackback by Kazantip Voyeur
Trackback by angry birds go hack
Trackback by isc immobilier montpellier
Trackback by Plan My Baby
Trackback by Magnetic Reading Glasses
Trackback by look what i found
|
![]() |
|||||||||||||||||||||||||||
![]() Copyright © 2006-2025 GLYS. All Rights Reserved. |