Local mean and variance of an image for normalisation

조회 수: 5 (최근 30일)
Newman
Newman 2017년 3월 29일
답변: Image Analyst 2022년 12월 3일
Hello i want to normalise my image of size 112x98 using a concept of local mean and local variance.I wan to first convert my image into W flat regions of size NXN pixels and then compute the local mean and variance of these regions.
The normalisation end formula for the whole image would be then
I=I-mean_I;%% where mean_I is a 112x98 size image containing the local mean of all the w regions .
final=I/Var_T%%%% where Var_I is a 112x98 size image containing the local variance of all the w regions .
Can someone please help me on how to code this stuff on matlab.
for reference please see this paper :

답변 (1개)

Image Analyst
Image Analyst 2022년 12월 3일
Check out imfilter or conv2 for the local mean.
Check out stdfilt for the local standard deviation.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by