how to create 8*8 subblock from a image without using matlab command

1 次查看(过去 30 天)
how to create 8*8 subblock from a image without using matlab command
  2 个评论
Walter Roberson
Walter Roberson 2012-11-22
Use MATLAB functions instead ?
Are you aware that even array indexing uses built-in MATLAB functions?
vipul utsav
vipul utsav 2012-11-22
it is ok. but i don't want to use mat2cell type function.i want logic for dividing image into subimage of 8*8.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2012-11-22
Hint:
rowblks = size(YourImage, 1) / 8;
for K = 1 : rowblocks
YourImage( 8 * K - 7 : 8 * K, ....... )
  4 个评论
vipul utsav
vipul utsav 2012-11-22
400*400=50*50 sub block of 8*8 ;i want every block to read for some doing some mathematical operation on it. suppose i want 6th block of 1st row.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by