42,315 questions
0
votes
0
answers
36
views
Java OpenCV Laplacian blur detection gives low scores for clear images — how to set the right threshold?
enter image description hereenter image description hereI'm working on a Java application using OpenCV to detect whether an image is blurry using the Laplacian variance method.
Even for clearly ...
-2
votes
0
answers
66
views
Why won’t my image blur in my C blur filter implementation? [closed]
I'm working on a blur function in C:
void blur(int height, int width, RGBTRIPLE image[height][width])
{
RGBTRIPLE copy[height][width];
double pixels = 0;
double sumRed = 0;
double ...
1
vote
1
answer
93
views
Subsampling an image in C [closed]
I am trying to subsample an image by taking every 2nd pixel, as follows:
void subsample(int height, int width, int colors, struct Image pixels_in, struct Image pixels_out) {
for (int i = 0; i < ...
1
vote
0
answers
56
views
Performing OCR of Seven Segment Display Multimeter
Firstly, I am very very new to these things, and I have come this far with the help of ChatGPT.
We recorded some videos of two multimeters that have seven-segment displays. I want to OCR them to use ...
-2
votes
0
answers
36
views
averaging many rows to gain better data [closed]
I'm working on a script to simplify a scanning process. I would like to average 10 scan sweeps together in order to eliminate a little noise and create a more concise scan. My first question is, is ...
0
votes
0
answers
63
views
Why doesn’t the barycenter method detect subpixel displacements where correlation does?
I’m working with X-ray imaging data.
I have a reference image containing a structured pattern, and a sample image where this pattern is slightly distorted due to the presence of a physical sample.
My ...
-4
votes
0
answers
86
views
How to improve handwriting recognition in an image [closed]
I'm trying to develop a system to read the handwriting in a chart within a written page, using a multimodal LLM. I'm using Google apps script So far I've experimented:
function openRouterApiRequest() {...
1
vote
1
answer
100
views
CPU bilinear filtering output same results than point sampling
I am adding bilinear filtering to my C++ rendering software. To validate that it works i am trying to downscale a test image.
Here the 1024x1024 test image:
When i perform point sampling resizing i ...
0
votes
0
answers
34
views
Return Dominant frequencies from S transform
Based on following link :S transform
i have implemented following spectral analyzer code (just call it analyzer)
import matplotlib.pyplot as plt
import numpy as np
from scipy.fft import irfft
from ...
0
votes
0
answers
25
views
Measuring similarity between two images with large difference in ranges
I'm working on a project to compare different filament detection algorithms that take an astronomical grayscale image as input and give a binary skeleton of the filaments detected as output.
For your ...
1
vote
1
answer
102
views
Matlab image features extraction error (ifcb-analysis)
I am trying to use that code included in the file "start_blob_batch_user_training.m" in the ifcb-analysis set (https://github.com/hsosik/ifcb-analysis).
function [ ] = ...
0
votes
1
answer
66
views
Detecting an object in an gradient background going wrong
I am struggling to detect objects in an image where the background and the object have gradients applied, not only that but have transparency in the object as well, see them as holes in the object.
I'...
2
votes
1
answer
64
views
Sharp.js: Output to Lossless WebP Changes Fully Transparent Pixel Color
I'm writing a script that reads image files, manipulates (resets the color of fully transparent pixels to pure black, crops the images), and writes the exports the output images to the lossless WebP. ...
-1
votes
1
answer
81
views
resizing an image before overlay causes problems
I have the following code:
def def showData(frame, extracted_boxes, scaleFactor):
# frame = cv2.resize(frame, (0,0), fx=scaleFactor, fy=scaleFactor)
overlay = frame.copy()
for idx, ...
-2
votes
2
answers
105
views
Crop from image using OpenCV without including green - OpenCV & Python
Recently began developing a basic ANPR application using OpenCV and PyTesseract. The overall contouring and cropping seems to work but there is a glaring problem in that i'm unable to figure out how ...