Questions tagged [image-processing]

Anything related to digital image processing, i.e. the theory and the techniques used to extract or manipulate information from digital images.

Filter by
Sorted by
Tagged with
1 vote
0 answers
33 views

Watershed adjustment for broken particles

I analyze images with particles, as e.g. Particles - raw image: As visible, some of the particles are broken and the program does not always recognize them correctly, as visible in images with ...
Tokar's user avatar
  • 11
-2 votes
0 answers
21 views

Scaling ring image while keeping inner radius constant

I have an image like below - a mask in a shape of ring. I'd like to scale it up so that: R2 radius increases R1 stays the same (= inner circle does not change) Do you know how to achieve that using ...
pteo's user avatar
  • 113
0 votes
1 answer
16 views

Pixel perfect subimage search in python

I have a python project and I want to search an exact image inside a screenshot. It has to be 100% match or it should give back that the image is not there. What is the most effective way to do this? ...
Patrik Csikós's user avatar
0 votes
0 answers
3 views

Running Issue on SEctractor

I got this bug while running SExtractor `----- SExtractor 2.28.0 started on 2023-12-04 at 16:30:12 with 1 thread Reading Neural Network Weights Error: SOM file not found: default.som ` But I didn't ...
Meee_'s user avatar
  • 1
0 votes
0 answers
43 views

threshold is a matrix full of zeros. why?

I am trying to write a program where there's an image as input and I display the image according to game of life rules. But the threshold is all zeros. I am not sure why since my binary image has ...
ra111's user avatar
  • 1
0 votes
0 answers
28 views

Python OpenCV (cv2) not slicing image correctly [closed]

So I have an 800x800 image. I want to split it into multiple squares, but for some reason the slicing does not work as expected. I will show an example, by trying to just get the first 100x100 square ...
randomnamme's user avatar
0 votes
0 answers
23 views

How to split numbers from other lines in a CAPTCHA using AForge.Net

Since you see the picture below, I want to remove the circus. Also I coded a method to detect circuls: // Create filter sequence and add filters FiltersSequence seq = new FiltersSequence(); ...
Yasin Asadnezhad's user avatar
3 votes
0 answers
60 views

OpenCV 4.8.1 Segmentation Fault using findContours()

I'm trying to find and draw contours on frames from the webcam. I'm getting this error: segmentation fault The error occurs when calling the findContours() function. Everything before that call works ...
estradavg's user avatar
-1 votes
0 answers
22 views

Huffman Encoding/Decoding - Black Image Issue. [Python] [closed]

I am attempting to fix my Huffman coding algorithm for Huffman Coding/Decoding algorithm to correctly show the process's output image. Currently, my process outputs a noixy black image. My imports for ...
Matthew Plascencia's user avatar
0 votes
0 answers
27 views

Black Square Detection [closed]

I am beginning in computer vision. I am having a really hard time detecting a black square in an image (the ultimate goal is to detect black squares in a grid and create a matrix to represent them) ...
Lara Calvo's user avatar
0 votes
0 answers
26 views

Image transfer between a BASYS3 FPGA and a Raspberry pi 4 via USB 2.0

I'm working on a VO and VSLAM project for my digital design course. I use a rpi4 as the main processing unit, running the VINS-Mono algorithm and interfacing an IMU (MPU6050), and a raspberry camera ...
DevKara's user avatar
0 votes
1 answer
22 views

how to fix this? the "Scan Screen"

I'm trying to make a mobile app where the "Scan" button is pressed. it will have a camera access and I have another file for the scan screen. I keep getting this error. this is the only ...
Venus 's user avatar
  • 11
0 votes
0 answers
12 views

Filter sober in c++ don't pass test

I am working on implementing the Sobel filter for image processing in C++. However, I am encountering unexpected results and failing test cases. I have reviewed the code multiple times, but I cannot ...
ste005Code's user avatar
-1 votes
0 answers
38 views

How can I segment and label each rib individually in this medical image?

Novice image processing student here looking for some guidance. I've extracted images from a surgical video and am looking to segment the ribs in these images to use in a future task. The image is ...
Wiley's user avatar
  • 1
0 votes
1 answer
64 views

How to use OpenCV to recognize boxes and count them (python)?

