Probe Software Users Forum

Software => CalcImage => Topic started by: Ben Buse on May 18, 2015, 01:58:06 AM

Title: Pixel intensity rounding
Post by: Ben Buse on May 18, 2015, 01:58:06 AM
Hi,

I have a puzzle and was wondering if anyone can shed any light on it. Why in calcimage or surfer when I load a grid or prbimage map file are all the numbers integers whereas when I load the map as a image map in surfer each pixcel has decimals.

My question is which is the real number, when does rounding occur?

The x-ray intensities are collected as integers and then converted into cps - so in some cases this would create decimals e.g. 0.3 millisec dwell but if its 0.1 millisec dwell as in the case I was loooking at how do you get decimals

Thanks

Ben
Title: Re: Pixel intensity rounding
Post by: Probeman on May 18, 2015, 09:24:06 AM
Quote from: Ben Buse on May 18, 2015, 01:58:06 AM
Hi,

I have a puzzle and was wondering if anyone can shed any light on it. Why in calcimage or surfer when I load a grid or prbimage map file are all the numbers integers whereas when I load the map as a image map in surfer each pixcel has decimals.

My question is which is the real number, when does rounding occur?

The x-ray intensities are collected as integers and then converted into cps - so in some cases this would create decimals e.g. 0.3 millisec dwell but if its 0.1 millisec dwell as in the case I was loooking at how do you get decimals

Thanks

Ben

Hi Ben,
Yes, I see it too.   Not sure why.  If I check the Interpolate Pixels checkbox, the image becomes a little more smoothed as expected, but I don't know why there are decimals displayed when the checkbox is unchecked.

Good question for Golden Software I think.  Their forum is here:

http://www.goldensoftware.com/forum/

Please let us know what you find out.
john
Title: Re: Pixel intensity rounding
Post by: Ben Buse on May 28, 2015, 01:19:31 AM
Hi,

Reply to post on surfer forum explains it.

http://www.goldensoftware.com/forum/viewtopic.php?f=1&t=27119&p=47890#p47890

As I currently understand it with interpolate pixcel turned off the color of each pixcel correspondes to the value. But the z value read at the bottom of the screen or plotted on a line profile uses the underlying contouring applied automaticaly to all grid images. This is seen when you create a simply grid

(https://dl.dropboxusercontent.com/u/34045548/grid2.jpg)

Ben