how to conver image matrix into bipolar values
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kamyar Mazarei
am 23 Mär. 2021
Bearbeitet: KALYAN ACHARJYA
am 24 Mär. 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 Kommentar
Akzeptierte Antwort
KALYAN ACHARJYA
am 24 Mär. 2021
Bearbeitet: KALYAN ACHARJYA
am 24 Mär. 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?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!