Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
77 views

Estimate 3D location of a tracked point with Known Camera parameters and Distance

EDIT: Camera has fixed orientation and position with respect to the world coordinates, it is not moving. Therefore, the found [R₁ ∣ t₁] extrinsics are assumed to be constant throughout the moving of ...
Uce's user avatar
  • 15
1 vote
0 answers
54 views

How to improve quality of the recovered image in compressed sensing technology?

I was trying to use compressed sensing technology in image processing. Basically, I did a code in Python(Spyder IDE) which takes an image, compress the image and reconstructs it. I tried with the ...
Anya's user avatar
  • 11
0 votes
0 answers
32 views

How to get surface topology from fringe pattern

I'm trying to recover the surface shape of a body from fringe pattern. There's a interferometer projecting circular fringes on the body. A camera takes a picture of the reflection of these fringes. I ...
user72008's user avatar
2 votes
3 answers
108 views

What is the type of blurring in such an image?

I can't figure out what type of blur such an image has and how I would be able to generate it in python. I would be grateful for any help. I tried Gaussian blur, bokeh blur, Wolf and Born out of focus ...
empirefloo's user avatar
0 votes
0 answers
58 views

Pixel Shift when using Fourier Downsampling

I am working on a Super-Resolution network, and want to try to use Fourier downsampling, different from the normally used bicubic downsampling as it relates to MRI imaging. I have tried using this ...
Christoffer Overgaard's user avatar
1 vote
0 answers
213 views

Combining Two Grayscale Images Without Overlapping Using OpenCV and Matplotlib in Python

I am working on a project where I have two grayscale images of different sizes, named part1 and part2. Each image has some ...
Estiven's user avatar
  • 11
0 votes
0 answers
85 views

Combining Three Images into One Output Image Python