(disclaimers a lot of pictures, I don't know how else to explain it) I am new to OpenCV and Image processing as a whole. I am trying to create a counter program that counts a stack of carton ...
SoloLord's user avatar
-5 votes
0 answers
31 views

Image processing on sample photos [closed]

I used different photo processing algorithms to make the text of the following photos more legible and machine-readable, but I did not find any way. The noise around the text is too much and cannot be ...
odoofpa odoo's user avatar
0 votes
1 answer
29 views

Index Out of Range error when Huffman Coding

I was trying to encode and decode an image using Huffman codes. I am encountering an issue when calling the methods from this class in the main method: using System; using System.Collections.Generic; ...
Catalanforyouforever's user avatar
0 votes
0 answers
34 views

Merge lines that are approximately collinear and close together into one line

I used the Line Segment detection of OpenCV to detect lines, then I separated them into two separate parts, one list containing only horizontal lines and one list containing only vertical lines. The ...
lee's user avatar
  • 11
0 votes
0 answers
25 views

How to fix Blurry Camera Preview Screen?

I'm trying to make a preview screen with a circle overlay on top of it. Due to project requirements, the preview screen has to be large enough to fully contain the circle. The project requirements ...
Mike Ike's user avatar
0 votes
0 answers
47 views

Rearrange bytes to 24-bit pixel data in OpenCV

I am receiving raw Bayer pixel data from imager in an uint8_t buffer. Each pixel size is 3 bytes i.e. 01 23 45 from uint8_t buffer forms one pixel 012345. Is there an elegant way to convert/copy this ...
adi_226's user avatar
  • 41
1 vote
1 answer
49 views

How to paste an image on top of another, the empty pixels of the background remain empty Python PIL

I want to paste the first image (which is a simple vertical gradient, from transparent to black), at the bottom of the background. The empty pixels in the background need to remain empty, and the ...
kursatba's user avatar
1 vote
1 answer
36 views

matlab Array dimensions must match for binary array op

i have been stuck on this problem for quite a while now, i am trying to make a code in matlab that looks through a wally crowd picture and tries to find wally by comparing it to a picture of wally ...
Davi Franke's user avatar
0 votes
1 answer
65 views

Edge detection in dark images with background noise

I have many images from a high-speed camera that I would like to analyze. In the first step, I want to recognize the edges of a wiper, but I have problems recognizing them automatically because they ...
Celotos's user avatar
  • 11
0 votes
1 answer
80 views

Inconsistencies with calculating mean brightness per pixel of different images

My code gets an image and calculates its mean brightness and standard deviation. When I run the code on a certain data set .TIF which is generally pretty dark and compare the values I get from running ...
Niandra Lades's user avatar
0 votes
0 answers
26 views

Track spots in an image as they move

Suppose I have some function: find_spots(image) -> list[tuple[float, float]] that takes an input image and returns a list of tuples of x, y coordinates of 'spots' that it finds in an image, sorted ...
TheGodParticle's user avatar
0 votes
0 answers
47 views

Difficulty detecting object shape change between good and bad states using fitEllipse and convex hull in OpenCV

I'm currently working on a computer vision project where I need to detect changes in the shape of an object, specifically an ellipse, between good and bad states. I've attempted to use OpenCV's ...
Shanmathi K's user avatar
0 votes
0 answers
14 views

How can i include the top part of my generated outline?

Whenever I try to generate an outline, the bottom part of the outline always generates correctly, the top part however does not. I think this is due to ySouth being true, but I don't know how to fix ...
Rebellious's user avatar
0 votes
0 answers
22 views

How to find if an image is a gradient image?

I am working on piece of code that takes an image file (PNG/JPG) as an input and does the following: Detects colors if the image is consisting of solid colors. Allowing the end user to replace those ...
Rkay's user avatar
  • 1
-1 votes
0 answers
24 views

"Seeking Assistance with Direct Implementation of Image Denoising using Non-Local Means Filter(NL Means Filter)" [closed]

"Hello, I'm working on directly implementing a denoising algorithm using the Non-Local Means filter without using predefined functions. I'm encountering some challenges and would appreciate ...
pizzaboy's user avatar
0 votes
0 answers
36 views

How best can I compress an svg that is just lines and text? Specifically, patent drawings [closed]

Patent drawings are black and white and only have black lines and text. Typically they are in png format. I want to generate compact svg files. Typically, when I convert png to svg I get a list of ...
Ronan McGovern's user avatar
-3 votes
0 answers
42 views

Is there a way i can use python to detect a “shoulder of a cantilever” and output its coordinates? [closed]

I have a bunch of photos of microcantilevers under a microscope. I need to find a solution using python to accurately detect this “shoulder” region of the microscope and output the specific ...
Joy Merwin's user avatar
-1 votes
0 answers
41 views

Image processing in R

I would like to do the following (in R), when given 3 independent images Calculate the average of the three faces, and plot an image of it. Plot images of the difference of each face from the average ...
PVB's user avatar
  • 1
0 votes
0 answers
33 views

Palm detection algorithm by opencv in python [closed]

I have been involved in a program for palm detection by opencv for some time, but unfortunately I could not find a comprehensive and correct solution, someone had asked the same question on different ...
Vahid Ebrahimi's user avatar
0 votes
0 answers
21 views

Implementation/algorithm to approximate AE white balance (temp/tint) in a shader

I'm trying to figure out the implementation/algorithm behind Adobe After Effects' Lumetri Color white balance controls to create a similar or approximate version in a GLSL shader. Specifically, I'm ...
OpherV's user avatar
  • 6,827
-1 votes
0 answers
13 views

REMnux on AWS - No valid partition/Not a valid volume [closed]

I'm attempting to import a REMnux Virtual Machine onto AWS for use as a malware analysis environment. I have followed the guide: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-...
Immediate_Change3183's user avatar
0 votes
0 answers
24 views

dartboard/circle detection (off angle) python

I want to detect a dartboard live on cam but the cam is in a off angle. Because of this I'm not sure that I can use cv2.HoughCircles and might have overcomplexed my code. This is my first time image ...
Indy2013's user avatar
1 vote
0 answers
33 views

Line segmentation detection line draw by hand

. I have an image of hand-drawn straight lines. My goal is to convert them to straight lines and connect them together in a logical way and draw them again to a new white background image. I have used ...
lee's user avatar
  • 11
0 votes
1 answer
38 views

Cropping a circle from a matrix in R

I have a large matrix mydata (~2000 X 2000) from which I want to crop some data. I need to get all the values of the cells around a "center cell" in some radius and set all other cells to be ...
UV_RAD's user avatar
  • 11
0 votes
0 answers
26 views

GEGL Library Installation on Windows

I am new in image processing field, and I want to use GEGL to try things on Windows, I clone these libraries from Gnome: gegl. babl. glib. When I opened the examples in GEGLE "hello-world.c&...
ahmed_bsher2's user avatar
0 votes
0 answers
39 views

How to select between bright spots in a continuously updating image

Suppose I have some function: find_spots(image) -> list[tuple[x, y]] that takes a greyscale image as its input, and using OpenCV/some other image processing library, returns a list of tuples of ...
TheGodParticle's user avatar
0 votes
0 answers
18 views

ValueError: Expected x_min for bbox (-0.0005000000000000004, 0.5085, 0.0385, 0.7675, 1) to be in the range [0.0, 1.0], got -0.0005000000000000004

I annotated my images on cvat and export it in yolo format. Then, I tried using albumentations for augmenting my images. However, I have been tackling this problem where I even tried rounding the ...
Nuntea7's user avatar
1 vote
0 answers
29 views

How to apply Hald 3D Lut image filter in ios swift

We are working on an app that uses a LUT to apply a filter on the image. For filter, we are using CIFilter and Hald 3d Lut image. we have tried different code available on the internet but does not ...
Bhavin Vaghela's user avatar
0 votes
0 answers
35 views

remove white borders around edges in video

i am trying to replace background of a video using open-cv. my problem is a white borders that are appearing in the edges of a person.enter image description here. this is a frame of video i am trying ...
Osama 's user avatar
0 votes
0 answers
25 views

Python Camera Calibration using Checkerboard

Im pretty new to image processing, but I have tried using the generic python opencv approach to finding the corners for one of my 8 views, but opencv's can't find the corners. I have attached an image ...
JPearson's user avatar
0 votes
0 answers
27 views

How do I dispaly individual components such as saturation in HSV and HLS models?

Here is the experiment I am trying to emulate I am stuck on the first part and that is displaying the individual components of the HSB image like the ones shown in the experiment. I have extracted the ...
Michael243's user avatar
0 votes
0 answers
34 views

Is there any MATLAB filter or method to fix distortion in the color gradation of images?

I am working on an algorithm to reduce the size of images, but there is a problem, which is that the resulting image contains distortions in color gradations, as you can see below. Is there a filter ...
Arkan_Abd's user avatar
0 votes
1 answer
83 views

Improving performance of code under real time data acquisition and understanding weird bug

I'm working with a physical experimental system to track its evolution in real time using a camera. Specifically, I trigger the camera to retrieve images in a rate of 2.5Hz, and so the efficiency of ...
Niandra Lades's user avatar
-1 votes
0 answers
17 views

Find position of small images in larger image [closed]

I want to use MTM to compare images but I have 2000 small images to compare in single image.. It's slow to check these small images are present or not.. Can i get a way to faster I tried MTM but it ...
Velavaraj P's user avatar
0 votes
0 answers
98 views

In ios, Frames extracted from FHD (1920 x 1080) video file is HD (1280 x 720) image

I am writing iphone app, which analyzes video. The target video is recorded with back camera of iphone at 240 fps in FHD. (1920 x 1080) First I extracted a frame from the video. The frame image is ...
Jeehoon Park's user avatar
2 votes
1 answer
69 views

Logarithm of a positive number result in minus infinity python

I have this image: HI00008918.png I want to apply a logarithmic function (f(x) = (1/a)*log(x + 1), where a = 0.01) on the image... So this is the code: import numpy as np import matplotlib.pyplot as ...
Gustavo Henrique's user avatar

1
2 3 4 5
843