/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dataBase.search.distance;

import data.bins.Bins;
import dataBase.subPicture.Pixel;
import dataBase.subPicture.SubPicture;

/**
 *
 * @author Niklas
 */
public class Distance_L1 extends AbstractDistance {

	@Override
	public float getDistance(Pixel a, Pixel b) {
		return  Math.abs(b - a);
	}

}
