I have a 512*512 image and I want to divide into blocks each having 1x2 pixels.So I will get total 131072 blocks.Now I want to process each blocks.
i am doing in matlab code.. Any idea?
use Adobe photo shop.. you will get at least idea about one piece
Thank you for replay Duvvuri B K Kamesh Duvvuri...
Ck1 = mat2cell(Ik1, repmat(1,[1 size(Ik1,1)/1]),repmat(2,[1 size(Ik1,2)/2]));
Use this code Line to divide an Image into 1by2 blocks. IK1-> is your 512 by 512 image.
Thank You
you can use reshape command then you get 1 X 262144 and the do further process on it.
Also you can use for color image
I=mat2cell(rgbImage, blockVectorR, blockVectorC, numberOfColorBands);
you can also use 'reshape' fuction to get two colum wide matrix. Each row can be treated as such a 1 by 2 block.
If you want to keep the original orientation of the pixels you need to work in three steps:
Now, each row in 'sliced_img' is one of your blocks in size 1x2x3 so it's 2 pixels with RGB values.
Hello all, Can anyone kindly suggest some good journals with no page-length restriction? Your valuable suggestions are highly welcome.
31 December 2019 3,937 3 View
How image steganography provides authentication? Where exactly steganography is used in military application?
07 August 2019 4,358 4 View
When we embed some data in an image, and add salt and pepper noise to the image. Then, even we remove the noise also it is still difficult to retrieve the exact original image. Then, can we say...
10 November 2018 7,106 6 View
s=[0 1]; Let k{1,2}{1,1}=01010001,k{1,2}{1,2}=11010101,k{1,2}{1,3}=01010001,k{1,2}{1,4}=11010001,{1,2}{1,5}=00010001(continued upto {1,2}{1,7}) if (strcmp(k{1,2}{1,1}, '00000001')...
10 November 2016 9,646 5 View
a=imread('f.jpg')b=imresize(a,[16 16]); c=dec2bin(b,8);d=cellstr(dec2bin(b,8))'; ro=size(d,1);co=size(d,2);for i=1:rofor j=1:cop(i,j)=d(i,j);endendfor i=1:rofor j=1:coif d(i,j)==00000001 |...
10 November 2016 8,035 2 View
suppose i have a cell array a(1*256). let all cell elements are converted to binary and the first element is let it be 10010100(8Bit). i want to compare each cell element with some other binary...
10 November 2016 4,452 0 View
Which language do you prefer while studying machine learning? Is it Python, or MATLAB? Try to be as elaborate as possible.
01 January 1970 7,338 5 View
I found different researchers writing differently when they are citing others' work. I mean if I use someones (Let's say X et al. [5] work with reference number 5, then is it required to write...
01 January 1970 1,693 5 View
After immunohistochemistry of previously fixed in PFA and EtOH and then frozen 20 μm sections of zebrafish brain, DAPI staining is very weak (right) compared to the same sections stained without...
05 August 2024 9,637 2 View
Hi everyone I need a file with a dirty and clean potato image
04 August 2024 7,199 4 View
I fabricated Ti3C2Tx using concentrated HF 40%, I plot an XRD as attached image below.. please let to know if I obtained it or not.
02 August 2024 6,789 4 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Dear researchers. I tried using the IHC PROFILER in image j to quantify nuclear DAB staining. I followed the instructions in the original article by "Varghese F, Bukhari AB, Malhotra R, De A...
29 July 2024 2,229 0 View
My question pertaining to the DAB staining in cytoplasm of human oral squamous cell carcinoma tissue. When quantifying the epithelial cancer cells do we have to crop remove the stromal tissue?...
29 July 2024 2,682 6 View
In my molecule there is Chloro group at 2-position of phenyl ring, but in 2D image it appears as methyl showing no interaction.
28 July 2024 734 0 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Hello!!! I want to implement the Swerling characteristics functions (CF) directly in MATLAB without using its Fourier integral pairs...the Swerling CFs are actually Laplace Transform of the signal...
23 July 2024 4,925 1 View