[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’

VC++ Compiler throws warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ warning when we try to declare float variable as double. Remember float M_PI = 3.1428571428571428     // This is actually double variable will throw the warning: warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ The right way to do declare float varible is … Continue reading “[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’”

Image Preprocessing with ImageJ

ImageJ is a public domain Java image processing program inspired by NIH Image for the Macintosh. It runs, either as an online applet or as a downloadable application, on any computer with a Java 1.1 or later virtual machine. Downloadable distributions are available for Windows, Mac OS, Mac OS X and Linux. It can display, … Continue reading “Image Preprocessing with ImageJ”

[How To] Change main-menu icon in Lucid (Ubuntu 10.04)

All the icons in Ubuntu are inside the theme which is in use. Now to change applications icon, which you can see on the left most side of Applications.The following steps should followed:- 1.Open terminal and type  gksudo nautilus. 2.Copy this location into your new window:- /usr/share/icons/ 3.Choose the icon type which is in current … Continue reading “[How To] Change main-menu icon in Lucid (Ubuntu 10.04)”