Hi viewers -- there's an entire 14 video image processing series available NOW on my Patreon! www.patreon.com/philsbeginnercode (I still have zero Patrons so you have a chance to make my day)
Hi Kat Sha - thank you for the comment and I'm glad you enjoyed the video! If you are looking for more image processing videos, they are all available on my Patreon!! www.patreon.com/philsbeginnercode Otherwise, feel free to hang around for the weekly uploads! New videos every week through September on Image Processing - subscribe to get updates 🤠
Which toolbox do you need for imhist, histeq, because Im getting "Undefined function 'imhist' for input arguments of type 'uint8'"? I could still do them all on matlab online though. Thanks. 🤓
Hi there, I actually don’t think it’s a package issue. It’s a datatype issue. Uint8 is the default image datatype, holding integer values from 0 to 255. Instead, those functions wants to use the ‘double’ datatype. Run your image through im2double(). img = im2double(img) And that will convert 0 to 255 to a decimal between 0 and 1. The only reason I can fathom that MATLAB online works is that newer versions allow imhist, etc to accept uint8 but your native install is older.
Hi Jan, imhisteq(I) take the image ‘I’ and applies an equalizated histogram distribution for equal intensity/brightness values. On the other hand, if you have some image ‘G’ (that can have any distribution of brightness) then you can use imhistmatch(I, G) to make I match G. If G is already equalized, then imhistmatch(I, G) is the same as imhist(I).
Hi thanks for your exellent explanation but one thing is ambiguous is the number of rows represent the height of the picture and the number of culumns represent the width , am I right?
Hi there, for a general histogram we aren‘t interested in the height or width of the photo, just the intensity of the colors. For a general photo that we read in with imread(), the rows and columns form a matrix (matlab data structure) that tells us how many pixels there are. So the numbers of rows would be the ‚height in pixels‘ and cols would be ‚width in pixels‘. Does this help?
@philparisi_ Yes, it was very helpful. Actually, it's maybe irrelevant, but you are the first individual in RUclips who liked and replied to my comment.Thank you for your attention🥲👍
Absolutely! I make content to support programmers like you and have responded to every comment on the channel to fulfill that mission. Always here to help :)
@philparisi_ I wish you success 🙌. Honestly I watched your tutorial on matlab for beginners about 6 months ago that was superb but I felt shy to comment and thank you for your great job.❤🫶
Thank you for the specifics! I‘ll try to come out with something in the next couple of months. Stay tuned and subscribe to get the update (if you aren‘t already!)
Hi viewers -- there's an entire 14 video image processing series available NOW on my Patreon! www.patreon.com/philsbeginnercode (I still have zero Patrons so you have a chance to make my day)
Great example image! I was half expecting the histogram to look like a pyramid…
Super helpful, once again thank you!
Hi Kat Sha - thank you for the comment and I'm glad you enjoyed the video!
If you are looking for more image processing videos, they are all available on my Patreon!! www.patreon.com/philsbeginnercode
Otherwise, feel free to hang around for the weekly uploads! New videos every week through September on Image Processing - subscribe to get updates 🤠
thank you!! 👑
You're welcome!!
Which toolbox do you need for imhist, histeq, because Im getting "Undefined function 'imhist' for input arguments of type 'uint8'"? I could still do them all on matlab online though.
Thanks. 🤓
Hi there, I actually don’t think it’s a package issue. It’s a datatype issue. Uint8 is the default image datatype, holding integer values from 0 to 255.
Instead, those functions wants to use the ‘double’ datatype. Run your image through im2double().
img = im2double(img)
And that will convert 0 to 255 to a decimal between 0 and 1.
The only reason I can fathom that MATLAB online works is that newer versions allow imhist, etc to accept uint8 but your native install is older.
what is the difference between the imhisteq and imhistmatch functions?
Hi Jan, imhisteq(I) take the image ‘I’ and applies an equalizated histogram distribution for equal intensity/brightness values.
On the other hand, if you have some image ‘G’ (that can have any distribution of brightness) then you can use imhistmatch(I, G) to make I match G. If G is already equalized, then imhistmatch(I, G) is the same as imhist(I).
Hi thanks for your exellent explanation but one thing is ambiguous is the number of rows represent the height of the picture and the number of culumns represent the width , am I right?
Hi there, for a general histogram we aren‘t interested in the height or width of the photo, just the intensity of the colors.
For a general photo that we read in with imread(), the rows and columns form a matrix (matlab data structure) that tells us how many pixels there are. So the numbers of rows would be the ‚height in pixels‘ and cols would be ‚width in pixels‘.
Does this help?
@philparisi_ Yes, it was very helpful.
Actually, it's maybe irrelevant, but you are the first individual in RUclips who liked and replied to my comment.Thank you for your attention🥲👍
Absolutely! I make content to support programmers like you and have responded to every comment on the channel to fulfill that mission. Always here to help :)
@philparisi_ I wish you success 🙌. Honestly I watched your tutorial on matlab for beginners about 6 months ago that was superb but I felt shy to comment and thank you for your great job.❤🫶
Oh sweet thanks for tuning in! Comment anytime, and if I don‘t respond you can always email me at philsbeginnercode@gmail.com
can you do sound processing?
Hi Numanert, sure! What specifically are you looking for?
@@philparisi_ just basics i don't know the details but like: sound(y,fs),reverse audio,chirp function,downsample,
Thank you for the specifics! I‘ll try to come out with something in the next couple of months. Stay tuned and subscribe to get the update (if you aren‘t already!)