Enriquez wrote:
After getting the radius of the bmp file for each pixel, I want to use the radius to get the result *mpHI*, here's the formula: mpHI = a (constant) x radius^2 and after getting the mpHI, I wanted to round it off to get an integer.
This question is pure gibberish.
A file does not have a radius.
As a first approximation, each pixel has a radius of 0.5 (in units of pixels).
The title mentions a phase but the body of the message does not. What is mpHI?
There has to be more to it! Can you show us one of your bmp pictures (save it as png before attaching).
LabVIEW allows you to round up, round down, and round to the nearest integer. What final datatype do you want?