First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks to me that the answer lies in histogram matching. You can create the histogram and modify it as per your specs. Then you can apply it to get the desired range. I can help you formulate the code.