Questions tagged [motion-blur]

"Motion blur is the apparent streaking of moving objects in a photograph or a sequence of frames, such as a film or animation. It results when the image being recorded changes during the recording of a single exposure, due to rapid movement or long exposure." -- Wikipedia

Motion blur is the apparent streaking of moving objects in a photograph or a sequence of frames, such as a film or animation. It results when the image being recorded changes during the recording of a single exposure, due to rapid movement or long exposure.

Source: https://en.wikipedia.org/wiki/Motion_blur

56 questions
2
votes
2 answers

Detect motion blur of a cropped face with python i.e. opencv

I'm detecting faces with haarcascade and tracking them with a webcam using OpenCV. I need to save each face that is tracked. But the problem is when people are moving. In which case the face becomes blurry. I've tried to mitigate this problem with…
2
votes
1 answer

OpenCV: how to add artificial smudge / motion blur effects to a whole image?

I would like to add artificial smudge / motion blur effects in a specific direction to images with OpenCV to simulate blurring caused by shaking/moving cameras while recording images. What would be an appropriate way to do so in OpenCV (with…
daniel451
  • 10,626
  • 19
  • 67
  • 125
2
votes
3 answers

Detecting how blurred an image is

I want to detect how blurred an image is, may be It can be called "blur extend". I found a useful paper for this: http://www.cs.cmu.edu/~htong/pdf/ICME04_tong.pdf I used OpenCV and implemented all steps from this paper, but the result is not same as…
pars
  • 409
  • 1
  • 5
  • 10
2
votes
1 answer

Convolution matrix for diagonal motion blur

I know my question is not really a programming question but it came out of programming need. Does anyone happen to know the convolution matrix for diagonal motion blur. 3x3, 4x4 or 5x5 are all good. Thanks,
Dave
  • 12,117
  • 10
  • 46
  • 52
1
vote
1 answer

Motion Blur direction identification DirectX

I am storing velocity information in the texture. As texture can only have color values in range {0, 1} How should I determine the direction of the velocity ? One solution is to create another texture which stores only the direction information for…
algonite
  • 13
  • 3
1
vote
0 answers

how to reduce motion blur in picture?

I am trying to detect the QR data from a blurry image and have not been successful till now. I have tried a couple of morphology operations on the image and still did not get the data embedded in it. How could I improve the situation? I have tried…
Hemant Bhargava
  • 3,251
  • 4
  • 24
  • 45
1
vote
0 answers

Kernel size estimation for Point spread function for image deblurring

I have two images, one blurred and another sharp image. I need to recover the original image using these images. I have used simple FFT and inverse FFT to estimate point spread function and deblurred image. fftorg = np.fft.fft2(img1) fftblur =…
1
vote
1 answer

Pytorch transfer learning error: The size of tensor a (16) must match the size of tensor b (128) at non-singleton dimension 2

Currently, I'm working on an image motion deblurring problem with PyTorch. I have two kinds of images: Blurry images (variable = blur_image) that are the input image and the sharp version of the same images (variable = shar_image), which should be…
Ruffybeo
  • 78
  • 1
  • 9
1
vote
0 answers

Is there a method to copy the amount of motion blur of one image to another in python, preferably using opencv?

I'm adding an image in a video stream and would like to adjust the amount of motion blur so it matches the surroundings in the video stream. I would like to detect how much horizontal and vertical motion blur is present in a region of interest (ROI)…
1
vote
1 answer

Deblur images of a fast moving conveyor

I need to process a video stream of a belt conveyor for transporting coal, mainly to detect anomalies on the conveyor for safety reasons. Because of the conveyor's fast speed, all images are very blurry. The images are like this: I want to de-blur…
user416983
  • 974
  • 3
  • 18
  • 28
1
vote
1 answer

Reduce motion blur for fast moving ball

I am trying to create a simple ball tracking system. It does not have to be perfect as it is not for commercial/production. On the hardware side I am using RaspberryPI with RPI camera V2. On the software - OpenCV. If there is a natural sun light…
Dev_IL
  • 252
  • 1
  • 15
1
vote
2 answers

How to motion deblur an image using OpenCV and Python?

So I have been asked to motion deblur a frame captured from a video, I am kind of new to this deblur filters so need help. The video does not contain any noise, just a vertical motion blur. I am not allowed to use skimage, or any other library…
Yash Patil
  • 25
  • 1
  • 1
  • 5
1
vote
1 answer

How to create synthetic blurred image from sharp image using PSF kernel (in image format)

Update as suggestion from @Fix that I should BGR to RGB, but the outputs are still not the same as the paper's output. (Small note: this post already post on https://dsp.stackexchange.com/posts/60670 but since I need help quickly so I think I…
chickensoup
  • 334
  • 1
  • 17
1
vote
2 answers

How to combine many successive image to simulate a realistic motion blurring?

I want to simulate realistic motion blurring. I do not want to have the blurring effect in the whole image but only on the moving objects. I know that I can use filters, but the blurring effect will be spread in the whole image. I thought to use…
user7249049
1
vote
2 answers

Remove motion blur with real time performance on camera input

I have drawn simple pattern of geometrical shapes on a paper and placed it one a object as marker. I'm able to detect and analyze pattern successfully. However when object moves a little faster the motion blur is introduced which can be rotational…
Muhammad Abdullah
  • 876
  • 2
  • 8
  • 26