How to create nested loop for following equation?

9 visualizzazioni (ultimi 30 giorni)
Jagdeep S
Jagdeep S il 5 Feb 2021
Commentato: Jan il 6 Feb 2021
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 Commenti
Jagdeep S
Jagdeep S il 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 il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by