ImagePro>Re: median filter and floating point images


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Re: median filter and floating point images



On Monday 07 July 2003 05:50 pm, Martin, Jean-Paul wrote:
> My un-educated guess is that somewhere in the process of filtering a
> floating point image, some of the filters used in IPP don't support the
> floating point format, forcing IPP to convert the data to 8-bit by default.
> The data is filtered and then it's converted back to floating point.
>
> If that's the case, I suggest doing all the pre-filtering in 12 bit or 16
> bit format and convert to float when you start doing the arithmetical
> stuff.
>
 I was afraid this was the case. Perhaps it would not be too hard to make the 
internal conversion be by default to 16 bits. In some cases, it is awkward to 
work with 12 or 16 bit formats when the highest value is 1023. I can scale 
the images with no loss, but since I have to take ratios, it is easier to 
convert to floating point and work in that format. 

Perhaps it woudl not be too difficult to change the default internal 
conversions to 16 bit.

One other thing that affects floating point images. The binary logical 
functions (AND, OR, etc) are not able to work with floating point format.
This is no surprise -- a bitwise comparison would make no sense. However, it 
would be nice if there were a "logical" or "binary" file type that could be 
used for conveniently running masks on floating point images. Presently, I 
use the "MIN" function against my mask, and I also MAX against 0 to eliminate 
negative values. But this means that I have to make sure that my mask has 
values greater than anything in the floating point image, and this is not 
always assured.

--aryeh



***********************************************************
This message was sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
TO UNSUBSCRIBE, send an email to: <imagepro-users-off@lists.mediacy.com>
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to  <imagepro-users-request@lists.mediacy.com>
To SUBSCRIBE or UNSUBSCRIBE visit http://www.mediacy.com/tech/subscriber.htm
***********************************************************
This list is a forum for sharing applications, advice, and tips involving Media Cybernetics' products. It is not meant to be used as a vehicle for techncial support or for sales of third party products or services.
***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************



Search this Archive