필터 지우기
필터 지우기

i'm looking for a function that scales the intensity values of Image

조회 수: 2 (최근 30일)
hasan alhussaini
hasan alhussaini 2017년 8월 24일
편집: Walter Roberson 2017년 8월 24일
Hi I'm looking for a syntax that scales the intensity values of an image lets called "im" between the minimun(min) and maximum (max) elements of the array
i found a syntax called "imadjust" but i'm not sure how to word it
i've tried imadjust(im,[low_in; high_in]) or imadjust(im,[min;max])
Thanks

답변 (1개)

Walter Roberson
Walter Roberson 2017년 8월 24일
편집: Walter Roberson 2017년 8월 24일
mat2gray() does that. The output range would be between 0 and 1. If you wanted uint8 output instead, you could use im2uint8() to do the scaling.

Community Treasure Hunt

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

Start Hunting!

Translated by