Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for averageDeltaBound (0.11 sec)

  1. src/image/gif/writer_test.go

    // have the same bounds.
    func averageDelta(m0, m1 image.Image) int64 {
    	b := m0.Bounds()
    	return averageDeltaBound(m0, m1, b, b)
    }
    
    // averageDeltaBound returns the average delta in RGB space. The average delta is
    // calculated in the specified bounds.
    func averageDeltaBound(m0, m1 image.Image, b0, b1 image.Rectangle) int64 {
    	var sum, n int64
    	for y := b0.Min.Y; y < b0.Max.Y; y++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top