フィルターのクリア

How to Use Area Value on a Formula

3 ビュー (過去 30 日間)
Murat Kocaman
Murat Kocaman 2018 年 6 月 6 日
編集済み: Murat Kocaman 2018 年 6 月 29 日
Hello,
I have area value of an object as a result on image processing with Matlab.
I would like to learn how to use this value in a specific formula that I use on my calculation.
My formulate is [(3*Area)/4]*(354.10^-5) and I look on putting the area of my image processing result which I have at variables tab at the result workspace.

採用された回答

Ankita Bansal
Ankita Bansal 2018 年 6 月 6 日
You already have area stored in a variable "Area" in workspace?
If so then you can directly enter the command (3*Area/4)*354.10*power(10,-5) in command window.
  2 件のコメント
Murat Kocaman
Murat Kocaman 2018 年 6 月 6 日
編集済み: Murat Kocaman 2018 年 6 月 6 日
This is what I need but there are 5 different object areas calculated. How can I indicate the specific one? An example there are 5 different object areas and I would like to use each of them seperately. So it will be 5 different calculated value.
While trying this, I have the notice "Cannot find an exact (case-sensitive) match for 'Area'".
Ankita Bansal
Ankita Bansal 2018 年 6 月 6 日
Can you share the name and data type of the variable in which area is getting stored?

サインインしてコメントする。

その他の回答 (1 件)

Murat Kocaman
Murat Kocaman 2018 年 6 月 6 日
編集済み: Murat Kocaman 2018 年 6 月 6 日
Above is what I have at the variables tab. I am trying to applicate this formula on each value and have an output like this.
Should I change "regionprops" line at the code?
  4 件のコメント
Image Analyst
Image Analyst 2018 年 6 月 6 日
You've marked an answer as Accepted. If that is not really true, unaccept it and I'll help you. Put your regionprops code in your reply.
Murat Kocaman
Murat Kocaman 2018 年 6 月 7 日
編集済み: Murat Kocaman 2018 年 6 月 29 日
I solved it thank you.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by