i need a mat lab code for this equation H ' = aH + (1 - a )H u , where 0 <= a <= 1., and H= HISTOGRAM OF INPUT IMAGE, Hu= uniform histogram of input image

hi sir is there any difference between uniform histogram of an image and histogram equalization.if there how to find uniform histogram of an image.my task is create a new histogram based on histogram of input image and uniform histogram,then how to re construct image from histogram

1 Comment

Please include a link that talks about "uniform histogram", as you appear to be using it with a different meaning than I would expect.

Sign in to comment.

Answers (1)

histogram() once with your Hu ("uniform histogram"), whatever that is. Then "hold on". Then histogram() again with your H, this time specifying
'FaceAlpha', a
The result will be what you asked for in your title. That equation is an "alpha blending".

Asked:

on 22 Aug 2015

Answered:

on 22 Aug 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!