Create C++ class to calculate entropy and a C++ demo program - repost
$30-250 USD
Completed
Posted about 10 years ago
$30-250 USD
Paid on delivery
I need a C++ class with three static methods. Each of the three static methods calculates the entropy of a data buffer using Renyi, Kapur, and Shannon methods of calculating entropy.
Each method takes the pointer to a data buffer and the length of the buffer. Each method returns a float value with the entropy calculation.
float CalcShannon( void *buffer, int nBufferLength );
float CalcRenyi( void *buffer, int nBufferLength );
float CalcKapur( void *buffer, int nBufferLength );
There must be a C++ demo program that loads and file from disk, performs the three calculations, and then displays the results. All code and projects must compile with Visual Studio 2008, 2010, or 2012.
This is a repost of this project. The last person who tried to do it (SharjeelSohail) sent phony code that did not work. He also did not send a Visual Studio project.
I absolutely need to have references for where the information came from.
HI,
I understood your requirements, I can this C++ class for you. I found some information regarding this methods in internet [[login to view URL]]. If you can provide the formula for calculating all this 3 things then it is better and clear.
About Me: A freelancer with strong passion towards image processing and graphics programming.
I have more than 6 years of experience in c++ ,Opengl and Other technologies, You can find more details from my profile.
$222 USD in 3 days
4.9 (3 reviews)
3.5
3.5
4 freelancers are bidding on average $178 USD for this job
Hello,
I can implement for you a C++ class that will calculate the Shanon entropy for a given buffer with data. (I have no reference for the other 2 entropy methods you want so I can't promise you to implement them).
I will also write a demo code that will read a file (read as binary) and calculate the entropy.
The final code will be delivered as a Visual Studio 2008 project. If you need I can also create VS 2010, 2012 and 2013 projects.
Thanks,
Paul