Why do we convert from RGB to HSV

According to http://en.wikipedia.org/wiki/HSL_and_HSV#Use_in_image_analysis : Because the R, G, and B components of an object’s color in a digital image are all correlated with the amount of light hitting the object, and therefore with each other, image descriptions in terms of those components make object discrimination difficult. Descriptions in terms of hue/lightness/chroma or hue/lightness/saturation are often more relevant. … Read more

What is the definition of a “disparity map”?

Disparity map refers to the apparent pixel difference or motion between a pair of stereo images. To experience this, try closing one of your eyes and then rapidly close it while opening the other. Objects that are close to you will appear to jump a significant distance while objects further away will move very little. That … Read more

How to view .img files?

If you want to open .img files, you can use 7-zip, which is freeware… http://www.7-zip.org/ Once installed, right click on the relevant img file, hover over “7-zip”, then click “Open Archive”. Bear in mind, you need a seperate program, or Windows 7 to burn the image to disc! Hope this helps! Edit: Proof that it works (not … Read more

How to view .img files?

If you want to open .img files, you can use 7-zip, which is freeware… http://www.7-zip.org/ Once installed, right click on the relevant img file, hover over “7-zip”, then click “Open Archive”. Bear in mind, you need a seperate program, or Windows 7 to burn the image to disc! Hope this helps! Edit: Proof that it works (not … Read more

Resize image in PHP

You need to use either PHP’s ImageMagick or GD functions to work with images. With GD, for example, it’s as simple as… And you could call this function, like so… From personal experience, GD’s image resampling does dramatically reduce file size too, especially when resampling raw digital camera images.