필터 지우기
필터 지우기

how to conver image matrix into bipolar values

조회 수: 5 (최근 30일)
Kamyar Mazarei
Kamyar Mazarei 2021년 3월 23일
편집: KALYAN ACHARJYA 2021년 3월 24일
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
DGM
DGM 2021년 3월 24일
What exactly do you mean by converting images into bipolar values?

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 3월 24일
편집: KALYAN ACHARJYA 2021년 3월 24일
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개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by