How to create nested loop for following equation?

11 views (last 30 days)
It divides image into 2 subimage based on mean. How I enter values in nested loop for first PDF(Pl) from (1 <= mean) & for second PDF(Pu) from (mean+1 > last value)
  6 Comments
Jagdeep S
Jagdeep S on 6 Feb 2021
can i simply use pdf() function here instead of these loops?
this is a program for brightness preserving bi histogram equalization (BBHE) which firstly divides image into two subimages based on mean. then it calculates pdf & cdf for both subimages and at last add both subimage to one image
Jan
Jan on 6 Feb 2021
You have posted several questions about the same problem. I've mentioned, that your code does not run at all and answered your comment above in one of your other threads already.
Please focus on one thread. Explain your problem uniquely and answer questions for clarifications. This will increase your chance to get a useful answer and avoids that posting an answer is a waste of time. Thanks.

Sign in to comment.

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!