how to convert image to 1D signal?

4 ビュー (過去 30 日間)
rohan
rohan 2013 年 2 月 2 日
I want to downsample the image & I'm not getting any direct function

回答 (1 件)

Image Analyst
Image Analyst 2013 年 2 月 2 日
Like your other question - so little information that it's unanswerable. To convert to a 1D signal, you could take the mean or sum along rows or columns, or you could call the radon() function. To downsample to a 1D vector, you could use linear indexing and do something like image1D = grayImage(1:42:numel(grayImage)). But that's enough guessing - you need to specify what you want.

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by