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,851 3 View
How image steganography provides authentication? Where exactly steganography is used in military application?
07 August 2019 4,292 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,033 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,566 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 7,955 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,387 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,259 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,613 5 View
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
i am try to classify the x-ray images. During classification , can i block unwanted images (except x-ray image).
03 March 2021 7,100 1 View
Need to image mesoporous silica nanoparticles using the TEM. Also, need high resolution TEM images to see the mesoporous structure. Kindly suggest what kind of grids to use. Thanks, Shatadru
02 March 2021 1,787 2 View
Dear Colleagues, After running Western blot on PVDF membrane and detection using ECL, I would like to stain my PVDF with colloidal gold to be able to allign the ECL image with total proteins on...
02 March 2021 7,829 3 View
I would like to research on MR images (0.5T and 3T). Can you please suggest some websites that I can download dataset including both 0.5T and 3T MR images? Thank you.
02 March 2021 7,735 3 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
Hello, I have classified 10 S3 OLCI images from the same area (althouth not the same size and/or quadrant) and I would like to do a final image using the mode of the pixel of these 10 images. I...
01 March 2021 9,874 3 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View
Hi everyone, I am using Fiji to determine the percentage of the image covered by leaves, branches, or trunk, but i've encountered some difficulty when the sun hits parts of my image like the one...
27 February 2021 1,194 3 View