program

xiaoxiao2021-03-06  17

Loat column [7] = {0,0,0,0,0,0}; float data [7] [7]; for (i = 3; i <= m_nHeight-4; i ) {INT j = 3; // The data of 7 * 7 for (int m = -3; m <= 3; m ) for (int N = -3; n <= 3; n ) {colorRef c = m_pimage-> getpixel (i M, J N); Float Grey = GtrValue (C); DATA [M 3] [N 3] = Grey;} // Sum of 7 Column for (m = 0; M <7; M ) for (int N = 0; n <7; n ) {colorn [m] = column [m] data [n] [m];} // the sum of all data float sum = 0.0; for (m = 0; M <7; M ) {SUM = SUM COLUMN [M];} // Get the mean of the data float mean = sum =

转载请注明原文地址:https://www.9cbs.com/read-45367.html

New Post(0)