12

I would like to know about some preprocessing practices recommended for applying to images before their features are computed, in order to increase the efficiency of the process as much as possible. (e.g. Croping, changing format, etc...)

Thanks in advance :)

1 Answer 1

19

Preprocessing is heavily dependent on feature extraction method and input image type. Some common methods are:

  1. Denoising: applying a Gaussian or simple box filter for denoising.

  2. Contrast Enhancement: If gray level image is too dark or too bright, this may be applied.

  3. Downsampling to increase speed.

  4. Morphological operations for binary images.

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you very much for your answer @thomas and for the great quality of the links you added, but now I have some doubts on how to apply these methods properly: 1- Should I detect the gray level of every image before applying the contrast enhancement or simply I apply it in all the cases? 2- What may be an appropriate size to the images? 3- Erosion, dilation, or both of them? (or none)
@Str1101, 1- histogram equalization needs to be applied on gray level image 2- if you have some abnormal size like 1024x2048, any feature extraction process may take considerable time, so you can downsample such images by a factor of 2-3 and you can speed up this process upto 4-9 times, 3- Erosion can be used to filter out small regions in an image while dilation is used to remove some holes inside objects. They can also be used for RGB images. Erosion causes darker regions to widen while dilation has a reverse effect in RGB images.(as can be seen the cat image in the last link.)
Thanks again @thomas. The process has to be automated,so I think that I'll have to compare results to be able to determine which one of the morphological operations (and with which settings) works better.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.