Info

この質問は閉じられています。 編集または回答するには再度開いてください。

i have an binary word image, a word image B is divided into 11 × 11 segments of equal size, i want to find foreground pixels and center of mass in each and every segment

1 回表示 (過去 30 日間)
Raghu Rao
Raghu Rao 2017 年 3 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
a word image B is divided into 11 × 11 segments of equal size. For each segment sij (i = 1, . . . , C; j = 1, . . . , R) a node is inserted into the resulting graph and labelled by the (x, y)-coordinates of the centre of mass (xm, ym). Formally, we compute a node is inserted into the resulting graph and labelled by the (x, y)-coordinates of the centre of mass (xm, ym). Formally, we compute
formula to calculate centre of see 'COM.jpg' image,
where n denotes the number of foreground pixel in segment sij, while xw and yw denote the x- and y-coordinates of the foreground pixels in sij. If a segment does not contain any foreground pixel, no centre of mass can be determined and thus no node is created for this segment.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by