Purchase Solution

Demonstration of histogram equalization

Not what you're looking for?

Ask Custom Question

A 4X4 input image is defined by a matrix with gray scale[0.9]
2 3 3 2
4 2 4 3
3 2 3 5
2 4 2 4

Draw the image histogram and show the new output image along with its histogram after histogram equalization.

Purchase this Solution

Solution Summary

This solution explains how to perform histogram equalization on a greyscale image represented by a matrix.

Solution Preview

The following is the original matrix. This is a 4x4 matrix with 10 greyscale levels (0-9).

2 3 3 2
4 2 4 3
3 2 3 5
2 4 2 4

To calculate the histogram the number of occurrances of each greyscale level is counted. This results in the following histogram:

level freq
0 0
1 0
2 6
3 5
4 4
5 1
6 0
7 0
8 0
9 0

Notice that only the values 2,3,4,5 are ever used in this image. In order to equalize the histogram we will spread the values out across the entire greyscale range (0-9). In ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Networking Questions

This quiz consists of some basic networking questions.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

C++ Operators

This quiz tests a student's knowledge about C++ operators.