필터 지우기
필터 지우기

i've an png image of size 192x268. i've divided into non-overlapping blocks..now i want to calulate the mean of each and every block.

조회 수: 1 (최근 30일)
i wanted to calculate the mean of every block in order to check which block(s) have the same mean value...
or other way
i want to compare the mean value of every block
what should i do?

채택된 답변

Walter Roberson
Walter Roberson 2013년 2월 14일
means = blockproc(YourImage, [3 3], @(s) mean2(s.data), 'BorderSize', [3 3], 'TrimBorder', false);

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by