I’ve got a few prototypes of content-aware image resizing running and the results are interesting, perhaps primarily because the algorithm works so well that usually you say “eh, what’s the big deal?” Unless there are faces in the photo, but more on that later…
Coincidentally, I ordered some prints to send to my in-laws yesterday and was reminded of the annoyance of crop differences between the standard snapshot aspect ratios. Ah hah, thinks I! I should do one of those “mashup” things the kids are all talking about!
Ideally, you’d have:
- Easy access from your image software (“Oh, darn! Look at those default crop lines! Let me click on ‘Crop Perfect’!)
- Integration into the printing process (see above.)
- Maintain original file
Hmm…. There’s no Picasa plugin API (although there’s a Picasa Web Album API) and in my experience, all photo-printing places use an uploading plugin. Hmmm….
Any thoughts on strategy?
Comments Off on Content-Aware Image Resizing For Photo Prints
I’ve never played Halo nor Halo 2. I’ve now played the first level (“Groundfall” or somesuch) of Halo 3. Gotta’ tell you: my initial impression is that it’s not as entrancing as Gears of War or Call of Duty. The cutscenes make absolutely no sense to a newbie, the level design was nothing special (oh, the trees shake when you move past them. Cute.), the combat tactics weren’t clear, and the controls seemed sub-optimal (I read in Wired that you were supposed to always be switching between grenades, guns, and fists. But to use your fists, you have to take your thumb off the “look” control, so it’s hard to melee).
People talk about multiplayer, but let me clue you in to something about multiplayer: it’s offputting to normal people. Normal people don’t enjoy undergoing a series of losses before being buoyed up by the matchmaking system. Perhaps subsequent to the 10th match everything is wonderful as you slot into the ranks of your peers. But I’ll tell you what — I’ve never played 10 matches online in any game, because my first half-dozen matches have always been unpleasant. In racing games, people intentionally crash through the first corner; in first person shooters, you get picked off ten times in a single match.
Comments Off on My Newbie Reaction to Halo 3 : Meh.
Excel 2007: The problem is that the 3rd column contains =a2*b2 … (the first 500 numbers for 2^32 pass, though…)
Is there a pattern in there?
Comments Off on Those pesky powers of 2
Comments Off on Ergonomic Workstation Calculator
casey chesnut has been playing around with augmented reality for the UMPC. I think he’s going strictly for a technology demo, but the physical tags he’s constructed seem to be about the right size for a conference badge. That’d be kind of cool — hold up your UMPC in a crowd and get a “magic window” collection of homepage URLs?
Comments Off on Augmented Reality from casey chesnut
Intel’s announced the availability of a prototype C++ compiler implementing Software Transactional Memory, one of the central topics of this brilliant .NET Rocks show.
That’s exciting, although I suspect that on just two cores STM will be disappointing.
Comments Off on Software Transactional Memory C++ Compiler from Intel
I love this idea: a magnifying glass with a built-in expert system for identifying bugs. That’s a nice combination of form and function. My thrill was clouded upon reading the that it only identifies “more than 50 real live bugs;” if you’re going to do the hardware and firmware for this, it ought to be trivial to burn in the taxonomy for “thousands of real live bugs!” See, for instance, the remarkable 20Q orb.
Once upon a time, I fielded an expert system for identifying seabirds. One of the big problems was that interacting with the display necessarily meant taking your eyes off the seabird and, if you weren’t experienced, that often meant considerable time before re-acquiring. But if you were an experienced birder, you didn’t need the expert system. Plus display and battery life on the available portable computers of the time were problematic.
When the Palm came out, I investigated developing expert systems for them: the target niches were going to be birds, plants, and mushrooms. Too little market confidence and too few resources kept that one at the prototype stage.
Sadly, that “more than 50″ line and the lack of “I don’t know” button makes me wager that instead of having a real expert system, with inferencing and reasoning under uncertainty, the software is just a simple tree. Which, if I’m right, is pathetic — all of that work to develop a device and then to cripple it, for lack of a couple of hundred lines of code.
Comments Off on Magnifying Glass / Bug ID Expert System
I’m not one of those people for whom the task of composition is a somewhat mechanical extension of increasingly detailed outlines. Nonetheless, research consumes between 80-90% of the time I spend on a technical article (note I said time and not effort — subjectively, writing text is two or three times harder than writing C++. You can satisfy a compiler.)
In this case, research will consist of:
- Integrating CodeAnalyst and Eclipse
- Profiling a simple application
- Implementing an image-processing application
- Profiling it to discover a performance problem
- Investigating that problem with CodeAnalyst
- Ameliorating it
- Evaluating the performance “win”
- If not “big enough” go to 3
In this case, my target sample application has two algorithms that I think will be difficult:
- Seam-discovery (CPU intensive)
- Seam-removal (Memory-manipulation intensive)
With seam-discovery, I know that even if I implement a known-good algorithm (such as graph-cuts), I am guaranteed to peg the CPUs. My big gamble professionally is that I’m a good enough programmer to find a Step 6 “win” that I can pull off in a reasonable amount of time. A safer bet would be to choose an algorithm that would have performance problems if intentionally implemented in a naive manner (for instance, a filter that just iterated across rows and columns and, at each pixel, retrieved the neighboring pixels and averaged them. Pretty easy to tune that up!)
Now, a confession. By the time you read this, I’ve been somewhere not-Hawai’i for a week or so. I’ll carry print outs of this paper on content-aware image resizing and this paper on graph-cuts and study them on the plane tomorrow. I’ll have my laptop with me and may noodle around with source code, but it’s far more likely that I’ll be working with pen and paper to see if I can “get” the algorithm intuitively. Other than that, I’m going to do my darnedest not to spend too much time thinking about computers.
Coming September 19th or thereabouts: Part 4, Research Gets Underway…
Comments Off on Writing A Technical Article, Pt. 3: Research Begins…
Some d00d named Leppie has written a Lisp for the DLR [via Jason Bock]
Comments Off on Iron is the New Sharp
Alan Zeichick deserves a fortune in Amazon referral fees for this: iPod connector to RCA plugs.
Comments Off on iPod to RCA: Instant Add-To-Cart