Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to measure an inclined beam width and height in image using python?
Post: How to measure an inclined beam width and height i...

Hello guys, Now I have a beam greyscale image, the beam is not straight but inclined. If the beam is straight, I can calculate the sum of all rows and column's pixel greyscale value, then choose th...
zyb1003 General Coding Help 1 3,246 Nov-06-2017, 07:35 PM
    Thread: show grayscale image using matplotlib
Post: show grayscale image using matplotlib

Hello guys, Now I used PIL to convert my image from RGB to Grayscale, and then I use the matplotlib to show the coordinate value and greyscale value of every pixel on image. The problem is the imag...
zyb1003 General Coding Help 1 16,533 Oct-31-2017, 08:19 PM
    Thread: grayscale image processing
Post: RE: grayscale image processing

(Oct-25-2017, 06:25 AM)heiner55 Wrote: from PIL import Image img  = Image.open('grey.jpg') width, height = img.size for x in range(width):     for y in range(height):         pixel = img.getpixel(...
zyb1003 Data Science 10 7,975 Oct-25-2017, 07:07 PM
    Thread: grayscale image processing
Post: RE: grayscale image processing

(Oct-24-2017, 09:19 PM)Mekire Wrote: We'll need to see what code you have so far.  As long as you can access the images as arrays it shouldn't be too hard.  Not sure if PIL uses numpy or not but if ...
zyb1003 Data Science 10 7,975 Oct-24-2017, 09:40 PM
    Thread: grayscale image processing
Post: RE: grayscale image processing

(Oct-24-2017, 07:43 PM)Larz60+ Wrote: You can do a lot with pillow, see: https://auth0.com/blog/image-processing-...th-pillow/ but I don't believe there is any code there for image processing for t...
zyb1003 Data Science 10 7,975 Oct-24-2017, 09:04 PM
    Thread: grayscale image processing
Post: grayscale image processing

Hello guys, I am rookie to python, and have trouble in image processing. Now I have an image showing a beam spot, only the beam spot is white and the rest part is black. The beam shape is oval. I ...
zyb1003 Data Science 10 7,975 Oct-24-2017, 07:34 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020