how can i segment image into blocks
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Matt J
2012년 12월 19일
One way is using this file
Example:
A=rand(80);
subimages=mat2tiles(A,[8,8]); %break into 8x8 blocks
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!