iphone Programming Glossary: histogramm
UIImage - implementing an auto levels algorithm http://stackoverflow.com/questions/3278560/uiimage-implementing-an-auto-levels-algorithm kCGImageAlphaNoneSkipLast CGColorSpaceRelease colorSpace CGContextDrawImage ctx CGRectMake 0 0 100 100 image int histogramm 256 bzero histogramm 256 sizeof int for int i 0 i 100 100 4 i 4 UInt8 value imageData i imageData i 1 imageData i 2 3 histogramm.. CGColorSpaceRelease colorSpace CGContextDrawImage ctx CGRectMake 0 0 100 100 image int histogramm 256 bzero histogramm 256 sizeof int for int i 0 i 100 100 4 i 4 UInt8 value imageData i imageData i 1 imageData i 2 3 histogramm value CGContextRelease.. 256 bzero histogramm 256 sizeof int for int i 0 i 100 100 4 i 4 UInt8 value imageData i imageData i 1 imageData i 2 3 histogramm value CGContextRelease ctx free imageData int black 0 int counter 0 count up to 200 2 values from the black side of the..
|