Skip to content
/ DIP Public

Basic operations for BMP file writen by cpp.

Notifications You must be signed in to change notification settings

TianheWu/DIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Image Processing

There are some basic operations for BMP file.

K-means methods

Origin picture

image-20211004122211828

K-means compress picture

It can compress 256 color picture.

image-20211004122244279

Color histogram equalization

Open the 24-bit bmp file exp_24.bmp and convert the rgb space to yuv space. Perform histogram equalization on the y-space. Then convert from yuv space to rgb space.

Origin picture

image-20211004122706215

Histogram equalization

image-20211004122739791

Parameters

Probability non-zero gray level, the ratio of the maximum probability, minimum probability, and maximum minimum probability in the probability non-zero gray level; the number of gray levels with probability greater than the average probability in the image; the average and variance of the non-zero probability are shown in the following figure:

image-20211004122814638

About

Basic operations for BMP file writen by cpp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages