Search found 12 matches

by NukerDoggie
2017-07-20T12:14:43-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Re: Pixel Shift Calculation between two very similar images

I did solve this by using a custom C++ pgm and performing a pixel-by-pixel scan of the blended image after sub-dividing it into areas of interest based upon a difference image. I scanned each area of interest bi-directionally, both horizontally and vertically, and accumulated metrics around distance...
by NukerDoggie
2017-07-16T10:41:30-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Re: Pixel Shift Calculation between two very similar images

One prospect for performing the geometric shift analysis I'm interested in:

https://phys.org/news/2017-01-medical-s ... astly.html
by NukerDoggie
2017-07-16T07:41:32-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Re: Pixel Shift Calculation between two very similar images

For calculating the geometric pixel shift, I can do a horizontal scan, and a vertical scan of the image, and count the distances between green and gray pixels. I can average the numbers, or get max variation. That might suit my purposes well enough. I'll need to use a C++ pgm to do that - not a prob...
by NukerDoggie
2017-07-15T11:49:18-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Re: Pixel Shift Calculation between two very similar images

Sorry for the 60-sec delay when you want to download each image above from SaberCatHost - lots of people elsewhere said this was the best free file hosting site...oh well....should have checked it out first.

I hope this doesn't prevent people from taking a look at the images.
by NukerDoggie
2017-07-14T15:35:59-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Re: Pixel Shift Calculation between two very similar images

Hi Fred, I am using ImageMagick-6.9.3-Q8 on Windows 7. Here is the blended image: https://sabercathost.com/4X6e/frame0_blend.png Here is the baseline image: https://sabercathost.com/4X6f/frame0_green_1st.png Here is the 2nd image: https://sabercathost.com/4X6g/frame0_canny_2nd.png In the blended ima...
by NukerDoggie
2017-07-14T10:46:01-07:00
Forum: Digital Image Processing
Topic: Pixel Shift Calculation between two very similar images
Replies: 10
Views: 35520

Pixel Shift Calculation between two very similar images

I have two screen shot images (PNGs) and I want to calculate the max pixel geometric shift between the objects in the images. Both images are identical size and color depth. Some "objects" in the 2nd screen shot are shifted geometrically as compared to the 1st screen shot. I have used IM t...
by NukerDoggie
2015-04-05T14:18:34-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Re: Set and Get RGB values for a specific pixel in an image

It worked! Thx so much, and sorry for my newbie mistake!
by NukerDoggie
2015-04-05T13:34:16-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Re: Set and Get RGB values for a specific pixel in an image

I used Gimp to create a PNG image that is all white, 240 px. by 320 px., named "white-background.png". I set the image mode to the RGB color space before I exported it to a PNG image. When I right-click on the image in Windows Explorer and check properties, it says "Bit depth 24"...
by NukerDoggie
2015-04-05T08:37:30-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Re: Set and Get RGB values for a specific pixel in an image

Many thanks snibgo - very helpful - I'll study your pages carefully!
by NukerDoggie
2015-04-05T07:36:20-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Re: Set and Get RGB values for a specific pixel in an image

Thanks snibgo! This helps a lot. One last request, please - how would I define a region, say a vertical line of pixels starting at origin (x=0,y=0) and ending at x=1, y=240, thus encompassing 240 pixels all at once, and set all their RGB color values to something specific, like "#5500AC" ?...
by NukerDoggie
2015-04-04T21:17:56-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Re: Set and Get RGB values for a specific pixel in an image

Thanks for the quick reply, Fred!

Yes, if there is a variation in the commands for Windows, I'd love to have someone post those.

Also - how would I read the current RGB values for a specific pixel so as to know what they are before I set them to something else?
by NukerDoggie
2015-04-04T19:18:24-07:00
Forum: Users
Topic: Set and Get RGB values for a specific pixel in an image
Replies: 9
Views: 11299

Set and Get RGB values for a specific pixel in an image

I am new to IM - from the command line , under Windows 7, how would I set the RGB values for a specific pixel? How would I read the RGB values for a specific pixel? How do you specify a specific pixel's location for the above operations, if you know the dimensions (in pixels) of the image? I want to...