How to occlude certain parts of a Gabor patch?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi guys,
So I generate a gabor patch that is essentially an entire image 1280x800 pixels using a custom script. The entire matrix has a Background shade of '50' whereas those pixels in the center which contain the gabor vary between 49 and 51 depending on what contrast value I specify. I then present the entire image via Psychtoolbox. So far so good.
In certain trials, I have to randomly occlude 50% of this gabor. The occlusion must be randomly selected pixels.
If there is a variable "G" that is 1280x800 in dimension, and say the relevant Gabor information is present between Xn to Xm and Yp to Yq, could someone please help me out with the occlusion part? Only 50% of the gabor needs to be occluded, i.e. those fields value needs to be set to '50' to match the background.
Thanks
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image display and manipulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!