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.

1
vote
1answer
20 views

Need help in next step for blood vessel extraction using OpenCV in Python

I am currently trying to extract blood vessels from an image of the eye. So far, I have been able to display the blood vessels, but there is still a significant amount of noise around the image - it ...
0
votes
0answers
4 views

Aligning images with the depth map in Opencv

I am working on a dataset where we have RGB images and corresponding depth maps. The depth maps aren't aligned perfectly with the RGB images and we are given the Sensor Calibration for aligning. Here ...
0
votes
0answers
7 views

Best way to run kernal over image

I have an image, RGB, and I also have a 3x3 kernal, similar to the kernals used for sobel operations. I wonder what the most efficient ways (performance and code reduction) are for running these ...
0
votes
0answers
14 views

Find rectangle bounding box in image and crop it

I am new to OpenCV so I really need your help. I have a bunch of images like this one: I need to detect the rectangle on the image, crop it and save it as a new image. Can you please help me with ...
0
votes
0answers
5 views

ade20k dataset label issue

I'm having a hard time understanding how to identify the labels in the ade20k dataset. I was looking at the csv https://github.com/CSAILVision/sceneparsing/blob/master/objectInfo150.csv and grabbed ...
0
votes
0answers
6 views

How should we label occluded images when gathering datasets?

I am currently putting together an imageset for people. I am using labelimg to tag the data with the relevant class-type in XML. In doing this, I have ran into a problem - how do I deal with ...
0
votes
0answers
6 views

How to fix imageJ FileNotFound: Access Denied when doing image stitching?

I am working with ImageJ to stitch images (10x10). I have the memory needed to run the process. But at the end of the process, it gives me this error: ERROR: TextFileAccess.openFileWrite(): java.io....
0
votes
1answer
35 views

Why isn't the video feed read by the web camera in python code?

When I run my python opencv code, the web camera does not read a video feed. There are no any errors, but the black color output with wifi sign and loading sign i there. How to fix that and read the ...
0
votes
0answers
7 views

