I am trying to implement contrast stretching function in php gd and I want to set 5th percent of the image as min value and 95th as max value. Anyone know how to get the histogram and those values using php gd?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m afraid you’ll need to count pixels one by one.