Dividing images into blocks
이전 댓글 표시
I`ve loaded a video. Then i divided the video into individual frames. Now i want to divide each frame into a group of blocks. After dividing them into blocks, i want to compare the blocks of one frame with the blocks of another frame, to know whether they are matching.
1. How to divide frame into blocks? 2. How to read the blocks(pixel values of the frames)? 3. How to compare the blocks?
답변 (2개)
Sean de Wolski
2012년 2월 28일
1 개 추천
perhaps mat2cell(), blockproc() or a double for-loop.
댓글 수: 5
Sean de Wolski
2012년 2월 28일
이동: DGM
2023년 12월 29일
imshow(G{1,1}) %show first block
Sean de Wolski
2012년 2월 28일
이동: DGM
2023년 12월 29일
g(i) or g{i} for a cell array. g[i] is not a valid syntax in MATLAB.
Image Analyst
2012년 2월 28일
1 개 추천
Depends on how you define blocks. Perhaps you want quadtree decomposition if you want blocks of variable size. It's in the Image Processing Toolbox.
카테고리
도움말 센터 및 File Exchange에서 Neighborhood and Block Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!