I have to combine three images that are inside one single image into one output image in Python. This has to be done using Gamma corrections, Histogram equalization, filters convolutions (gradient, ...
Estiven's user avatar
  • 11
0 votes
0 answers
204 views

Removing dense grid lines & convert into clear image - opencv - python

I want to extract the text from this image. I'm a newbie in opencv. I've tried various opencv codes across various questions, but none is working for me. How can I extract text from this? Or maybe ...
Pankaj Singhal's user avatar
2 votes
3 answers
217 views

How to find PSNR from two images with different size in python

I have 2 images, one original and other is reconstructed from the original via some processing. I want to find the PSNR for the reconstructed image The original has a size of ...
QuantumOscillator's user avatar
1 vote
1 answer
65 views

2D Fourier downsampling to even number of points gives incorrect modes in the last column

I would like to downsample an image in the frequency domain to an even shape, similar to what is described in this post. I have been able to do this successfully with a 1D signal to both an odd and ...
Jacob Helwig's user avatar
1 vote
0 answers
48 views

Local Binary Pattern rotation

How does LBP work? To learn that, I decided to calculate by hand for the matrix but the problem is about the rotation pixel over the image based on the radius and neighbor of LBP. I do it clockwise ...
chews's user avatar
  • 11
1 vote
1 answer
113 views

Periodicity problem with FFT for generating "starburst" from aperture

I am following a paper on computationally modeling optical phenomena within a lens. (https://resources.mpi-inf.mpg.de/lensflareRendering/) At some point they use the Fourier power spectrum of an ...
geloescht's user avatar
1 vote
1 answer
114 views

Robust method to detect pinpricks in an image?

I expose films in a jig with pin pricks as reference markers. I use these references to register the scanned images of the film to other data. I've been using mouse click coordinates to date, but I ...
Tom W's user avatar
  • 13
0 votes
1 answer
1k views

2D FFT Cross-Correlation in Python

How to replicate scipy.signal.correlate2d(x, h) with arbitrarily sized x and h? ...
OverLordGoldDragon's user avatar
2 votes
1 answer
519 views

How to compute second order derivative of image using the integral image and box filters?

I want to speed up my blob detection function by computing the second order derivatives of the input image using the integral image and some box filters. Initially, I used the following method, which ...
Stefanos Anagnostou's user avatar
1 vote
1 answer
175 views

Segment Hand Image into Palm and Fingers

Here is my code, i want to extract only the fingers and save them as a new image ...
Paul Daniels's user avatar
1 vote
4 answers
78 views

How can I analyse the motion of plasma

I am currently attempting a project of plasma analysis. One of the aspects of this project is to determine the stability of the plasma, when a plasma is unstable it loses its shape partially or starts ...
NARAS's user avatar
  • 13
2 votes
1 answer
3k views

Implementation of Wiener filter to deblur an image using Python and OpenCV

EDIT: I have debugged the runtime warning, and now I am able to get an output image. However, the output image is still blurry. Increasing the constant value heavily distorts the image. Setting ...
underdawg631's user avatar
0 votes
0 answers
247 views

What image similarity measure is best for measuring the structural similarity of two images?

I am looking for an image similarity measure that can measure the differences between the structural composition of two images. For example these two images have structural differences between them ...
CoderMath's user avatar
3 votes
1 answer
409 views

How is the inverse Fourier transform of a Hermitian-symmetric input efficiently calculated?

The np.fft.rfft2 function exploits the Hermitian symmetry of the transform of a real input to more efficiently calculate the transform by omitting the negative ...
Jacob Helwig's user avatar
1 vote
1 answer
628 views

Fast Way to Remove Isolated Pixels in a Highly Quantized Image

I have an image that I've quantized like so: And I would like to get rid of pixels that aren't much like their neighbors (basically do a low-pass filter). The goal would be to get rid of isolated ...
Logan 's user avatar
  • 11
1 vote
0 answers
314 views

How to Measure Image Quality in an Objective Way

I need a method to measure image quality via computer programming (like Python). I'm doing this so as to compare quality of multiple images. I have found stuff like NMSE, PSNR and SSIM, but don't ...
CoderMath's user avatar
3 votes
1 answer
3k views

Removing white reflective pixels from scanned RGB image (Python - preferably OpenCV)

The images above are tiles taken from a scanned painting. It's easy to see where there are tiny reflections scattered throughout. I wish to remove (or diminish) the tiny reflections somehow, across a ...
Konchog's user avatar
  • 161
2 votes
3 answers
3k views

Any good alternatives of ImageJ (Fiji)?

I worked on some medical image processing research two decades ago and I used ImageJ then. I started to pick up some medical image processing projects again (some registration and segmentation). I ...
user559678's user avatar
0 votes
2 answers
79 views

Signal/image processing using python?Additional IDE must required or default pyhton IDLE is sufficent?

Can we perform signal processing and image processing using default pyhton IDLE(that is downloaded from pyhton website) for scenarios where we may also need plotting etc? or is it necesssary to ...
ewq's user avatar
  • 9
4 votes
1 answer
177 views

Interpreting results of Sobel Edge Detection

I am implementing A No-Reference Perceptual Blur Metric paper. Somewhere in the prep steps they mention the use of vertical Sobel filter for finding vertical edges. The algorithm is summarized in Fig....
Howisitgoing's user avatar
0 votes
1 answer
430 views

Copy an object (along with bounding box) from one image and paste on different image (only background)

I have a dataset of images with bounding boxes. I also have another dataset of images with different backgrounds. I want to copy the images from one dataset (with their ground truth boxes) and paste ...
Jav's user avatar
  • 31
5 votes
2 answers
2k views

Can the deconvolution Wiener filter reduce noise without having a blurred image?

I am trying to denoise many several noises with several filters for a research i have, i found a deconvolution Wiener filter made by "mr.tranleanh" on Github, as you can see here . what I ...
kode224's user avatar
  • 53
4 votes
1 answer
269 views

Filter Artifacts from Periodic Filtering

I have a merged image containing 20 segments. When I concatenate them directly, I have obviously observable patches in the whole image. I want to get rid of them while distorting the original image as ...
Avio's user avatar
  • 132
1 vote
1 answer
848 views

How do I get various peak values from a 2-D array or a matrix?

I'm working on 2D array analysis or an image analysis and get to know the different block of peak values marked "circle" in attached plot [e.g. 2*2 matrix] of the 2D array [as shown in Fig. ...
CEB's user avatar
  • 11
0 votes
0 answers
131 views

What is the magnitude and phase of the wave represents in the k-space or Fourier space?

#Code from https://stackoverflow.com/questions/70768384/right-method-for-finding-2-d-spatial-spectrum-from-cross-spectral-densities I've an array of seismic sensors (say, N=34). Every sensor collect ...
pluto's user avatar
  • 5
1 vote
1 answer
322 views

Scaling of FFT2 magnitude in image-processing

I got the following code: ...
j35t3r's user avatar
  • 157
3 votes
0 answers
88 views

Overall approach for building a footfall/age/gender counter using CCTV footage

I would like some advice to validate my approach for building a computer vision system. Design brief: Using existing CCTV cameras in a retail store, detect the footfall in the shop (count individual ...
rosall's user avatar
  • 31
2 votes
1 answer
296 views

Generate a PSF based on MTF Mapper's SFR measurement

Not sure if I should post this here or on Stack Overflow I have a .csv file from MTF Mapper with 2 columns from SFR measurement - frequency and contrast: ...
user avatar
0 votes
1 answer
891 views

Fourier Transform High Pass Circular Filter Intuition

The situation I need to apply a high pass filter to an image. The approach I'm following uses Fourier transform to apply a circular filter which would eliminate low frequencies. Say I have a frequency ...
davipeix's user avatar
4 votes
1 answer
339 views

Dealing with the Cyclic Boundary Conditions of Frequency Domain Convolution in Order to Apply Linear Convolution

...
Simon Balfe's user avatar
4 votes
2 answers
3k views

Are scipy second-order Gaussian derivatives correct?

For an edge detection algorithm, I need to compute second-order derivatives of an image, and I do this with use of Gaussian derivatives. I assumed that the ...
Erik's user avatar
  • 185
4 votes
2 answers
1k views

Understanding the Bilateral Filter (Image Filtering)

I asked this question already on StackOverflow and was told to ask it here instead, so I will just copy the content of my question. I do understand the general concept of bilateral filtering and I did ...
AnnemarieWittig's user avatar
0 votes
0 answers
352 views

Find vertical/horizontal lines

I tried everything including the Hough Transform with different inputs; Laplacian and Sobel and Canny edge detector were run on filtered image but cv2.HoughLinesP and cv2.HoughLines both give me wrong ...
Alex's user avatar
  • 1
3 votes
1 answer
551 views

ringing artifacts using FFT-based gaussian blurring

I'm trying to do an FFT-based gaussian blur on a grayscale image, and it works, however it seems to introduce ringing artifacts to the result when compared to the expected direct filter. What can I do ...
Rotem Shalev's user avatar
0 votes
2 answers
4k views

Is there a way to find the contours of instances in a binary mask image by color?

I need to find the contours for each of the instances of microscopic cells in a binary image mask of dimensions 256 x 256 shown below. My approach involves thresholding the image to get a binary mask ...
Nolan Cardozo's user avatar
0 votes
0 answers
547 views

Filter 3D volumetric image with a Butterworth filter in Python

I have been looking for a way to filter a 3D volumetric image in python with a Butterworth filter, but I haven't found any good solution. I have tried this: ...
Malte Jensen's user avatar
1 vote
0 answers
357 views

Removing feature matched outliers within same image using RANSAC

I'm a student working on a copy move forgery detection algorithm. I have a forged image. By far I have, Found keypoints and descriptors from the image Matched the descriptors using 3 Nearest ...
ssc134's user avatar
  • 11
5 votes
1 answer
461 views

How to detect rectangular images inserted into another image?

It's just for a simple binary classification, so it's not needed to find the location of the inserted image or the content. I'm only interested in checking whether something like that is present or ...
Tobias Hermann's user avatar
1 vote
1 answer
537 views

T1 Mapping in Python?

I'm trying to write a simple program to perform T1 mapping of a few MRI Images. My understanding is that all I need is to plot the pixel intensity values by inversion time then fit a curve. The output ...
nikebol906's user avatar
0 votes
1 answer
420 views

image processing find liquid level (only with images processing, no AI)

I want some ideas to get the level of a water/liquor in a cup. i tried many ideas (contours, edges,...) but nothings is working. So any ideas that i can explore.
Moooooooun's user avatar
0 votes
1 answer
2k views

Python how to detect white image [closed]

I am searching for python code or library to detect blank/white images like [png ,jpg ,bmp].
Mr. GEMY's user avatar
1 vote
1 answer
5k views

How to make a contour smooth in OpenCV

I am using OpenCV(4.5.1) and trying to extract a smooth contour of an object on my image. Firstly I got the contour by: ...
user avatar
2 votes
1 answer
197 views

Extracting ridges in automatically in image

I am trying to extract ridges from an image, calculated using the eigenvalues of the Hessian matrix (see answer in Best way of segmenting veins in leaves?). In this image I have zeroed out the ...
R Thompson's user avatar
0 votes
1 answer
658 views

Cropping binary images based on pixel counts in python

I have a numpy binary masked image that looks like the following: I want to automatically crop this image like the following: Can I achieve this using some sort of image processing rather than ...
Nolan Cardozo's user avatar