how to separate some pixel intensity values of a image matrix in matlab ?

조회 수: 1 (최근 30일)
Priyanka Roy
Priyanka Roy 2014년 11월 26일
답변: Thorsten 2014년 11월 26일
let i have a image matrix like : A =
120 200 223 224 225
204 235 226 227 1
23 24 225 29 1
27 82 92 222 224
12 252 229 255 255
i want only those values within a range , for an example : values greater than 100 and less than 230 ( 230 > v > 100)
The output array or matrix will have only values within the range wit all repeated values.
Output = { 120,200,223,224,225,204,226,227,225,222,224,229}
how will I calculate it ?

답변 (1개)

Thorsten
Thorsten 2014년 11월 26일
Output = A(A > 100 & A < 230)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by