Re: Image Types in Matlab
- From: Steve Eddins <Steve.Eddins@xxxxxxxxxxxxx>
- Date: Fri, 26 May 2006 14:11:50 -0400
Michael wrote:
Nina,
I appreciate that you already have MatLab, but you can get around such
silliness with some other IP software.
The "silliness" has been overstated by others in this thread.
Most MATLAB and Image Processing Toolbox routines make no particular assumptions about data ranges. The primary exceptions are the display and the color space conversion routines, which naturally do need to assign some association between matrix values and display color. Even the display functions, though, have syntaxes that allow you to override the default value ranges.
Image Processing Toolbox routines have supported single precision, double precision, and all the common integer types since 2001, and MATLAB arithmetic has supported single precision and the integer types for a couple of years now.
Based on the original poster's description, I saw no need at all for her to scale her data to work with it in MATLAB.
It is true, as noted by Bob, that the toolbox function IMNOISE is an exception - it does enforce a particular range via clipping. I understand his frustration, but this particular function has behaved this way since the product was originally released in 1993, and we have left it alone to avoid introducing compatibility problems.
Steve Eddins
image processing blog - http://blogs.mathworks.com/steve
.
- Follow-Ups:
- Re: Image Types in Matlab
- From: Nina
- Re: Image Types in Matlab
- References:
- Image Types in Matlab
- From: Nina
- Re: Image Types in Matlab
- From: Bob
- Re: Image Types in Matlab
- From: Nina
- Re: Image Types in Matlab
- From: Dave Martindale
- Re: Image Types in Matlab
- From: Michael
- Image Types in Matlab
- Prev by Date: Re: Save pgm image
- Next by Date: Re: Image Types in Matlab
- Previous by thread: Re: Image Types in Matlab
- Next by thread: Re: Image Types in Matlab
- Index(es):
Relevant Pages
|