[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] Custom Checkbox using jQuery

Here is how I managed to get the custom checkbox using jQuery. See the screenshot below The simple idea is to put class where we want to display checkbox. Here I have used two classes .clear and .checked. The name are very obvious. .clear holds the unchecked state of checkbox. .checked holds the checked state … Continue reading “[How To] Custom Checkbox using jQuery”