Category "image-processing"

How to detect this kind of artifacts/noises in my image?

I've been processing some image frames in videos and I discovered that sometimes one or two frames of the video will have artifacts or noise like the images bel

Check if an image contains blue pixels

I have this image: And I'm trying to write a function in Python that will return True if the image contains blue pixels, or False otherwise. That image is ju

Difference between absdiff and normal subtraction in OpenCV

I am currently planning on training a binary image classification model. The images I want to train on are the difference between two original pictures. In ot

Opencv : How to remove rectangle black box without removing any other characters

I would like to remove a rectangle black box from the below image. I do some preprocessing operation to keep the upper top of the image only. My problem with

OpenCV detect towel margins

What would be the best method (using python and OpenCV) of finding the lowest corner ( not edge ) of towel in this images? Also, the towel color can be differen

Is there any Difference of Gaussians function in Matlab?

I am new to Image Processing, and in my experiment I am having difficulty with Difference of Gaussians. Various implementation were given to me but I don't unde

Count lines in image

I am planning to use Opencv on Raspberry pi 3 with camera to count lines in the following image It will be used in machine which produce threads. If one (or m

Image Search using Image Similarity Measures

I am working on a project which is image searching engine. The logic behind is that there will be some images stored in a database and the user will input a new

Is it possible to turn a png into a layered PSD file?

I have a PNG image that I would like to turn into a layered PSD image. The image itself is mostly white space with several areas of text. I tried to convert t

Pixel interpolation(binning?)

I am trying to write up a pixel interpolation(binning?) algorithm (I want to, for example, take four pixels and take their average and produce that average as a

ImportError('Could not import PIL.Image. ' working with keras-ternsorflow

I'm following some lectures from lynda.com about deep learning using Keras-TensorFlow in a PyCharmCE enviroment and they didn't have this problem. I get this er

Write PNG file with less disk size in Java

I have a BufferedImage: BufferedImage bi = new BufferedImage(14400, 14400, BufferedImage.TYPE_INT_ARGB); I have saved this image to a PNG file using the fol

Armadillo porting imagesc to save image bitmap from matrix

I have this matlab code to display image object after do super spectrogram (stft, couple plca...) t = z2 *stft_options.hop/stft_options.sr; f = stft_options.

Automatically cropping an image with python/PIL

Can anyone help me figure out what's happening in my image auto-cropping script? I have a png image with a large transparent area/space. I would like to be abl

Determine if a point is inside or outside of a shape with opencv

I have images with white background and simple shapes in them (each image has one shape). I want to determine if a certain point (x,y) is inside the shape or no

Resize image to maintain aspect ratio in Python, OpenCv

I'd like to get a 1000 x 1000 picture in Python from any input picture so that the input doesn't lose it's aspect ratio. In other words, I want to resize the in

Python: Image resizing: keep proportion - add white background

I would like to create a Python script to resize images, but not changing its proportions, just by adding a white background (So, a : 500*700 px image would t

Reverse Image search (for image duplicates) on local computer

I have a bunch of poor quality photos that I extracted from a pdf. Somebody I know has the good quality photo's somewhere on her computer(Mac), but it's my unde

Python OpenCV Contour Tree Hierarchy Structure

I am trying to implement the algorithm found here in python with OpenCV. I am trying to implement the part of the algorithm that remove irrelevant edge boundari

using histogram to determine colored object presence?

I'm trying to determine if portion of the picture contains red-white striped object (liftramp). If it is present, it looks like this: , and when not like this: