رفتن به مطلب

تعریف تابع با پسوند mat


ارسال های توصیه شده

سلام بچه ها خوبید؟ :icon_gol:

بچه ها من میخوام با توجه به این راهنما 5 تا متغیر برا تصویرم آماده کنم بعدم تحت یه تابع یا فایل mat. ذخیرش کنم

میشه کمکم کنید میدونم سخت نیست اما انگاری هیچی از متلب بلد نیستم :ws52::4564::4564:

 

LoadDataSetNiceContour

LoadDataSetNiceContour, Load the ContourPoints and Photo of a dataset

and will interpolate a number of evenly spaced contour points between

the poinst marked as major landmark point.

 

[totalx, totaly, I]=LoadDataSetNiceContour(filename,nBetween,verbose)

 

The dataset .mat file must contain a structure "p"

p.n : Number of contour points clicked

p.x, p.y : The location of the contour poinst

p.I : The image

p.t : same length as the coordinates, with "0" a major landmark point

and "2" only a simple point on the contour.

  • Like 1
لینک به دیدگاه
  • 2 هفته بعد...
سلام بچه ها خوبید؟ :icon_gol:

بچه ها من میخوام با توجه به این راهنما 5 تا متغیر برا تصویرم آماده کنم بعدم تحت یه تابع یا فایل mat. ذخیرش کنم

میشه کمکم کنید میدونم سخت نیست اما انگاری هیچی از متلب بلد نیستم :ws52::4564::4564:

 

LoadDataSetNiceContour

LoadDataSetNiceContour, Load the ContourPoints and Photo of a dataset

and will interpolate a number of evenly spaced contour points between

the poinst marked as major landmark point.

 

[totalx, totaly, I]=LoadDataSetNiceContour(filename,nBetween,verbose)

 

The dataset .mat file must contain a structure "p"

p.n : Number of contour points clicked

p.x, p.y : The location of the contour poinst

p.I : The image

p.t : same length as the coordinates, with "0" a major landmark point

and "2" only a simple point on the contour.

 

سلام سیمین خانوم

 

مشکلت حل شد، از دستور save باید استفاده کنی دیگه. این متغیرهایی که میگی رو هم مثل اینکه باید به صورت استراکچر تعریف بشه.

لینک به دیدگاه

سلام

انگار شما نباشی کلا این تالارمیره تو کما.

آره مشکلم حل شد تونستم با کمک راهنما متلب یه تابع براش بنویسم :icon_gol::icon_gol:

  • Like 1
لینک به دیدگاه
×
×
  • اضافه کردن...