May 2012
I just became aware of a book chapter authored by Dan Grois and Ofer Hadar, Recent Advances in Watermarking for Scalable Video Coding, Watermarking - Volume 2, Intech Open Access, ISBN: 978-953-51-0619-7, edited by Mithun Das Gupta (DOI 10.5772/37543).
The chapter summarizes large parts of my work: nice, thanks. On the other hand, three figures from my papers are redrawn and reproduced and several sentences are restated in full (and cited).
posted at: 21:21 | path: /academic | permanent link
Some ActionScript code (triangle.as) which displays a triangle and a rotating rectangle:
_root.createEmptyMovieClip('triangle', 1); with (_root.triangle) { lineStyle(10, 0xff0000, 100); moveTo(200, 200); lineTo(300, 300); lineTo(100, 300); lineTo(200, 200); }; var r:MovieClip = createEmptyMovieClip('rectangle', 2); r.beginFill(0xcc00cc, 100); r.moveTo(20, 20); r.lineTo(140, 20); r.lineTo(140, 140); r.lineTo(20, 140); r.endFill(); r._x = 230; r._y = 190; r.onEnterFrame = function() { this._rotation += 5; };
Compile it using ming (a library for generating Macromedia Flash files, .swf):
makeswf -r 12 -v 9 -o triangle.swf triangle.aswhere -r specifies the frames-per-second and -v gives the Flash format/version to create (up to 9 is supported).
Finally, embed the scary Flash thing:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="home" align=""> <param name="movie" value='/as/triangle.swf'> <param name="quality" value="high"> <param name="bgcolor" value="#ffffff"> <embed src='/as/triangle.swf' quality="high" bgcolor="#ffffff" width="550" height="400" name="home" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </object>
posted at: 09:57 | path: /programming | permanent link
I have a couple of sensors here, I'd like to try out:
Sensor | I2C address | Linux driver | Description |
---|---|---|---|
mcp4725 | 0x60 | iio (TODO) | digital-to-analog converter (DAC) |
vcnl4000 | 0x13 | input, iio | proximity and ambient light |
lsm303dlh | 0x18, 0x1e | hwmon | 3-axis accelerometer and 3-axis magnetometer |
hmc5883l | 0x1e | iio (DONE) | magnetometer, compass |
l3g4200d | 0x68 | hwmon | 3-axis gyro |
bmp085 | 0x77 | misc | pressure |
tsl2561 | 0x39 | iio | light |
adxl345 | input, misc | accelerometer | |
sht15 | hwmon | temperature, humidity | |
adjd-s311 | color light sensor | ||
tca6507 | 0x45 | leds | LED driver |
bma180 | accelerometer | ||
bma250 | accelerometer |
All are hooked up via the beagleboard-xm expansion header (I2C-2) and most require a level-shifter and 3.3 V supply.
posted at: 20:42 | path: /projects | permanent link