Effacer les filtres
Effacer les filtres

Error using entropy expected input number to be real.

6 vues (au cours des 30 derniers jours)
Mira mosad
Mira mosad le 20 Mar 2022
Commenté : Image Analyst le 21 Mar 2022
The following error appears when applying an image enhancement code. The errors appears only with jpeg images. Could you please help me?Error using entropy expected input number to be real.

Réponse acceptée

Image Analyst
Image Analyst le 20 Mar 2022
Evidently your input is not real. If it's complex, use real() to get the real part. If it's an integer, like uint8, use double() to cast the integer variable to double.
  2 commentaires
Mira mosad
Mira mosad le 21 Mar 2022
I appreciate your answer .
The input is unit8( image) so i used im2double() and still have the same problem ?
can you help ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Filtering and Enhancement dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by