For a given image with height = 17, and width = 11.(image A),
Are the following statements equivalent?
In Matlab: halfHeight = round(17/2); (answer = 9)
In C++: int halfHeight = ceil(17/2); (answer = 9)
For pixel access, how can I be sure that I'm accessing the correct pixel values?