what does the L-shaped bracket mean?

101 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2019 年 2 月 16 日
コメント済み: Image Analyst 2019 年 2 月 17 日
N1 = N2 = 4
xi = ith pixel of 4 x 4 block
What does the 'L - shaped bracket' mean? How to write code for alpha and beta?
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 2 月 16 日
Is this Matlab ralated question?
Check here for different Maths Sysmbols

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2019 年 2 月 16 日
編集済み: Image Analyst 2019 年 2 月 17 日
Just consider them as regular, normal brackets, or ignore them entirely.
xBar = mean(x(:));
alpha = mean(x(x >= xBar)); % Mean of x where x >= xBar
beta = mean(x(x < xBar)); % Mean of x where x < xBar
  3 件のコメント
Elysi Cochin
Elysi Cochin 2019 年 2 月 17 日
編集済み: Elysi Cochin 2019 年 2 月 17 日
sir what about the variable t
Image Analyst
Image Analyst 2019 年 2 月 17 日
t is the number of elements in the block, which is 16 for a 4x4 block, or the number of pixels in the image if you're doing it over the whole image. Like I said, since it's only 4x4 I think it's a sliding window and you'd just use the code I gave you in the other answer and not even use t.

サインインしてコメントする。

その他の回答 (1 件)

Stephen23
Stephen23 2019 年 2 月 16 日
編集済み: Stephen23 2019 年 2 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by