Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Compress-Decompress algrithms
Title: Blocks Download
 Description: clc close all clear all I=imread( desert.jpg ) [r c]=size(I) bs=16 Block Size (8x8) nob=(r/bs)*(c/bs) Total number of 8x8 Blocks Dividing the image into 8x8 Blocks kk=0 for i=1:(r/bs) for j=1:(c/bs) Block(:,:,kk+j)=I((bs*(i-1)+1:bs*(i-1)+bs),(bs*(j-1)+1:bs*(j-1)+bs)) end kk=kk+(r/bs) end Accessing individual Blocks figure imshow(Block(:,9,1)) This shows u the fist 8x8 Block in a figure window figure imshow(Block(:,:,2
 Downloaders recently: [More information of uploader chandan]
 To Search:
File list (Check if you may need any files):
 

blocks.m
license.txt
recom_blocks.m
    

CodeBus www.codebus.net