Skip to main content

applying the javax.media.jai.DataBufferDouble for DFT

6 replies [Last post]
rimartin7
Offline
Joined: 2005-05-09

I'm applying the DFTDescriptor and learning how to give it a RenderedImage where the data is based on the DataBufferDouble. Having difficulty in finding a SampleModel and ColorModel that works with the DataBufferDouble object in building a BufferedImage which implements RenderedImage. Is there a different RenderedImage implementation? Where do I start looking?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

That's how we built the javadoc as only 1.3 is required. Perhaps that should
be upgraded now.

Brian

On Thu, 26 May 2005 jai-interest@javadesktop.org wrote:

> Thanks. I clicked on the RenderedImage of DFTDescriptor.create and the framed html jumped to the 1.3 version of RenderedImage but I didn't see 1.3 till I looked now. I'll be more careful.
>
> JAI is a powerful API!
> ---
> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=85020&#85020
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>

----------------
Brian Burkhalter
Advanced Development, Graphics and Media
Software Chief Technology Office
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Brian Burkhalter

On Thu, 26 May 2005 jai-interest@javadesktop.org wrote:

> Perhaps I need to implement a RenderedImage, ColorModel and extend a SampleModel, WritableRaster. If done right the DFT should work with them no problem right?:-)

>From J2SE 1.4 onward you should be able to use a ComponentSampleModel of type
double and a ComponentColorModel of type Grayscale.

> BTW, why is there so much spam on the java.net forums?

I don't think there is on the java.net mailing list but perhaps on the
javadektop forums.

> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=85005&#85005

Brian

----------------
Brian Burkhalter
Advanced Development, Graphics and Media
Software Chief Technology Office
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net

rimartin7
Offline
Joined: 2005-05-09

Perhaps I need to implement a RenderedImage, ColorModel and extend a SampleModel, WritableRaster. If done right the DFT should work with them no problem right?:-)

BTW, why is there so much spam on the java.net forums?

Brian Burkhalter

On Thu, 26 May 2005 jai-interest@javadesktop.org wrote:

> Perhaps I need to implement a RenderedImage, ColorModel and extend a SampleModel, WritableRaster. If done right the DFT should work with them no problem right?:-)

>From J2SE 1.4 onward you should be able to use a ComponentSampleModel of type
double and a ComponentColorModel of type Grayscale.

> BTW, why is there so much spam on the java.net forums?

I don't think there is on the java.net mailing list but perhaps on the
javadektop forums.

> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=85005&#85005

Brian

----------------
Brian Burkhalter
Advanced Development, Graphics and Media
Software Chief Technology Office
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

rimartin7
Offline
Joined: 2005-05-09

Thanks. I clicked on the RenderedImage of DFTDescriptor.create and the framed html jumped to the 1.3 version of RenderedImage but I didn't see 1.3 till I looked now. I'll be more careful.

JAI is a powerful API!

Brian Burkhalter

That's how we built the javadoc as only 1.3 is required. Perhaps that should
be upgraded now.

Brian

On Thu, 26 May 2005 jai-interest@javadesktop.org wrote:

> Thanks. I clicked on the RenderedImage of DFTDescriptor.create and the framed html jumped to the 1.3 version of RenderedImage but I didn't see 1.3 till I looked now. I'll be more careful.
>
> JAI is a powerful API!
> ---
> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=85020&#85020
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>

----------------
Brian Burkhalter
Advanced Development, Graphics and Media
Software Chief Technology Office
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net