Category "image-processing"

Fitting a contour inside another contour using OpenCV

The idea is to have a rectangular contour, searching for the points of intersection with the triangle one (as shown in the image below) and then move the recta

Differentiate apple stem, calyx and defect

I am trying to differentiate apple stem calyx and defects. I have developed a detector that detects these parts on apple. But so far everything that i have trie

Quantify longest axis and width of irregular shapes within a single image

Original question I have about 80-100 images such as (A). Each image is composed of shapes that were filled with black color after marking the outline in ImageJ

Image masking by coordinate or changing binary image pixel to black based on the the coordinate

I have this binary image and i want to remove the objects (convert all the white pixel to black ) that are above the (x, y) coordinate. This is the inital binar

How many dimensions is a RGB image?

I first thought it would be 3 dimensions (one for R, one for G, one for B). However what about the width and height? More a physics/image processing question I

Python Remap function returns not an image

I have a problem with the code. There is no compile error, but the result does not give a corrected image. Could someone please explain me where is my error. I

inner holes in segmentation polygons -coco dataset

So to explain the problem I have a dataset with the coco format I want to reconstruct the binary mask from the segmentation information stored in the annotation

Scanned image noise removal and text strengthening/enhancing

I want to remove noise from scanned image pdf and enhance it. I have tried lots of technique but did not get success yet. Please help on this. Thanks in advance

How to calculate the Euclidean distance in a canny image

I have a black line and purple lines. I want to calculate the distance between each purple pixel points in the canny image and the closest black line in the mos

How to read exif metadata from jpg file using only python, without any library?

I am trying to extract exif metadata from jpg file but hit a wall in between. I am following this( https://www.w3.org/Graphics/JPEG/jfif3.pdf ) but not sure if

Estimate average channel intensity of a raw images without using dcraw

I have a pipeline that records images on a raspberry pi, converts them to tiff via dcraw, and then estimates the average intensity for the three channels (RGB).

Fast and Robust Image Stitching Algorithm for many images in Python?

I have a stationary camera which takes photos rapidly of the continuosly moving product but in a fixed position just of the same angle (translation perspective)

How can I draw a circle next to each other with a text in center uisng opencv in python?

I'm trying to draw a concurrent circles of equal radius on top row of image with a text on center of circle. I'm able to draw a single circle on center of imag

translate an image after rotation without using library

I try to rotate an image clockwise 45 degree and translate the image -50,-50. Rotation process works fine:(I refer to this page:How do I rotate an image manuall

Saving and loading image descriptors

I've using ORB/FLANN to compare images and want to save / load image descriptors that come out of FLANN to a file so I can read them in later to compare with an

Rotating a 2D image using change of coordinates and scipy interpolation

I'm trying to rotate my image but it is like my frame does not rotate at all. Here are the following steps of my code: 1 - Create an image of an inclined disk.

How to calculate average pixel intensity inside a laser line in Python?

I am trying to write a code that calculates the speckle contrast of a laser line. Here is an example of an image that I would be analyzing: The image is black w

Use a derived mapping function to modify s?

I've read this entire paper multiple times, and I've found a way to make everything in python... Except this (Article II, section C). They want me to upscale th

How to use DeepFace.detectFace() to actually detect a face in an image?

I am trying to identify and count the number of human faces in a every picture of a folder full of pictures, I am using Deepface to get the job done. I have onl

Is there a way to automatically dewarp/uncurl/flatten warped/distorted scanned document images in C#?

I'm trying to automatically dewarp scanned document images using C#. The Situation: I have images of a 6 page empty form (every page is different). I also have