I need to find the sum of half of the rows and all the columns... if i write only sum(a) it will give as below .. actually i need a single value of sum of pixels...
1898 1531 1367 1713
1734 1093 1145 1724
1793 1171 1199 1830
if i write as below i am getting single value but,
i need only sum of half of the rows and all the columns...
if i write above code it gives 1row multiple column values, that i dont need.. i have to get single value after summing those pixels as shown in the image by brown area... first half rows and all the columns covering those rows.. and should get single value for summing that area pixel values... thank you..