Limited Row and Column value of Images

1 回表示 (過去 30 日間)
Raman kumar
Raman kumar 2016 年 1 月 16 日
コメント済み: Image Analyst 2016 年 1 月 19 日
I have three individual plane values of 208 images in three variables, and the size of each variable is 128*128. How to select the first 32 values of rows and 16 values of column from this variables?
  3 件のコメント
harjeet singh
harjeet singh 2016 年 1 月 16 日
please upload the code
Thorsten
Thorsten 2016 年 1 月 18 日
What's the size of a single image? If the size of each of the 208 images is 128*128*3, then the separated images of the three planes should be 128*128*208 for each of the three variables. I don't understand how three variables of size 128*128 can represent 208 images with three individual plane values. Please expand.

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

採用された回答

Image Analyst
Image Analyst 2016 年 1 月 18 日
So you have 208 color images with 3 planes each: red, green, and blue. Each original RGB image has 128 rows and 128 columns. Now you want to crop out the upper left 32 by 16 rectangular sub image. For each image, just use imcrop():
subImage = imcrop(thisRGBImage, [1, 1, 32, 16]);
Repeat for all 208 images.
  2 件のコメント
Raman kumar
Raman kumar 2016 年 1 月 19 日
Thank you, Now i have applied sobel operator and getting accuracy as nearly 30% i want to increase it, how it can be done?
Image Analyst
Image Analyst 2016 年 1 月 19 日
You didn't say what algorithm you're using or how accuracy is determined, so I can't answer.

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

その他の回答 (0 件)

カテゴリ

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