필터 지우기
필터 지우기

How to mark foot pressure

조회 수: 14 (최근 30일)
Denni Purcell
Denni Purcell 2016년 4월 4일
댓글: DGM 2023년 5월 27일
I have a Matlab code that tracks foot pressure over a representative walk. I then split this to show 3 representative footprints, I would like the foot pressure to also appear on this image. The code used initially to mark the representative walk is:
for k = 1 : numPhases;
figure, set(gcf, 'Units','Normalized','OuterPosition',[0 0 1 1]);
kk = num2str(k);
thisPhase = transpose(Phases(k).Stance);
imshow(thisPhase,map1); title(['Walk ',char(kk)]);
hold on
xCOF = Phases(k).COF(:,1);
yCOF = Phases(k).COF(:,2);
scatter(xCOF,yCOF,2,'k','filled'); set(gca,'YDir','reverse','XDir','reverse');
end
and presents this image:
the following is the image where I would like to have the foot pressure marked:
Any suggestions?
  댓글 수: 3
Roshan
Roshan 2023년 5월 27일
can you tell me how to create this image of foot?
DGM
DGM 2023년 5월 27일
As I doubt that someone who has been inactive for half a decade is going to answer, the images are pseudocolor representations of plantar pressure mat data. So do you have the hardware?

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

답변 (1개)

Image Analyst
Image Analyst 2016년 4월 5일
I would threshold the image and then do a morphological closing on the binary image. This will merge a bunch of blobs into 3 large ones. Then call regionprops to get the bounding boxes. Then crop out with imcrop() and rotate -90 degrees with imrotate().
See my Image Segmentation Tutorial in my File Exchange if you need help. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by