contour Questions
1
I drew two contour plots, one by matplotlib and the other by plotly. I want to add more contour lines to the plot. In the case of matplotlib, there was no poblem. But regarding to plotly, I have no...
Uredium asked 31/12, 2020 at 8:29
4
Solved
I'm trying to detect and fine-locate some objects in images from contours. The contours that I get often include some noise (maybe form the background, I don't know). The objects should look simila...
Underclassman asked 5/2, 2016 at 14:51
6
I have data in X, Y, Z format where all are 1D arrays, and Z is the amplitude of the measurement at coordinate (X,Y). I'd like to show this data as a contour or 'imshow' plot where the contours/col...
1
Is there a way to specify the position of the labels on lines of a contour plot - rather than the default or using 'manual' (I have many plots and doing each manually won't help)? I'd like the labe...
4
Solved
I have hundreds of PNG images for which I have to generate corresponding B&W images that show the outer outline of the object. The source PNG image has alpha channel, so the "no object" parts o...
Unreasoning asked 8/9, 2014 at 21:53
3
I'm new to python and Opencv. I'm working on a project to build an app to recognize handwritings in local language. One of the critical part of it to find the order of the words and character...
5
I have a data set as follows (in Python):
import numpy as np
A = np.array([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0, 0.1, 0.2, 0.3, 0.4, 0.2, 0.2, 0.05, 0.1])
B = np.array([0.9, 0.7, 0.5, 0....
Viridissa asked 8/4, 2015 at 10:24
2
I have a 2d map of a coordinate transform. The data at each point is the aximuthal angle in the original coordinate system, which goes from 0 to 360. I'm trying to use pyplot.contour to plot lines ...
Abramson asked 24/4, 2013 at 16:19
3
I have a masked array which is used by matplotlib.plt.contourf to project a temperature contour on a glabal map. I was trying to smooth the contour, but unfortunately none of the proposed solutions...
Beforetime asked 14/6, 2013 at 18:27
7
Solved
I have found the following code on this website:
import os
import os.path
import cv2
import glob
import imutils
CAPTCHA_IMAGE_FOLDER = "generated_captcha_images"
OUTPUT_FOLDER = "extracted_letter_...
4
Solved
As the title indicates I would like to make a contour plot by using three 1D arrays. Let's say that
x = np.array([1,2,3])
and
y = np.array([1,2,3])
and
z = np.array([20,21,45])
To do a co...
Neuroblast asked 27/1, 2017 at 15:32
3
Solved
I am plotting data as described in a previous Stackoverflow question:
gnuplot 2D polar plot with heatmap from 3D dataset - possible?
Mostly it is working well for me, and I am down to some small de...
2
Solved
I am creating contour plots of different subsets of my data using ggplot2 stat_contour_filled function. However, for each it produces different color scales, which makes it hard to compare them. I ...
2
Solved
I am trying to make a contour plot of my 2d data. However, I would like to input the contours manually. I found the "levels" option in seaborn.kde documentation, where I can define the le...
Dessiatine asked 14/10, 2020 at 21:55
1
Solved
I have the following image which has car and empty parking slots capture by drone. I would like detect the empty park space and draw a box as such it look like the expected image.
Here is my code...
Linnell asked 27/8, 2019 at 10:33
4
Solved
I am trying to sort contours based on their arrivals, left-to-right and top-to-bottom just like how you write anything. From, top and left and then whichever comes accordingly.
This is what a...
Kennedy asked 26/8, 2020 at 11:35
2
I have the following code:
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(-np.pi/2, np.pi/2, 30)
y = np.linspace(-np.pi/2, np.pi/2, 30)
x,y = np.meshgrid(x,y)
z = np.sin(x**2+...
Comprise asked 17/8, 2020 at 21:25
2
Solved
I want to visualize polygonal curve(s) extracted with cv2.approxPolyDP(). Here's the image I am using:
My code attempts to isolate the main island and define and plot the contour approximation a...
2
I'm finding the contours for an image with digits and characters, for OCR. So, I need the contours to be sorted left to right, while going line to line, i.e. top to bottom. Right now, the contours ...
3
Solved
I am trying to detect playing cards and transform them to get a bird's eye view of the card using python opencv. My code works fine for simple cases but I didn't stop at the simple cases and want t...
Codeine asked 1/7, 2020 at 14:26
2
Solved
I am working on a personal project where I detect rectangles (all the same dimensions) and then place those rectangles inside a list in the same order (top-bottom) and then process the information ...
Acarpous asked 12/4, 2020 at 2:38
3
Solved
VI have a set of contour points drawn on an image which is stored as a 2D numpy array. The contours are represented by 2 numpy arrays of float values for x and y coordinates each. These coordinates...
Adaminah asked 13/6, 2018 at 23:56
3
Solved
I'm trying to match a slightly irregular shape to a database of shapes. For example, here the contour I'm trying to match:
For more information, this is an outline of an HDMI connector, represen...
Overdye asked 5/4, 2019 at 6:24
1
Solved
I am using opencvs findContour to find the points to describe an image made up of lines (not polygons) as such:
cv::findContours(src, contours, hierarchy, cv::RETR_EXTERNAL, cv::CHAIN_APPROX_SIMPLE...
1
Solved
I'm currently trying to figure out how to detect a text paragraph on an image in order to remove it.
I get an input image, which is similar to the image given above. From there on I want to dete...
Anthropomorphize asked 28/3, 2020 at 1:2
© 2022 - 2024 — McMap. All rights reserved.