필터 지우기
필터 지우기

how comparing pixelwise a patch of pixel with distinct intensity on image with Euclidean distance?

조회 수: 2 (최근 30일)
I need to create two pixel patches of size 5×5 with constant intensity values μ=150 for X location and η ∈[0,255] for Y location, and then comparing this pixel patch pixelwise with image by the squared l2-distance(Euclidean distance). Comparison of the pixel patches over the one image should perform 10,000-times for every value of η∈[0,255]to fortify this experiment with sufficient statistics.
Then I need to create a plot of this experiment that shows the average distance of the two pixel patches and the standard deviation.
Any help how can I do it in matlab?
The desired result is like attached file.
  댓글 수: 3
Neda
Neda 2018년 1월 20일
The image is dicom(ultrasound img). In fact, I am following an experiment on the paper attached link on page 5. Maybe my understanding is wrong. The pixel patch on (x,y) location with intensity(150,[0,255]) should scan over the image. paper
Image Analyst
Image Analyst 2018년 1월 20일
It doesn't look like I could code up that paper for you in 5 minutes, so I suggest you ask the author for code.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by