“FailedPreconditionError : Attempting to use uninitialized value inception_5b_pool_proj/weights [[node inception_5b_pool_proj/weights/read”

I am trying to extract features of images from a video using google inception v1 from kaffe model. src = args.video_path.split('?')[0] image_dir = save_frames(src) features = feature_extract(...
0
votes
1answer
17 views

How to extract depth map of an image

I want to create an app which captures a photo and then extracts the depth data of the image. I'm already done with the taking a photo part by using intent and sending it to the preexisting camera app....
1
vote
1answer
21 views

How to calculate circumference of a belly that 3d scanned?

I scan a person with kinect v2 and save his/her body in .ply, .obj, .stl formats. I want to calculate the circumference of the belly, biceps etc. from this 3d scanned body. I am opened to all ideas. ...
1
vote
0answers
49 views

An efficient way to extract, and compare and match fingerprint minutiae

I am currently working on an program that detects and matches fingerprints as part of a fingerprint sensor. After processing the image, I obtain key points using Harris Corner Detection. Then, using ...
2
votes
1answer
44 views

Obtain features inside image and remove boundary

I want to detect features inside an image (retina scan). The image consists of a retina scan inside a rectangular box with black background. I am working with Python 3.6, and I am using Canny Edge ...
0
votes
0answers
18 views

Error in upload_file(x) : is.character(path) is not TRUE in loop

I am using Microsoft Face API to detect face emotions. After trial and error, I have the following code that works for a single file: local <- "/mypath/image.jpg" x_recognition <- function (x) ...
0
votes
0answers
11 views

why in harr featue's x3 pattern the middle part's weight is 1 instead of 2?

Do you know why in harr featue's x3 pattern the middle part's weight is 1 instead of 2? It means for b the Line Features the middle region colored in black has weight 1. eg, this is OpenCV ...
0
votes
0answers
20 views

ffmpeg resize large image and high resolution

I tried to resize a very big image (457 MB and 21600x21600) with the following command -i test.png -vf scale=320:-1 out.png but it throws exception saying "Picture size 21600x21600 is invalid". How ...
0
votes
0answers
33 views

EmguCV template matching on live camera

I'm new in the image-processing thing and I'm trying to make a multiple template matching app with help from EmguCV. On Form1 I have: -an imageBox (pictureBox from EmguCV) where I receive images (...
1
vote
0answers
26 views

Apply VR lens distortion (barrel distortion) to live video feed

I am trying to create a custom VR headset that displays a live feed from a remote camera, and in order for the view to be clear from the vr headset, I need to duplicate the image from the camera for ...
1
vote
0answers
32 views

Merge 1000 transparent png files in one

I'm trying to merge (overlaying) ~1000 (12MB total) transparent images *.png in one png or other raster file. Which package or function in R must be use?
-4
votes
0answers
41 views

How to set up CPU-intensive web endpoint properly

I need a web route that generates an image using .jpg and several .png files from the disk and returns it back to the client. Since this operation is kind of CPU intensive I decided to try go ...
0
votes
1answer
20 views

Keep dictionary elements order the same in AWS Rekognition outputs in python

I am using AWS rekognition to study emotion outputs. This is my code: photo = 'InVacation.jpg' image = Image.open(photo) stream = io.BytesIO() image.save(stream,format="JPEG") image_binary = stream....
1
vote
1answer
43 views

How to find distance between two connected points through white pixels?

I want to find the two endpoints of a curve. I used convex hull to find 8 boundary-points and then for every point, distances with all other points are calculated. The points with maximum distances ...
-3
votes
0answers
10 views

How to join the broken lines of a binary image in java? [on hold]

[The broken lines Image as given here and they are to be joined resulting the yellow strikes][1]
0
votes
0answers
43 views

OpenCV--How to detect video bad frame?

I have homework to classify two kinds of images. one is abnormal like pic 1,2,3 and another is normal like pic 4,5. Is there any method or arithmetic to help me to solve this problem? It is like ...
0
votes
1answer
14 views

How to identify objects in micron units in regionprops3 comand?

Suppose, I have a 3d image of (x,y,z)=(100,100,500) dimension. My task is to identify some objects in this image. I can identify objects using regionprops3 command from MATLAB. The confusing part is ...
1
vote
0answers
22 views

how to get points mapping after opencv Stitching

I use OpenCV Stitcher class to stitch multiple images together and I can get the final image. But I was wondering how can I get points mapping between original images and stitched image. For example: ...
-1
votes
0answers
15 views

how to obtain Gaussian distribution from specific area of an image channel?

I divide an image channel (like contrast) into 12 different areas and I need to obtain Gaussian distribution from each area(like the above image each circle supposes to be a Gaussian distribution), ...
0
votes
1answer
37 views

Font matching using image moments in OpenCV

I am creating a code which will tell me how similar two letters are to each other. For this, I decided to go with HuMoments concept in OpenCV. Given are the images that I have Co.jpg C0.jpg A.jpg ...
0
votes
0answers
20 views

how to crop images in react-native ,so that it'll be like a round and circular shape instead of ordinary rectangle one?

I do have some pictures, and I need to crop them in a circular shapes before using them in react-native to use as ViroImage in react-viro(a library that render 360Images) I can not apply much styles ...
2
votes
1answer
40 views

Python extract multiple objects from image opencv

I am trying to extract object from an image using the color using Opencv, i have tried by inverse thresholding and grayscale combined with findContours but I am unable to use it recursively. ...
0
votes
0answers
18 views

Extract oriented lines from binary image following Canny edge detection in MATLAB [on hold]

I have written a script that finds the angle of the edges detected in a binary image using a canny method. I would like to extract certain angles and not others and fit line segments to these points ...
1
vote
0answers
32 views

How to draw a fitting rectangle inside a irregular image area in python? [duplicate]

I have an image on which I applied segmentation task. Now I want to draw a largest fitting rectangle inside the irregular segmented area, how to acheive the same? My aim is to get coordinates of the ...
0
votes
0answers
11 views

What is the best approach to rescale an image with a non-integer factor?

I'm working on a project for recognition of multiple digits on an image using a neural network trained on the MNIST dataset. The first step is detecting digits on a binary image which is made using ...
-1
votes
0answers
28 views

Is there a name for an algorithm to check whether an image contains a given shape?

Given a bit map defining the shape of some item I want to compute some level of confidence that a pixel map contains the shape. Is there a name for this type of algorithm or perhaps a method in ...
1
vote
1answer
45 views

Image Rotation gives grayscale image

I got a problem with my Rotate image function in C++, Using OpenCV and Qt. It kinda does his job, but not as expected, apart of being in grayscale, a part of the image seems to be duplicated at the ...
1
vote
1answer
29 views

Segmenting wedges from a Binary image with opencv

I have a B/W image, how do I go about identifying the wedges in the input image as shown in the marked image? Input image Wedges marked on image
0
votes
0answers
22 views

PyTorch Model is not Learning

I am trying to write a code for the classification task of dogs and cats using resnet18 pretrained model in PyTorch. Here is my code for training: from torchvision import models model = models....
0
votes
0answers
22 views

A generic error occurred in GDI+ in ASP.NET-Core 2.2

I am trying to create a thumbnail image in asp.net-core 2.2 application but I keep getting the above error whenever it gets to the point of creating the thumbnail. The main image creates and stores ...
0
votes
0answers
45 views

How to move an image from a canvas to another

I'm trying to do a image processing software and for the moment I'm stuck on this. I've open an image in my first canvas, and now I want to take the image and add some filters on it. Contrast, ...
0
votes
0answers
28 views

Multi class SVM classifier with HOG descriptor

I created an SVM classifier with HOG (Histogram oriented Gradient) to detect a specific shape and it's working, I create positive images and negative images to use them in the detectMultiScale ...
-4
votes
0answers
24 views

How can I center the user face from a group of faces in an image using my cordinates (jquery,php or css recommended)

I have x1,x2 and y1,y2 cordinates of the particular user face from a group of faces in an image that i uploaded. how can i center the specified user face in a round shaped div with this cordianates? ...
0
votes
1answer
31 views

How to get image with quality in percentage in node js public/uploads/image

i need save only one original image in my folder but retrieve different different quality vise. For E.g. This image has 5% quality: https://rukminim1.flixcart.com/image/880/1056/jrp8r680/sari/m/k/g/...
-1
votes
0answers
45 views

How can you measure width and height of a lighter in an image in Python

I was inspired by this tutorial in order to measure the width and height of a lighter in an image. I tried to project the original image to different spaces (Grayscale, HSV); I tested also different ...
-2
votes
0answers
33 views

Digit extraction from image

I need to extract the digits from the image and save all the digits in notepad. I tried using tesseract , Deep learning MNIST Dataset and SVHN dataset but not finding any solution There is a digits ...
3
votes
2answers
65 views

Grayscale image algorithm is slower when multithreaded than sequential

For a school project we need to multithread an image processing algorithm. I decided to divide the height of the image by the number of threads. Each thread loops though the height and width and ...
0
votes
1answer
23 views

Difficulty in understanding the function and the function parameters

I am trying to build a program on Minutiae based fingerprint verification and for pre-processing I need to orient the ridges and I found a related function on the internet but could not understand it ...
2
votes
0answers
34 views

Android Camera2 - How to set camera focal length for different mobile model and versions

Is there any option to control android camera focal length programmatically? I need to set common dimensions, physical size, pixel, dpi in android native camera for different mobiles. Is there any ...
0
votes
1answer
72 views

Bokeh custom tool plotting a vertical line profile of an image

I need to plot a profile of an image, which is, to plot values of a matrix column. And to implement it as a drag tool, which would automatically update the lower plot based on cursor position over ...
0
votes
0answers
30 views

OpenCV warpperspective cuts off left and top in video

I have found a homography matrix successfully that finds the difference between frames of a video for stabilization. I am using the warpperspective function to warp each frame, but the top and left ...
0
votes
1answer
11 views

How to get all bitmaps from animated webp using android fresco?

How to get a list of all bitmaps from webp animation using android fresco? The code below is always returns null instead of a bitmap val imageRequest = ImageRequestBuilder ....