Sampling (image)
Kamel Ghanem Ghalem if you mean reduce the size of the image without using imresize command:
I = imread('lena.png'); % Replace 'lena.png' with the path to your image file
% Convert to grayscale if it's a color image
if size(I, 3) == 30
I = rgb2gray(I);
end
% sampling the image by a factor of 0.5
samp=(1:2:end, 1:2:end);
% Display the original and downsampled images
subplot(2, 1, 1);
imshow(I);
title('Original Image');
subplot(2, 1, 2);
imshow(samp);
title('Downsampled Image');
Use loop for.
Kamel Ghanem Ghalem Just for quick processing, otherwise you can try this one without transverse RGB to Grayscale
img = imread('lena.png'); % Get the size of the original image
[rows, cols, ~] = size(img); % Calculate the new size
new_rows = floor(rows * 0.5);
new_cols = floor(cols * 0.5); subsampled_img = img(1:2:end, 1:2:end, :); % Display the subsampled image
figure;
imshow(img);
title('Original Image'); figure; imshow(subsampled_img); title('Subsampled Image (0.5 factor)');
Recently, we observed that 99% of the sequences in our RNA-seq data corresponded to the E. coli genome. Despite multiple DNAse treatments after RNA extraction and ribosomal depletion, we were...
06 August 2024 807 3 View
I work on producing organic fertilizer from rice husk. how can I reduce the bio-conversion time ?less than two months
20 July 2024 6,049 3 View
hello everyone , I'm currently working on extracting RNA from frozen tumor tissue that was snap-frozen in liquid nitrogen and stored at -80°C. I've attempted a protocol involving cutting a small...
14 March 2024 8,824 0 View
Dear all, i am preparing a study concerning testing Prime Coat with different applications rates to achieve the optimum rate for a given Asphalt pavement Binder coarse. Kindly please share your...
23 December 2023 447 2 View
dye-sensitized solar cell
15 September 2023 2,488 1 View
Research Journal of Pharmacy and technology
13 July 2023 8,460 9 View
looking for a method for detection the artificial coloring agent in honey sample? like E133, E102, E120 ....
20 June 2023 6,778 4 View
Good morning, What is the ratio between nitrite, nitrate and nitrogen in enriched anammox culture? thank you,
31 March 2023 8,675 0 View
Dear scholars, is Middle East Journal of Applied Sciences a good journal to publish a paper?
22 February 2023 3,882 0 View
How do the c lattice parameters not change during structure relaxation in VASP?
05 December 2022 8,787 1 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