我通过此代码找到该点的[PXPreview(typeof(TPrimaryView), typeof(TDacForPreview))]
public PXSelect<TPrimaryView,... AcumaticaActivities;
坐标:
x
我想要for j = 1:length(masks)
[b_x,b_y] = find(bwperim(masks{1,j}.A)== 1);
P(j)=min(b_x);
end
y
坐标
答案 0 :(得分:2)
min
函数还可以为您提供可用于解决问题的最小值索引:
for j = 1:length(masks)
[b_x,b_y] = find(bwperim(masks{1,j}.A)== 1);
[P_x(j),I]=min(b_x);
P_y(j) = b_y(I);
end