I really need to say you are sharing a really really good content with us. Thank you so much sir. I have seen hundreds of videos on RUclips, also I took some online courses but no one explained like you. Please do make such videos for us. Have a great time ahead.
Hello Dr. Sreenivas Bhattiprolu. Thank you for sharing such a rich content. In this video you said "..the last you want do is work with .jpg format images. Save them as .tiff..". Do you have a specific video about it. I did a quick search and I didn't find it. Thank you.
can you explain to me about the number in clahe, cliplimit and tilegridsize ? how to get the best one, and what that mean cliplimit and tilegridsize ? because i try in my case with 2 and 8,8 the result is not good, (please need very detail :) thank you )
Please have a look at CLAHE documentation on opencv (also other places) to understand the implications of clip limit and grid size. There is no single answer for every image, the result depends on the local contrast in your image. Sorry to give you a non answer but this is the true. Here is the link to opencv documentation. docs.opencv.org/master/d5/daf/tutorial_py_histogram_equalization.html Here is another good one.... www.cs.utah.edu/~ssingla/IP/P2/CLAHE.html
Yes, of course. These are just image processing operations (tools) so you can apply them any way you want as long as you are after extracting information from your images.
I have explained feature extraction and capturing features into a pandas data frame in many videos. You just need to save the data frame to csv, just a single line command. Please watch my videos 57 to 67.
@@DigitalSreeni I want to know how the CLAHE calculation works without using the python opencv library and I have an assignment to find calculations CLAHE manual, and can you make manual CLAHE calculations please?
Not directly. You first need to convert RGB to another color space (not gray) and then convert back to RGB. For example you can convert to YUV space using cv2.COLOR_BGR2YUV Then perform CLAHE on the Y channel and then convert the YUV image back to RGB. cv2.COLOR_YUV2BGR
hi .. i'am new on python. i have a folder of x-ray images from 1.jpg to 183.jpg (gbr images) i want to apply CLAHE on all the images .. i wrot a lot of codes but always have errors can you help me pleass
I will record a video on the topic of reading multiple images and applying a function (filter). If you cannot wait, here are few lines that demonstrate using Gaussian; just replace with CLAHE. ## Using GLOB #Now, let us load images and perform some action. #import the opencv library so we can use it to read and process images import cv2 import glob from skimage.filters import gaussian from skimage import img_as_ubyte #select the path path = "test_images/imgs/*.*" img_number = 1 #Start an iterator for image number. #This number can be later added to output image file names. for file in glob.glob(path): print(file) #just stop here to see all file names printed img= cv2.imread(file, 0) #now, we can read each file since we have the full path #process each image - change color from BGR to RGB. smoothed_image = img_as_ubyte(gaussian(img, sigma=5, mode='constant', cval=0.0)) cv2.imwrite("test_images/smoothed/smoothed_image"+str(img_number)+".jpg", smoothed_image) img_number +=1
when I try to use CLAHE to handle MRI Image stored in nii format, it seems that opencv can not solve 16-bit depth Image. How can we solve this problem?
I believe opencv CLAHE works only for 8 bit images. So please change your 16 bit to 8 bit. You can also try scikit-image CLAHE, it may work on 16 bit. scikit-image.org/docs/dev/api/skimage.exposure.html#skimage.exposure.equalize_adapthist
I really need to say you are sharing a really really good content with us. Thank you so much sir. I have seen hundreds of videos on RUclips, also I took some online courses but no one explained like you. Please do make such videos for us.
Have a great time ahead.
Thanks and welcome
Excellent tutorials, I learned a lot about deep learning application in image processing. Thank you so much
Great to hear!
Thank you for the great videos! You give us such good explanations!
Glad you like them!
Thank you, again, for your great videos !
My pleasure!
Hello Dr. Sreenivas Bhattiprolu. Thank you for sharing such a rich content. In this video you said "..the last you want do is work with .jpg format images. Save them as .tiff..". Do you have a specific video about it. I did a quick search and I didn't find it. Thank you.
can you explain to me about the number in clahe, cliplimit and tilegridsize ? how to get the best one, and what that mean cliplimit and tilegridsize ? because i try in my case with 2 and 8,8 the result is not good,
(please need very detail :) thank you )
Please have a look at CLAHE documentation on opencv (also other places) to understand the implications of clip limit and grid size. There is no single answer for every image, the result depends on the local contrast in your image. Sorry to give you a non answer but this is the true. Here is the link to opencv documentation.
docs.opencv.org/master/d5/daf/tutorial_py_histogram_equalization.html
Here is another good one....
www.cs.utah.edu/~ssingla/IP/P2/CLAHE.html
thanks
Again sir , rhanks a lot excellent video
Always welcome
Very useful for me!
How could I use these operations on a dataset of 100 images?
Please anyone...
Can u please help in using the code or functions in opencv that can be used to clahe
Sir clahe and EH apply it on full data set and then classification that all images
How to save my show image as cl_img and eg_img ??
Please continue watching the videos to learn various aspects, including saving.
Is that possible to apply CLAHE on an image which has been applied equalized histogram? Thank you!
Yes, of course. These are just image processing operations (tools) so you can apply them any way you want as long as you are after extracting information from your images.
Can you make a video on how to extract features from an image and also from collection of images and write into csv file
I have explained feature extraction and capturing features into a pandas data frame in many videos. You just need to save the data frame to csv, just a single line command. Please watch my videos 57 to 67.
can you make manual stages clahe with 3x3 or 10x10 matrix?
Not sure what you mean, can you pleas explain? If you’re inquiring about using custom tile size for CLAHE, then yes you can do it.
@@DigitalSreeni I want to know how the CLAHE calculation works without using the python opencv library and I have an assignment to find calculations
CLAHE manual, and can you make manual CLAHE calculations please?
Thank you.
You're welcome!
Thank you sir
Can we use CLAHE for RGB colored images?
Not directly. You first need to convert RGB to another color space (not gray) and then convert back to RGB. For example you can convert to YUV space using
cv2.COLOR_BGR2YUV
Then perform CLAHE on the Y channel and then convert the YUV image back to RGB.
cv2.COLOR_YUV2BGR
@Ashwin Ramesh This is also a good approach, sounds simple enough to implement. Thanks Ashwin.
I have a requirement to learn clahe in detecting real time vein detection using ir camera
Use the tensorflow's object detection api
can you hep me in analysising of bio-Speckle Images,it will be really helpful for m research work
hi ..
i'am new on python.
i have a folder of x-ray images from 1.jpg to 183.jpg (gbr images)
i want to apply CLAHE on all the images .. i wrot a lot of codes but always have errors
can you help me pleass
I will record a video on the topic of reading multiple images and applying a function (filter). If you cannot wait, here are few lines that demonstrate using Gaussian; just replace with CLAHE.
## Using GLOB
#Now, let us load images and perform some action.
#import the opencv library so we can use it to read and process images
import cv2
import glob
from skimage.filters import gaussian
from skimage import img_as_ubyte
#select the path
path = "test_images/imgs/*.*"
img_number = 1 #Start an iterator for image number.
#This number can be later added to output image file names.
for file in glob.glob(path):
print(file) #just stop here to see all file names printed
img= cv2.imread(file, 0) #now, we can read each file since we have the full path
#process each image - change color from BGR to RGB.
smoothed_image = img_as_ubyte(gaussian(img, sigma=5, mode='constant', cval=0.0))
cv2.imwrite("test_images/smoothed/smoothed_image"+str(img_number)+".jpg", smoothed_image)
img_number +=1
@@DigitalSreeni thanks for the help ♥️🥰 i really appreciate your support
when I try to use CLAHE to handle MRI Image stored in nii format, it seems that opencv can not solve 16-bit depth Image. How can we solve this problem?
I believe opencv CLAHE works only for 8 bit images. So please change your 16 bit to 8 bit.
You can also try scikit-image CLAHE, it may work on 16 bit.
scikit-image.org/docs/dev/api/skimage.exposure.html#skimage.exposure.equalize_adapthist