フィルターのクリア

how to solve the resizing of an image here?

2 ビュー (過去 30 日間)
Shweta Mahajan
Shweta Mahajan 2019 年 4 月 11 日
回答済み: Image Analyst 2019 年 4 月 15 日
////Unable to perform assignment because the size of the left side is 600-by-3008 and the size of the right side is 600-by-600-by-3////
filename='1.jpg';
A = importdata(filename);
image(A);
imshow(A);
bwarea(A);1.jpg
  2 件のコメント
Rik
Rik 2019 年 4 月 11 日
What code did you try? What is the full error message?
Shweta Mahajan
Shweta Mahajan 2019 年 4 月 15 日
error message was ////Unable to perform assignment because the size of the left side is 600-by-3008 and the size of the right side is 600-by-600-by-3////
I've tried the matlab code area which is in in matlab website and they surely get the result but I didn't get it. It's my project I'm working on & in which I've to calculate the area of the tumor.

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

回答 (1 件)

Image Analyst
Image Analyst 2019 年 4 月 15 日
Try this:
filename='1.jpg';
A = imread(filename); % Use imread() instead of importdata().
but your bwarea() call doesn't do anything.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by