cv::Mat to CDenseFeature conversion Factory and vice versa.

I have made a factory which directly converts any cvMat object into any(required) type of CDenseFeatures. 
and  CDenseFeature<float64_t> into the required type of cvMat (any)
why do you need the following packages:
 * libqt4-dev libgtk2.0-dev 
 * build-essential you should already have all the packages to build things with c++
 * python-dev python-numpy for what?