Hi brian, maybe you can help me out.. I implemented a method to avoid the bug during conversion to grayscale in the cmm.dll by a BandCombinedOp on a Raster / WritableRaster. Now i want to convolve this grayscale image, but it crashes with an exception in the awt.dll as described in bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4893590 . This bug seems to occur only on his machine (description below) but it still means i have to implement a convolve op myself. Is there anyone working on this bug, or any open source Convolve Op that is working? I know im lazy but implementing this would take me bout 2 weeks that i dont have :-)
Error description: # Java VM: Java HotSpot(TM) Server VM (1.4.2_10-b03 mixed mode) # Problematic frame: # C [awt.dll+0x59605] on machine: OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 2095188k(840892k free), swap 3510228k(2572284k free) vm_info: Java HotSpot(TM) Server VM (1.4.2_10-b03) for windows-x86, built on Oct 10 2005 14:35:06 by "java_re" with MS VC++ 6.0 regards Thomas -----Ursprungliche Nachricht----- Von: Discussion list for Java 2D API [mailto:[EMAIL PROTECTED] Auftrag von Brian Burkhalter Gesendet: Dienstag, 17. Januar 2006 23:13 An: [EMAIL PROTECTED] Betreff: Re: [JAVA2D] Exception in cmm.dll Thomas, An alternative procedure would be to use this formula Y = 0.299R + 0.587G + 0.114B with the BandCombineOp http://java.sun.com/j2se/1.5.0/docs/api/java/awt/image/BandCombineOp.html to generate the grayscale data as the luminance component of the RGB samples. This avoids using ColorConvertOp altogether. Brian On Mon, 16 Jan 2006, Thomas Weber wrote: > Hi again, > > I already posted out two weeks ago about a crash of the whole VM while im > converting color JPEGs into grayscale. Now i tried it again on only one > camera and it worked out fine, but right at the moment i turn on the second > cam it crashes and keeps crashing every 20 to 30 minutes. So the > simultaneous processing of several images is the reason for the crashes, but > why? > How can i convert up to ten or more images at the same time? > > thanks in advance > > Thomas ---------------- Brian Burkhalter Java Media, Imaging, and Graphics 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, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
