Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

image-processing

Peak detection in a 2D array

August 20, 2022 by Magenaut

I’m helping a veterinary clinic measuring pressure under a dogs paw. I use Python for my data analysis and now I’m stuck trying to divide the paws into (anatomical) subregions.

Categories Python, Q&A Tags image-processing, python Leave a comment

Using strides for an efficient moving average filter

August 20, 2022 by Magenaut

I recently learned about strides in the answer to this post, and was wondering how I could use them to compute a moving average filter more efficiently than what I proposed in this post (using convolution filters).

Categories Python, Q&A Tags filter, image-processing, numpy, python Leave a comment

How can I quantify difference between two images?

August 19, 2022 by Magenaut

Here’s what I would like to do:

Categories Python, Q&A Tags background-subtraction, image-comparison, image-processing, python, timelapse Leave a comment

How to merge a transparent png image with another image using PIL

August 19, 2022 by Magenaut

I have a transparent png image “foo.png”
and I’ve opened another image with

Categories Python, Q&A Tags image, image-processing, python, python-imaging-library Leave a comment

Python OpenCV Color Tracking

August 19, 2022 by Magenaut

Below is my python code for tracking white color objects. It works – but only for a few seconds and then the whole screen turns black and in some times it not work. I experimented with blue color and it works – but white and green are giving me problems:

Categories Python, Q&A Tags colors, image, image-processing, opencv, python Leave a comment

Convert image from PIL to openCV format

August 17, 2022 by Magenaut

I’m trying to convert image from PIL to OpenCV format. I’m using OpenCV 2.4.3.
here is what I’ve attempted till now.

Categories Python, Q&A Tags image-processing, opencv, python, python-imaging-library Leave a comment

Matplotlib: How to plot images instead of points?

August 17, 2022 by Magenaut

I want to read a list of images into Python/Matplotlib and then plot this images instead of other markers (like points) in a graph. I have tried with imshow but I didn’t succeed, because I cannot shift the image to another position and scale it appropriately. Maybe somebody has a good idea : )
It should look somehow like this! (Without the Spongebob, but with very serious data of course!)

Categories Python, Q&A Tags image-processing, matplotlib, python Leave a comment

Implement MATLAB’s im2col ‘sliding’ in Python

August 17, 2022 by Magenaut

Q: How to speed this up?

Categories Python, Q&A Tags image-processing, numpy, performance, python, python-2.7 Leave a comment

Convolve2d just by using Numpy

August 17, 2022 by Magenaut

I am studying image-processing using Numpy and facing a problem with filtering with convolution.

Categories Python, Q&A Tags convolution, image-processing, matrix, numpy, python Leave a comment

OpenCV – Apply mask to a color image

August 16, 2022 by Magenaut

How can I apply mask to a color image in latest python binding (cv2)? In previous python binding the simplest way was to use cv.Copy e.g.

Categories Python, Q&A Tags image-processing, mask, opencv, python Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress