Re: iradon returns negative values?
- From: "Nasser Abbasi" <nma@xxxxxxxxx>
- Date: Sat, 14 Jun 2008 17:20:06 -0700
"Scott Burnside" <no@xxxxxxxx> wrote in message
news:g31l09$252$1@xxxxxxxxxxxxxxxxxxxxx
"Nasser Abbasi" <nma@xxxxxxxxx> wrote in message <1sY4k.6806
$ZE5.3274@xxxxxxxxxxxxxxxxxxxx>...
Matlab 2007a, Image Processing Toolbox Version 5.4at some angles.
I take a number of projections from an image using radon
All the projection vectors are >=0 in values. OK.angles. The
Then I do iradon using these projections and same set of
resulting image contain negative entries in it.standard double data
The image is a square image constructed by hand with
types from 1 to 128 in range as its gray level.from iradon was
iradon is done with default filtering. The size requested
set to be the same size as the original image.the unfiltered
The call looks something like this
C = iradon(projections,angles,theSize);
Any idea how come iradon could return negative values in
backprojection? I think this is an artifact of the jumpto the FFT domain to
do the backprojection then coming back to spatial domain.But it does not
make sense to have the resulting image contain negativepixel values.
it? May be zero out
Has someone else encountered this? and any thoughts on
the negative values?
thanks,
Nasser
Default filtering is "Ram-Lak":
"Cropped Ram-Lak or ramp filter. This
is the default. The frequency response of this filter is |
f |.
Because this filter is sensitive to noise in the
projections, one of the filters
listed below might be preferable. These filters multiply
the Ram-Lak filter
by a window that deemphasizes high frequencies."
Scott
Thanks. Since I posted this, I did try another filter 'Hann' with 'nearest'
interpolation, but still get some small negative values popup in the
backprojection image. There are too many filters and interpolation setting
to try them all to see which will not give a negative value, and then if one
changes the image again, negative values might show up again for the
different image?
For now, I find all pixles that are negative and set them to zero untill I
learn more about this. I am sure there is a better way to do this.
Nasser
.
- References:
- iradon returns negative values?
- From: Nasser Abbasi
- Re: iradon returns negative values?
- From: Scott Burnside
- iradon returns negative values?
- Prev by Date: Re: Writing our own low level m-file
- Next by Date: Re: Image Invariant Moment
- Previous by thread: Re: iradon returns negative values?
- Index(es):
Relevant Pages
|