Ask Your Question

tuyau2poil's profile - activity

2015-03-22 17:37:44 -0600 received badge  Famous Question (source)
2014-04-25 15:54:43 -0600 received badge  Notable Question (source)
2014-01-09 17:06:37 -0600 received badge  Popular Question (source)
2012-12-21 06:17:19 -0600 received badge  Nice Question (source)
2012-11-10 07:40:25 -0600 received badge  Self-Learner (source)
2012-10-19 16:41:38 -0600 received badge  Scholar (source)
2012-10-19 16:40:54 -0600 received badge  Critic (source)
2012-10-19 16:37:10 -0600 received badge  Supporter (source)
2012-10-19 16:36:20 -0600 answered a question Detect blur image

Thanks you very much for your answers : I finaly use Laplacian/gauss filter and get stronger pixel to estimate blur : it's Ok for my need. I translate C++ code to VB.Net and use EMGU Opencv library. this is my code :

Module Module1
Private Sub GetBlur(ByVal imgfile As String)
    Dim factor As Single
    Dim imgB As Bitmap = New Bitmap(imgfile)
    imgB = New Bitmap(imgB)
    Dim imgGray As Image(Of Gray, Byte) = img.Convert(Of Gray, Byte)()
    Dim imgTmp As Image(Of Gray, Single) = imgGray.Laplace(1)
    Dim maxLap As Short = -32767
    For Each MyByte As Single In imgTmp.Data
        If MyByte > maxLap Then
            maxLap = MyByte
        End If
    Next
    Debug.Print(imgfile & "   " & maxLap)
    imgGray.Dispose()
    img.Dispose()
    imgTmp.Dispose()
    imgB.Dispose()
End Sub

End Module

Where Maxlap is the "blur score" of the picture.

Alan

2012-10-18 12:21:32 -0600 received badge  Student (source)
2012-10-17 15:47:22 -0600 asked a question Detect blur image

Hello, I would like to check blurring on a lot of medical pictures (more than 10000). (the goal is to remove bad files). is it possible ? if yes, can someone give me a simple way to do that ? I'm not a guru in image analysis, and I spent days to look for that kind of tool. I use visual studio to compile numerous c++ files like thislink text but c++ is not my favorite language (nor english! :-) ) and I can't understand the mixing complexity of all this mathematical technology... thank you ! Alan / France'countrySide