Info

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

How to count how many time a certain pixel has been processed

1 回表示 (過去 30 日間)
Anders Jensen
Anders Jensen 2019 年 11 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi guys!
I have to process an image where i need to know how many times a pixel has been overlapped. The image attached can be used as an example:
In the image the three patches (B1, B2, B3) overlap three times at the position of pixel A_i. Pixel C is only being overlapped by two patches (B1, B2).
Programmatically, how do I count how many times a pixel has been overlapped AND know its index? I am going to do this in the whole image.
Thanks!
  4 件のコメント
Anders Jensen
Anders Jensen 2019 年 11 月 23 日
Actually, the patch is 3D and so is the image. Så the patch contains 3x3x3 voxels. It will be moving around the image with and overlap on 1. Therefore not all voxels are going to be processed the same amount of times. I have tried add 1's on the position of the processed voxel. But I will get unique numbers from 0-18 of the whole image. Is that even possible?
Walter Roberson
Walter Roberson 2019 年 11 月 23 日
With your description, I do not see any reason why 0-18 would not be plausible.

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by