フィルターのクリア

I want to calculate Region Properties Using Image Region Analyzer but i get the result cannot display summaries of variables with more than 524288 elements. My value is 2560x1920x3 uint8 . Can u help me to overcome this problem ? Thank you

5 ビュー (過去 30 日間)
I want to calculate Region Properties Using Image Region Analyzer but i get the result cannot display summaries of variables with more than 524288 elements. My value is 2560x1920x3 uint8 . Can u help me to overcome this problem ? Thank you
  4 件のコメント
hana razak
hana razak 2018 年 5 月 26 日
編集済み: hana razak 2018 年 5 月 26 日
Hi,
Sorry for the mistake I've done. I've read somewhere in the forum - it is better not to post a new question for the same topic. I may misinterpret it and be asking here since I thought to have the same problem as Ms. Sara.
I will post my question on the new thread. Thank you for telling me this. https://www.mathworks.com/matlabcentral/answers/402695-how-to-access-data-with-more-than-524288-elements
P/S It is yes to your question.
Thank you once again
Regards
Hana
Image Analyst
Image Analyst 2018 年 5 月 26 日
I can't find your new question. If extracting the color channels to individual channels like in my answer below really doesn't work for you then edit your comment above to give a link to your new question.

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

採用された回答

Image Analyst
Image Analyst 2017 年 4 月 5 日
It looks like a color image. So break it up into separate color channels and look at just one color channel at a time:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
  3 件のコメント
Andrew Rukangu
Andrew Rukangu 2017 年 4 月 8 日
編集済み: Image Analyst 2018 年 5 月 26 日
I know you've probably figured this out, but just in case... You need to access your own RGB image, in this case, use
redChannel = BW(:, :, 1);
etc.
Image Analyst
Image Analyst 2018 年 5 月 26 日
BW is a name the Mathworks often gives for binary images. It means Black and White, meaning no gray scale, no RGB. So you should change your code like this:
rgbImage = imread('agar2.jpg'); % Read in RGB image.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by