Monthly Archives: July 2014

Maybe we won’t need to wear a reading glasses while working with a computer like screen in near future.

Recently, an interesting work has been published in SIGGRAPH2014, named “Vision-correcting display lets users ditch their reading glasses”. I can’t quite understand the principle behind this, but it seems to allow people working such as reading an articles or writing on a paper without glasses.

If you are interested in this, have a look the below article from

Vision-correcting display lets users ditch their reading glasses

Researchers at UC Berkeley claim to have created a vision-correcting matrix for display sc...

Researchers at UC Berkeley claim to have created a vision-correcting matrix for display screens

Image Gallery (5 images)

We’ve seen a number of glasses-free 3D technologies in recent years, most famously in Nintendo’s 3DS, but now researchers at the University of California at Berkeley and MIT have created a prototype device that allows those with vision problems to ditch their eyeglasses and contact lenses when viewing regular 2D computer displays by compensating for the viewer’s visual impairment.

The prototype device consists of a screen printed with a matrix of pinholes measuring just 75 microns in diameter and separated by gaps 390 microns wide. This printed pinhole screen was then inserted between two layers of clear acrylic and attached it to an iPod display. Using an algorithm that takes into account a person’s eyeglasses prescription, the screen is able to compensate for an individual’s specific visual impairment by adjusting the intensity and direction of the light emitted from each screen pixel.

In this way, by way of a technique called deconvolution – a process of reversing optical distortion similar to that used to correct images on the Hubble telescope’s distorted mirror – the light from the image that passes through the pinhole matrix will be perceived by the user as a sharp image.

In a trial to test this set up, the team used a camera whose lens was adjusted to emulate farsightedness in a human eye, and then displayed images to that camera. When the image-correcting matrix was placed between the screen and the observing camera, the image resolved into sharp focus.

“Our technique distorts the image such that, when the intended user looks at the screen, the image will appear sharp to that particular viewer,” said Brian Barsky, UC Berkeley professor of computer science and vision science who is leading the project. “But if someone else were to look at the image, it would look bad.”

Currently, the device also requires that the viewer remain in a fixed position for the matrix to be effective. However, Fu-Chung Huang, who is lead author of the study, says that eye-tracking technology could be used in future to allow the displays to adapt to the position of the viewer’s head. He says the team also hopes to add multi-way correction that would allow users with different visual problems to view sharp images on the same display.

In addition to common problems such as farsightedness, the team says the technology could one day also help those with more complex problems, known as high order aberrations, which eyeglasses and contact lenses are unable to correct.

“We now live in a world where displays are ubiquitous, and being able to interact with displays is taken for granted,” said Barsky. “People with higher order aberrations often have irregularities in the shape of the cornea, and this irregular shape makes it very difficult to have a contact lens that will fit. In some cases, this can be a barrier to holding certain jobs because many workers need to look at a screen as part of their work. This research could transform their lives, and I am passionate about that potential.”

The research team’s will present their findings at SIGGRAPH 2014 (Special Interest Group on Graphics and Interactive Techniques) conference in Vancouver, Canada on August 12th this year. Their paper is published in the journal ACM Transactions on Graphics.

The following video shows the prototype screen in use, and explains some of the background to its development.

Source: UC Berkeley


Converting image files such as JPEG or PNG to EPS on Mac using a ‘convert’ command.

Mac is built upon an unix file system and using imageMagic as a front-end imaging tool.

In order to convert a image file such as jpeg or PNG, you can call imageMagic command for it.

There are also quite useful switches that allow compression or setting resolutions of a target EPS file.

Here are some examples and you won’t miss this.

Open a terminal and cd to the directory containing a image file you want to convert to EPS.

convert ./a.jpg ./a.eps

This creates a.eps file with the default setting which is 72dpi.

If you want to adjust that DIP then

convert -density 200 ./a.jpg ./a.eps

This will generate a.eps file which has 200dpi resolution.

Sometimes, this commands generate huge files depending on demanding resolutions. You can also compress a generated file and avoid creating a huge file.

For a png file:

convert a.png -compress lzw eps2:a.eps

For a jpg file:

convert a.jpg -compress jpeg eps2:a.eps

I am using Mac 10.9.4 Marvericks and all works perfectly.

Hope these tips also works for you.

Putting a page number in Latex.

In order to put a page number,


This will put just a plain page number for each page.

More fancy functions are also supported and you can find them from the following links.

If a page number is too close of your text, then use the following script.