0
3.7kviews
Perform histogram stretching so that the new image has a dynamic range of [0,7]
1 Answer
1
51views

Here,rmin=0rmax=3smin=0smax=7s=smaxsmin/rmaxrmin(rrmin)+sminTherefore,s=7/3(r0)+0When,r=0,s=0r=1,s=7/3(10)=2.32r=2,s=7/3(20)=4.675r=3,s=7/3(30)=7 \

Therefore,we have

r=0 S=0
r=1 S=2
r=2 S=5
r=3 S=7

INPUT HISTOGRAM

enter image description here

OUTPUT HISTOGRAM:

enter image description here

Please log in to add an answer.