フィルターのクリア

how can i segment image into blocks

1 回表示 (過去 30 日間)
Ahmed almansory
Ahmed almansory 2012 年 12 月 19 日
i want to design neural network for image compression , the first step is dividing the image into sub image then convert sub image from 2-dimension to 1-dimension input vector for neural network.

回答 (1 件)

Matt J
Matt J 2012 年 12 月 19 日
One way is using this file
Example:
A=rand(80);
subimages=mat2tiles(A,[8,8]); %break into 8x8 blocks

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by