bug fixes (luminosity and byte conversion); cell delimitation and histogram calculation;