I read some comments where were people complaining about getting 3 images, this is due to they are resizing RGB image while the code is for gray-scale images
@Sourav Mishra: The c matrix is a double one when we assign construct it using zeros(). U can check the type of the variable by whos or in the variable details
Your all videos are really helpful, but I have a suggestion for you sister that you should ZOOM IN the code area, so it would be more clear for us. Thanks
Great Video ******* Ma'am please share videos related to the topics 1. detecting human in image and videos detecting parts of human body in images and videos Waiting for your response
hi rashi, first of all thank you for the video it helps a lot. i used your code to resize my pic but i dont understand why do i get the photo 3 times in one figure here is my code : l=imread('dani_smartphone2.jpg'); [rows,columns]=size(l); i=1; j=1; c=zeros(rows/2,columns/2); for x=1:2:rows for y=1:2:columns c(i,j)=l(x,y); j=j+1; end i=i+1; j=1; end figure,imshow(c/255); colormap(gray);
I think Matlab uses zero order hold resizing, so if you resized the image up to scale 4 in both directions, each pixel will be replicated 16 times in a completed square ( new large pixel ).
dear Miss rashi can you provide a code in which we can enhance a low resolution image to high resolution without loosing its quality. I shall be extremely thankful
great videos.. Big fan!
Thanks!
awesome content. Thanks a lot. It worked.
Good voice quality....gud wrk...
I read some comments where were people complaining about getting 3 images, this is due to they are resizing RGB image while the code is for gray-scale images
@Sourav Mishra: The c matrix is a double one when we assign construct it using zeros(). U can check the type of the variable by whos or in the variable details
why is c/255 required when we have assigned elements of a directly to elements of c.
so both a and c are expected to be of uint8 type.
Thank you so much :) you are awesome
hello rashi , Great information from your videos :)
In the 14th line we take c/255 for imshow()
why dont we take c/255 for imagesc()
Your all videos are really helpful, but I have a suggestion for you sister that you should ZOOM IN the code area, so it would be more clear for us. Thanks
shows an error in line four stating"size input must be integers '
great job, but i hope to make a video about, how to draw on a image, like draw a line, circle or triangle on a image, (big like)
Great Video *******
Ma'am please share videos related to the topics
1. detecting human in image and videos
detecting parts of human body in images and videos
Waiting for your response
14th line is simply: figure,imshow(c/255)
hi rashi, first of all thank you for the video it helps a lot. i used your code to resize my pic but i dont understand why do i get the photo 3 times in one figure
here is my code :
l=imread('dani_smartphone2.jpg');
[rows,columns]=size(l);
i=1; j=1;
c=zeros(rows/2,columns/2);
for x=1:2:rows
for y=1:2:columns
c(i,j)=l(x,y);
j=j+1;
end
i=i+1;
j=1;
end
figure,imshow(c/255);
colormap(gray);
hi. thank you for the videos!! how to shrink the image by a factor of 10 ?
Which algorithm used in this program?
Hi,
when the image pixel size is doubled or increased., so we will need to add something in between so what does it add at the position in between,.
I think Matlab uses zero order hold resizing, so if you resized the image up to scale 4 in both directions, each pixel will be replicated 16 times in a completed square ( new large pixel ).
hiii mam i had a question :
i want to get matrix data of an image .
how we get this data
why my figure is showing 3 replica of same image of output figure ?
how you solve you 3 replica of same image? i also have the same problem. Can you let me know your solution?
Hi,
Can you explaine the for loop , please ?
can u show how to use BLOCKPROC function in order to process a subblock of an image?
kindly write me the code of 14th line, i cant see it! please
Hello mam, Can i know how to size image by bilinear interpolation??
dear Miss rashi can you provide a code in which we can enhance a low resolution image to high resolution without loosing its quality. I shall be extremely thankful
Just asking, can imresize be used in zooming (zero order hold method)? Btw your videos are really helpful. New subscriber here :))
thanks!
c = a (1:2:N, 1:2:M, : );
I believe this line would make the same as all the for loops
As you haven't applied jet colormap on the image its simply an grayscale image then why you are using grayscale colormap....??
mam whats the need of creating zero matrix
can i get the .pdf extension files of your slides?
i am getting 3 images in subsize imageof same type
Hello
Grettings..
Here anshul madan and i just want a bit map for the monochrome images..
so can i do using matlab..?
help me..
Thank you
you want a colormap ie. the values of all bits in the image?
helpful :)
How to resize colour image
I need sample for button gui matlab