dividing RGB image into overlaping blocks
Ältere Kommentare anzeigen
I have a RGB image,please can anyone tell how to divide the image into OVERLAPPING BLOCKS OF SIZE 64 64.then i want to perform some operation on each block
Kindly assist
1 Kommentar
Image Analyst
am 2 Mär. 2013
What overlaps? Does each block overlap other blocks, or do the blocks just overlap the original image with no block-to-block overlap (in essence the blocks perfectly tile the image like you were laying tiles on a floor)?
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 2 Mär. 2013
0 Stimmen
blockproc() with BorderSize option, and with TrimBorder 0
9 Kommentare
Algorithms Analyst
am 2 Mär. 2013
Please follow this code
fun=@(block_struct) block_struct.data;
rgbBlock=BLOCKPROC(rgbimage,[64 64],fun,'BorderSize',[3 3],'TrimBorder',false);%Image Segmentation
nkumar
am 2 Mär. 2013
Walter Roberson
am 2 Mär. 2013
blockproc, not blkproc !
fun = @FunctionaName; should be changed so that FunctionName is the name of the function you want to be called on each block.
nkumar
am 2 Mär. 2013
Walter Roberson
am 2 Mär. 2013
Set TrimBorder to false like Algorithms Analyst showed.
Saying "I get error" is not very informative.
nkumar
am 2 Mär. 2013
Algorithms Analyst
am 2 Mär. 2013
why you applying clustering algorithm on each block?can you please clear this point?actually what are you trying to do?please clearify your target.....as you told that you want to divid image by 64x64 and overlapped and now you appplied kmeans...clear it
Image Analyst
am 2 Mär. 2013
nkumar
am 5 Mär. 2013
Kategorien
Mehr zu Blocked Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!