Effacer les filtres
Effacer les filtres

how to conver image matrix into bipolar values

5 vues (au cours des 30 derniers jours)
Kamyar Mazarei
Kamyar Mazarei le 23 Mar 2021
hi
im fairly new to matlab no idea what im doing
i have set of images that i have to convert into bipolar values, and all i can find is binary
i also tried hardlims() but it turns the matrix into 1s only
ALSO
how do i upload all the images at once?
i can only do it one at a time
  1 commentaire
DGM
DGM le 24 Mar 2021
What exactly do you mean by converting images into bipolar values?

Connectez-vous pour commenter.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 24 Mar 2021
Modifié(e) : KALYAN ACHARJYA le 24 Mar 2021
Bipolar Values, considering two data value only (Same number with Positive & Negative)
bw_image=%Convert to binary image
image_data=double(bw_image);
image_data(image_data==0)=-1;
In the resultant image, there are only two pixels elements +1 and -1
or Are you looking for more data type?

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type 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