السلام عليكم
من يساعدني في كتابة كود للآتي:
اقتباس1. Read the array (contains either 255 or 0.3. Segment the width every x columns, x = W/10.
4. for each column find:
sum(h=1,H) (255- I(x,y)) .
5. Get the percantage of each group ( the number of 255s to 0s)
6. Store the values of step 5 in file.