Digital Image Processing

Image Processing Puzzles

I need a tools/scripts/algorithms to check against
Imag blurriness, Image filling percentage in the container (percentage of the actual object to the empty space), black background detetction
black background detection –> histogram processing + connected components algorithm
are you using php or python?

The language is not a barrier, we can implement in any fast language like Go or C++
Then use this as a service from PHP
for percentage calculations;
simply apply 8 connected components , then find the first largest 2 objects, then compare their sizes
in image processing, there is no one right way or algorithm, it’s a trial and error

I know each case has its own algorithm
to detect bluriness -> apply a laplacian filter to get difference / gradient along a window

Can you please give me URLs
now you have the three techniques for the three problems?
yes sure
opencv is the best library
php wrapper;
OpenCV-for-PHP – An OpenCV binding for PHP

Great thanks
bluriness detection;
bluriness detection in open cv :

Blur detection with OpenCV

Blur detection with OpenCV – PyImageSearch
In this tutorial, I will teach you how to detect the amount of blur in an image using OpenCV and Python. Perform blur detection using the OpenCV library.
opencv segmentation;
Segmenting images in OpenCV | PACKT Books
Segmenting images in OpenCV written by Robert Laganière: one of the many articles from Packt Publishing
simple blur detection;
Is there a way to detect if an image is blurry?
I was wondering if there is a way to determine if an image is blurry or not by analyzing the image data.

sometimes you may need preprocessing, so it’s good to denoise the image using a gaussian filter
also check polymorphism ( dilation + erosion)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s