Slashdot Mirror


jpeg2000 Allows 200:1 Wavelet Compression

Polo writes "Here is an EE times article about the ISO JPEG2000 standard that has been finalized and allows a new wavelet compression scheme that gives good results at as much as 200:1 compression ratios. It looks pretty promising. It is royalty-free, but there is also discussion about a second standard that allows third-party, royalty-based extensions. I wonder if motion-jpeg with wavelets could fit a movie on a CD or something."

241 comments

  1. I was thinking about this too... by Anonymous Coward · · Score: 0

    Imagine a DVD-ROM with a truly open navigation system, and mjpeg2000. More video, progressive scan option, and maybe even better quality. :)

    The CD-ROM subset would still hold about 30 minutes with at 640x480 with mp2 audio, i bet... and a whole movie at 320x240 (VCD res)

    - Chad

    1. Re:I was thinking about this too... by Anonymous Coward · · Score: 0

      Today i can encode 720x320 video from a dvd source of course to the MS format ASF using the codec MPEG4 ( its a pitty apple doesnt use mpeg4 or that mpeg4 isnt available by itself ). Now for a 90 min movie the quality is awsome at 900kbit data rate.

      MJPEG2k would look better since each frame at 200:1 would be 3400 bytes in length which means that a 90 min film would be 447897600 bytes long, that can fit nicely on a CD with 192kbs mp3 audio track aswell.

      DVD is old and outdated, look out, technology will being better than DVD quality eventualy on 650meg CDs.

      That means that format can be used on DVD to make HD-DVD on normal DVD discs. One side HDDVD, other side, normal DVD.

    2. Re:I was thinking about this too... by inkey+string · · Score: 1

      minor nitpick, but vcd resolution is 352x240 for NTSC systems, and 352x288 for PAL ones. One can capture tv at 320x240, but that is not native VCD resolution.

  2. They're just not getting it... by Anonymous Coward · · Score: 0

    ...hello, mcfly...

    Royalty based, propriatry and encryption based codecs see the least deployment and industry acceptance.

    ...hello, anybody home?

    Who's funding these idiots anyway?
    Oh, that's right... people who pay taxes and joe blow consumer...

    That explains everything...

    1. Re:They're just not getting it... by pen · · Score: 1
      Well, someone didn't read the article...

      JPEG2000 part one will be the plain-vanilla royalty-free version, but part two can include various types of third-party extensions that may or may not involve royalties. "Part one will satisfy 90 percent of the applications developers, but it will be 90 percent more work to engineer that last 10 percent of the job for special purposes in part two," said Barthel.

      Most of the spec is open!

      --

  3. Re:3MByte Original? Where? by Anonymous Coward · · Score: 0

    I think you misunderstood. Its not really your fault, they should have been more clear. The three pictures on the page are one GIF. They represent, however, what they are labled. The top of the GIF image is converted from the 3MB original. The middle of the GIF is converted from the 19kB JPEG2000. The bottom of the GIF is converted from the 19kB JPEG. They show the relative resolutions achieved by said compressions.

    This was done for a number of reasons such as JPEG2000 not supported by web browsers yet, the limited bandwith most users have, and the universal support of GIF images in graphical web browsers.

  4. Re:Well. by Anonymous Coward · · Score: 0

    DVD is MPEG2, but also allows for MPEG1 video. The audio can be uncompressed PCM, MPEG layer 3 for Europe, or AC3 5.1 for America.

  5. Re:OK, NSVD-ROM format proposal by Anonymous Coward · · Score: 0

    For video, have an iso9660 file system with a directory "open_video" off the root directory. In that directory, one would have a "video.ifo" which would have a machine readable description of what scenes, alternate camera angles, and audio tracks, are available in the "video.vob" file. Also, the "video.ifo" could have Java applets (or merely point to them) which could be used for such things as user menu logic, interactive video, internet enabled disks, etc.

  6. Patents by Anonymous Coward · · Score: 0
    I wouldn't worry too much about the patent issue.

    I must plea ignorance about the details of wavelet compression, but if it's anything like the Fourier transform or any other integral transform, then it should be rather easy to implement...I don't see how a company can patent an integral.

    Besides, the bottom of the article says that companies have already agreed to make all parts of JPEG2000 part 1 royalty-free.

    The planned additions for JPEG2000 part 2 do sound exciting (motion, text, etc.), but the article made it sound like the only drawback to part 1 was that it required more work to do the stuff that is capable with part 2.

    Give a group a hackers a few weeks, and I'll betcha that there will be free implementations of everything available with part 2.

    The sad thing is that this isn't going to be released for another YEAR. It's available now, but it's probably not useful for anything more than storage of images locally...certainly no browsers support the format currently.

    1. Re:Patents by spot · · Score: 1
      I wouldn't worry too much about the patent issue. I must plea ignorance about the details of wavelet compression, but if it's anything like the Fourier transform or any other integral transform, then it should be rather easy to implement...I don't see how a company can patent an integral.
      the problem is that apparently the current j2k proposal does require patents to implement. the fact that wavelets are indeed mathematical no longer appears to matter to the patent office with their more-is-better attitude.
      Besides, the bottom of the article says that companies have already agreed to make all parts of JPEG2000 part 1 royalty-free.
      for what duration and with what conditions, and what developers? i am not reassured.
      Give a group a hackers a few weeks, and I'll betcha that there will be free implementations of everything available with part 2.
      maybe so, but that doesn't really solve the problem because you would not be able to distribute the resulting software legally, so a company like redhat/netscape would not be able to incorporate it into their products. sure it could float on the fringe, but it's gotta be standard!

      information is free.
      the only question is:

  7. The demo picture is pure desinformation by Anonymous Coward · · Score: 0
    • They give a GIF (256 colors dithered) "original" picture. The size of the 3 pictures, GIF compressed is 161712 octets. Where are coming the 3 MB from???
    • JPEG compression does not give the kind of results they present in the third picture. This the result of a very poor color reduction.
    • I took the 3 pictures, compressed them as a 19 KB old JPEG, and the resulting picture is still quite good. Look at http://www.infomaniak.ch/%7Emongenet/bordel/1094pg 14_jpeg2k.jpeg
    1. Re:The demo picture is pure desinformation by Bouglou · · Score: 1

      hey... it seems obvious that the picture you are talking about is a REDUCTION (downscaled) of the one they are talking about.
      A 3M picture has a size around 1000x1000, much bigger than the one you downloaded.

      --
      Fetchez la vache !
  8. Re:Oh the irony :) by Anonymous Coward · · Score: 0

    Netscape only displays PNGs if using an embeded tag which is completely ass backwards to all other browsers which support PNG along the same lines as GIF and JPEG with an img tag. As well as having a completely shitty and broken implementation of PNG support, typical Netscape err iPlanet.

  9. But does Jpeg2000 squash dirty pics good? by Anonymous Coward · · Score: 0

    World-wide wankers will want to know. We need some hard data based on recompression of existing jpg databases like http://www.heartbreaker.com/heart/home.html and on uncompressed source material. If the ratio of decompress to download time is good, the transition will be rapid.

  10. Why bother with a movie on CD? DVD works great now by Anonymous Coward · · Score: 0

    First of all, I doubt it could be done. Second of all, if it could be it's not worth the effort. JPEG is for still images, compression of motion video is much different than compression of a single frame.

    Lets say for the sake of argument you use a JPEG/MPEG hybrid format. Ops, we forgot one major thing didn't we? The sound track. Even in Mp3 it's going to take up a pretty big hunk of the disk. Plus, the CPU overhead of our JPEG/MPEG hybrid would probably not leave much extra CPU time for decompression of a stereo mp3 track (much less a Dolby 5.1 track)

  11. Quicktime wrapper... by Anonymous Coward · · Score: 0

    Well as long as someone else than Apple takes care of the player, because Quicktime 4 is EVIL. I don't think any other media player ships half of the operating system with it and runs like a slug... :( Crashes like a mother too (at least the Windows version does). Quicktime 3 was pretty much the same way...

  12. DVD to costly to pirate (at least for now) by Anonymous Coward · · Score: 0

    Where are you going to get 5gb of storage for well under $25.00 (the cost of most DVD discs?) Unless you can do this for around $10.00 then people are not going to pirate DVD discs because the storage space costs as much if not more than a real DVD... (and they are cool and small). Sure you could put it on 8 CD-R discs but this is a pain in the ass. So lets say we get a neat video format on CD for 8 bucks a pop... these will get prirated for sure becuase CD-R blanks are dirt cheap... Leave DVD alone... it a good standard for everyone and I think it's priced well.

    1. Re:DVD to costly to pirate (at least for now) by Anonymous Coward · · Score: 0

      Where are you going to get 5gb of storage for well under $25.00 (the cost of most DVD discs?) In a DVD pressing plant, of course. Pirate DVDs are collapsing in price right now. Any movie you want for US$5 a pop, often on the day of commercial release. A pirating technique that costs more than that is clearly not viable, and the pressing plants do it without any decryption.

  13. Re:Crazy Idea by Anonymous Coward · · Score: 0

    This idea has been around for a while, the only problem is getting people to agree on things like "which textures should we use for stucco?". You'd have to get a photographer to do this as a work for hire, have him/her assign the rights to the standards comittee after receiving payment.

    Or better yet, imagine a husband and wife arguing over carpet swatches. Now magnify that times thousands and thousands of images, thrown in a comittee, corporate and national interests (do we really need an Islamic prayer rug texture in the standard, that kind of thing). Mix it all together and let is stew for 10 years. It just won't happen.

    Now, on the other hand, if AOL did something like this, and allowed non-AOL users to install a plugin that used the images it would probably work. At least then the AOL disk would be good for something other than frisbee golf.

    --Steve
    comments@vrml3d.com
  14. Has anyone started to add JPEG2000 to any GPL by Anonymous Coward · · Score: 0

    Has anyone started to add JPEG2000 to any GPL Library or tool ? Let Linux be the first platform to fully support this.

  15. Re:A few issues by Anonymous Coward · · Score: 0

    Basic principal - if noise will compress losslessly it isn't white. This is actually a way of defining white noise - read Shannon.

  16. Re:FYI, GPL'ed wavelet code by Anonymous Coward · · Score: 0

    Why dont you make yourself fameous and add it to imlib or another Linux (Unix) image library. We could then all be using this new technique soon.

  17. Jpeg2000 vs. Jpeg-ls by Anonymous Coward · · Score: 0
    In real world examples jpeg-ls is better in lossless mode. Good guestion is then, that why we have lossless mode in jpeg2000, well reason might be that Jpeg2000 is not only higgly efficient image compression mehtod, but it tries to inlcude all needs to one package.

    It has for example, Lossy, lossless, no compr modes for image data.

    Also alpha channel is implemented as color component model. i.e. you could hava any number of color components (here I could be wrong, I read that part of the specs pretty fast).

    By the way, reason why specs are not there in the open is that, there might be some changes still, so those jpeg people do not want any incompatible jpeg implementations hanging around.

    ---

    About Jpeg-ls somebody should write gimp plugin to use that method. Jpeg-ls even has reference library, so it could be no brainer.

  18. Re:DWT super slow, NOT! by Anonymous Coward · · Score: 0
    The MPEG-2 audio layer 3 uses a polyphase filter to do subband decomposition into 32 subbands. Then it does a MDCT (multiply with window function then DCT) on those subbands and then uses a psychoacoustic model to quantize and huffman-code the transformed subbands. The MDCT's overlap to get rid of edge discontinuities (in image compression these are called blocking artifacts) and aliasing. Actually a wavelet coder could be a lot more efficient than a DCT coder, because of the lower algorithmic complexity

    Interesting, I wonder why MPEG-2 audio layer 3 does not use QM-CODER to code transformed subbands? As arithmetic coder is always more optimal. (I know about the patent problem)

    Fortunately somebody said, that MQ-CODER in JPEG2000, which is modified QM-CODER, does not have patent problems.

    Anyway about to use DWT to motion based data. I wonder why, MPEG-4 and MPEG-7 still use DCT??? (that information might be incorrect, cause I definitely am no MPEG expert).

  19. Re:WAVELET VIDEO COMPRESSION is FAST (NeXT's NeXTT by Anonymous Coward · · Score: 0

    Nice GPL image compressor is GWIC http://www.jole.fi/research/gwic/

  20. Re: hes a looser/fraud by Anonymous Coward · · Score: 0

    If the guy was real we would see the results.

    Hes a fraud, or maybe the DVd consortium paid him $20m to shutdown the project.

    Any way, .AU isnt large so it shouldnt be hard to track him down, I think I might try a few leads and see.

    But think about it, how can a 22yo be a genius not only in video compression, but also audio. You gota be joking its like having a #1 gitarist Jimmy Hendricks also being gifted in Einstein maths thoery

  21. Re:Why bother with a movie on CD? DVD works great by Anonymous Coward · · Score: 0

    Dolby Prologic is stereo which is just 3% cpu time for mp3. Also MJPEG is quite good today and is great for editing frame/frame, go to jpg.com and get a free encoder for windows that can record in realtime from capture card using less than 12% cpu on a P400.

  22. ... /usr/lib/libjpeg2k.so.1 NOW! by Anonymous Coward · · Score: 0

    Give the coder who writes it a BEANIE PRIZE!!

  23. this means by Anonymous Coward · · Score: 0

    640x480/24bit => 4608 1h30min movie 25fps 640x480/24bit => 622'080'000 = about 1 CD Very nice indeed.

  24. mp3 still uses FFT by Anonymous Coward · · Score: 0

    Could you use wavlets to compress audio? Could you stick an entire CD on one floppy disk? Would there be some problem with an mp4 based on wavelets?

  25. Re:Wavelet transforms super slow by Anonymous Coward · · Score: 0

    Wavelet transforms are highly asymmetric, by which I mean they compress slowly but decompress fast. The decompress speed beats the current JPEG, but compression can be desparately slow, especially if you want optimal results. This is the stated reason MPEG2 didn't go the fractal/wavelet route, though lots of IP and political issues played their part. A mini-DV cam-corder would be impractical with current technology if it used wavelet compression. For studio broadcast TV, where only one compressor is needed for every 100K decoders and size is irrelevant, wavelet compression looks very sane. The MPEG guys wanted a coder for all seasons, though.

  26. ASF Format? by Anonymous Coward · · Score: 0

    What is it and how do you play it? Any *nix ASF players?

    1. Re:ASF Format? by Anonymous Coward · · Score: 0

      ASF - Active Streaming Format for Microsoft ActiveMovie and Microsoft Media Player

    2. Re:ASF Format? by harmonica · · Score: 2

      There is only a Windows player available, but the nice codec written for low bitrates is basically nothing but MPEG-4, which is a standard. So, a player could be created - see http://www.microsoft.com/asf/aboutASF.htm .

  27. Re:java decompression demo by Anonymous Coward · · Score: 0

    The look the same to me. From this demo: http://ltswww.epfl.ch/~neximage/decoder/applets/Bi ke-d-c_0.5.html But the j2k file can be downloaded here: http://ltswww.epfl.ch/~neximage/decoder/applets/bi ke-d-c_1_vm31b.j2k The file size of the j2k is 31.9 KB

  28. Free open standard by Anonymous Coward · · Score: 0

    If it is, then thats another good reason why it will win out.

  29. Re:a (pseudo-)expert's view by Anonymous Coward · · Score: 0

    I'm the director and house geek for the Thomas A. Edison Papers, working to put a few hundred thousand of his documents on line (reduced from the original 200dpi 8bit grey scans). They are handwritten or printed and range from blueprints to agate-type newsprint (very small). As someone who has searched mightily for a *practical* compression scheme, I am very excited about JPEG2000. HP has a demo application for playing with images using the spec (can't find the URL), and I like the results. I've looked at PNG, AT&T's DjVu (which is wonderful for particular sorts of images, but not ours), and a small heap of less successful schemes, but we're still using standard JPEG because--surprise--the compression is best, even with the stupid halo it throws around sharp edges. For the small-type articles, the printed court records, or those drawings where Edison went into micro mode, we have to use a lesser spatial reduction as well as a lighter JPEG compression. The new standard will be a whole lot clearer for the kind of sharp-edged images we have. A big Yes from this quarter.

  30. Yo Ho Ho and a Bottle of Rum! by Anonymous Coward · · Score: 0

    I wonder if motion-jpeg with wavelets could fit a movie on a CD or something.

    Am I the only one who thought "umm, the DVD people were probably right." If this compression allows a whole movie to be converted and compressed to fit on a single CD with current (hardware) technology... then they are probably right to hammer anyone breaking their protection scheme into the dust.

    Not that this comment would be interpreted as anything but flamebait on 'ye olde pirate shippe Slashdot'

  31. Mr Sid? by Anonymous Coward · · Score: 0


    How does JPEG2000 compare to Mr SID?????

    Contemplating getting a Mr SID license, but hey if this is free, I'll wait a couple of months....

  32. Re:A few issues by Anonymous Coward · · Score: 0

    No JPEG or MPEG encoder/decoder uses CPU instructions to calculate cosine waves. In fast DCT implementations, only about 8 distinct floating-point values, corresponding to 1/sqrt(2), cos(3*pi/8), cos(7*pi/16), and a few others, are needed. Those constants are hard-coded in, for extremely fast implementation. The wavelet transform is done in a similar way. JPEG2000 uses the Daubechies 9/7 biorthogonal filter pair. Since both filters are symmetric, only 5+4=9 floating point filter coefficients are needed. These are also hardcoded in. Wavelet compression is slower, though, due to the need to upsample and downsample the input image. It also requires more memory.

  33. Wavelets + Audio = Doesn't Work by Anonymous Coward · · Score: 0

    Wavelets, at least in their current incarnation, are not ideal for audio compression. The reason is that audio signals are completely different, statistically, than images or video signals. If you look at an audio signal, there is relatively no smoothness. Everything is choppy. While it is true that wavelets can approximate spiky signals well, they do not do a good job on audio. Audio signals are difficult to compress by any means. This is why 20:1 audio compression is very hard to find, while JPEG can compress images 40:1 no problem. What MP3 does is use a 32 or 64 (I forget which) channel filterbank to separate the signal into frequency bands. These bands are then encoded separately, using a psychoacoustic model. One interesting idea is to use wavelets, specifically wavelet packet decomposition, to mimic the filterbank. In normal wavelet compression, a signal is filtered into lowpass and highpass components, and then downsampled. This process is then iterated on the lowpass branch. In wavelet packet decomposition, every branch is iterated upon. The disadvantage of wavelet packet decomposition is that it is very slow. In my Multimedia Coding class, one group demonstrated a wavelet audio codec which had *decent* quality at around 8:1 compression. There is much work to be done in this field.

    1. Re:Wavelets + Audio = Doesn't Work by gwalla · · Score: 1

      Ummm...IIRC, wavelets were first devised as a way of representing audio, as a sort of replacement for sine wave decomposition. The reasoning was that sine waves became problematic if the sound wasn't a tone (e.g. a drumbeat) or a reapeating pattern. In general, the spikier and more chaotic it is the more sine waves you need to represent it. Wavelets can represent spiky data and localized sounds relatively easily.
      ---

      --
      Oper on the Nightstar
  34. Re:Extrapolating...SLASH by Anonymous Coward · · Score: 0

    "Given, it is an older version... [does anybody know, or care to comment how different/what version that Slashdot currently uses? I haven't found that information, or figured out how different it is by comparison, yet. The only hints I've seen are that they are at very least at version 0.4]"

    RADICALLY different. Go take a look at the pre .03 code they dumped on you - it is worse than horrible.

    Despite all the handwaving to the contrary, "slash" went closed source as soon as it looked like $$$ could be made. And it will be a cold day in hell before it comes out again.

    Witness the abuse Taco and Rob heap on anyone who dares ask them about it.

    &sign($AC[0]);

    Slashdot: Hype to make us money, rumors for zealots.

  35. DVCD by Anonymous Coward · · Score: 0

    Those that live in the western hemisphere may not
    be aware that it's already possible to fit whole
    movies on a single cd rom - and there are already many hundreds (if not thousands) of titles available. I'm talking about DVCD - yes, that's
    DVCD not DVD - those one-disk VCDs that sprung
    up not so long ago. It's just MPEG compression,
    and while the quality is not a match for a DVD,
    it's really quite good.

    The best thing is that titles are widely available for around 3 RMB, just a little more than US$0.30.

    You know, just about every single movie released
    is quickly converted into MPEGs and pressed onto VCDs in illegal operations Hong Kong and Guangzhou... and some titles can be available on the street just a fews days after the premier in the theatres. It's a massive industry.

  36. Re:actually..... DVD... by Anonymous Coward · · Score: 0

    DVD is already heavily compressed. It uses interframe compression (MPEG-2, specifically) which means that even if JPEG2000 is far more effective at compressing *still* images, you might not get that much of a space saving. (Of course, if JPEG2000 catches on, I'm sure that a corresponding format will be developed that also supports interframe compression - MPEG2000?) In video, there is a great deal of redundancy not just *within* a frame but *between* frames as well. BTW, a single-sided, single-layer DVD holds a maximum of 4.7 gigabytes. With dual-layer, it is (I think) 8.5 gb.

  37. Re:About time... by Anonymous Coward · · Score: 0

    My personal conspiracy theory is, that there exists a *LOT* of expensive hardware that can do Fouries forwards and back to allow real-time encoding and decoding of MPEG movies in good quality. The companies producing these devices will lobby any standards-organisation to *NOT* consider wavelets and stick to good old Fourier. If this holds, it will take a few years until we see Wavelet compressed video :)

    I don't know if you kidding or not, but since I feel like picking nits, here goes. The 1D Fast Wavelet Transform requires O(n) operations, where n is the number of data points in the sample. The 1D Fast Cosine Transform (as used in JPEG/MPEG) is O(n log(n)). Now, admittedly, the JPEG/MPEG implementation uses 8x8 squares, which causes the scaling to drop to O(n). Both the Wavelet and Fourier transforms involve a series of inner products and reductions. I suspect that DSPs could easily be assembled and programmed to do either transform quite efficiently and inexpensively.

  38. No -- good idea, though by Anonymous Coward · · Score: 0

    Darn, I thought of everything but the porn. (DVD consortium burning in flames is a pleasant thought) Still, JPEG = lossy, you know? You'd take a quality hit...

    1. Re:No -- good idea, though by Anonymous Coward · · Score: 0

      Still, JPEG = lossy, you know? You'd take a quality hit... Actually, DVD uses MPEG, MPEG does the same algorithms for pixel compression that JPEG does, except that it includes some extra algorithms and data for motion (to get extra compression). So MPEG = lossy. But I would not be at all surprised if these new wavelet algorithms made thier way to MPEG and DVD. The biggest issue that I heard of was that Decoding these are more processor intensive, and would definetly require a decoder hardware to get good performance on them.

  39. Re:ASF Format? Microsoft plot. by Anonymous Coward · · Score: 0

    I swear ASF is like DirectX. Two purposes. One -- provide some benefit to the local user community (pretty doubtful, because AVI/MPEG/MOV already existed). Two -- screw the hell outa people using platforms other than Windows, because no one else can use it.

    And Microsoft's pushing some new sound format too that beats MP3 by some nice margin...wanna bet it's Windows-only?

  40. Re:some tech details about JPEG2000 by Anonymous Coward · · Score: 0

    Be careful : the JPEG2000 decoder you linked is based an older version of the Verification Model of the JPEG2000 standard (it uses VM3.1B, and the latest one is VM5.2 ...). Though it gives you some idea about the global performance of this algorithm, the final result should be slightly different ... Moreover, the code of this decoder may not be released, since the rights are owned by Motorola (this project was a partnership between EPFL and Motorola). BUT there is another decoder written in Java (see here ) which is not publicly accessible for the moment (only the JPEG members can access it). The latest JPEG meeting proposed that the final JPEG2000 standard would consist of a text AND a reference software (written in C or in Java) which may be accessible to anyone, lucky guys !

  41. JIF rules!!! by Anonymous Coward · · Score: 0

    JIF rules!!! Down with GIF!!! Let's get some software supporting this!!!

  42. Re:That's pretty cool by Anonymous Coward · · Score: 0

    My guess would be .JPEG, since the 3 letter limitation to extensions is only a relic of the MSDOS past, and most real OSs don't use extensions to identify filetypes anyway...

    Anyone care to comment?


    Yes. Firstly, either your grammar or your logic is flawed ("My guess would be .JPEG, since [...] most real OSs don't use extensions to identify filetypes anyway"). Secondly, it is mostly tools, utilities and applications, rather than operating systems per se, which identify filetypes using extensions (are you counting ld.so etc as the 'operating system'?)

  43. OK, NSVD-ROM format proposal by Anonymous Coward · · Score: 1

    Since we have a good, new compression technology, how about some of us slashdotters get together, and make two protocols: A working high-definition CD format, and a DVD-ROM replacement. The high-definition format would probably have regular CD tracks, then compressed audio tracks, on a rock ridge format. So, the CD would work in normal CD players, then stick it in a high-def CD player, and off you go for better clarity. For video CD's, someone else can figure out that, as I don't know squat about movie formats.

  44. Impact on web design by Anonymous Coward · · Score: 1
    If you downloaded the plugins for Netscape or MSIE (Mac / Win / Linux x86), you could test their claims as to how well it compresses.

    What I found interesting was the required HTML:
    &ltEMBED SRC="eisbaer.lwf" width="384" height="256" limit="29491.2" type="image/x-wavelet">
    It supports the obvious width and height, and allows you to set a limit on the number of bytes transferred - that kicks ass. It's obviously loading the image progressively, and you can see this happen (with the plugin) if you enter the URL of an image directly into your browser. On the downside, the browser won't report its ability to handle .lwf images in the HTTP_ACCEPT variable - now you're stuck using Javascript to test for support. Bummer.

    Barring whatever patent issues there are, it's still quite a nice implementation.

  45. a (pseudo-)expert's view by Anonymous Coward · · Score: 1

    Hi, I have a little background in signal processing/image compression/etc, so I thought I might thrown my 2c in. While I haven't looked at the spec in detail, these are just a few points on wavelet compression v. the 'original' JPEG: JPEG is based upon a variant of the Fourier transform, called the discrete cosine transform. Now, as one of the previous posts mentioned, this class of transforms has poor localisation, and to overcome this, JPEG breaks up the image into 8x8 squares. The coefficients from each block are quantised and arithmetic (or Huffman) coded. This is OK, so long as you don't compress it too much. But as you increase the compression ratio, you get really REALLY yucky 8x8 artifacts - any square that has detail in it ends up looking like a little checkerboard, or full of stripes. Sharp edges develop 'ripples' for a few pixels on either side. Try it and see - the sharp edges of these 8x8 squares form an ugly and very noticable 'grid' in the image. (Also, these are pretty much the same blocky artifacts you see in things like heavily compressed quicktime and realplayer files, etc.) Wavelets are *much* better. It's a little difficult to describe why they compress images so much better without going into the maths, but there are good reasons why the compression artifacts are less bad: First, there's no sharp division of the image into squares, which immediately gets rid of the worst problems of JPEG. Wavelets are kind of fuzzy, so even when you go up to very high levels of compression, the artifacts are much less obvious to the human eye. Wavelets also have excellent localisation, which means that sharp features compress more, without the 'ripple' artifacts of JPEG. How much better compression do wavelets offer? It depends somewhat on how much you want to compress the image - 'somewhat smaller' is about right for high-quality, 'a few times smaller' is probably a good answer for your average quality image, but wavelet-based compression has more 'headroom' in the heavily-compressed end of things, where 'many, many times smaller' is probably a better answer, for images of equal 'quality'. To address the question of efficiency, I'm pretty sure wavelet transforms are comparable or faster than optimised 8x8 DCTs. DCTs and FFTs larger than that are MUCH slower than wavelet transforms. (wavelets are order n in the image size; FFT/DCT are both n log n) On the issue of motion-JPEG2000 being better than mpeg - don't think so. MPEG is clever enough to utilise redundancy between images, so I don't think any still-image compression scheme can even come close. (so no, you won't get your DVDs onto CD-ROMS ;) On the other hand, (IMHO) video is much more in need of wavelet compression than still images, although for video wavelets are only the first step. There is still a hell of a long way to go in video compression. A REALLY long way ;)

    1. Re:a (pseudo-)expert's view by inburito · · Score: 1

      Regardless of content your comment is really hard to read. How about next time getting your message through by splitting the comment into nice paragraphs of few sentences.

  46. WAVELET VIDEO COMPRESSION is FAST (NeXT's NeXTTime by Anonymous Coward · · Score: 1

    WAVELET VIDEO COMPRESSION is FAST (NeXT's NeXTTime in 1992 demonstrated that).

    Although 10's of millions of dollars have been lost looking for patentable efficient wavelet video compression, and some companies died trying (Captain Crunch chip of Pro Audio Spectrum), wavelet video has always been way faster and more pleasing with artifacts than cpu-hostile DCT stuff such as MPEG.

    Steve Jobs showed a 4.5 megabyte file of Lucas's "Wow" montage demo playing from a 486 chip PC clone in wide screen format being consumed at about 400 K sec i think, with stereo 44.1 Khz dolby sound and 10,000 observers in Moscone in San Francisco dropped their jaws simultaneously before eventually bursting into standing ovation.

    Since that day i thought NeXTTime would take over the world. It never did. Mysteriously. The NeXT Dimension went with a problem-filled C-Cubed DCT chip and a i860 instead of mostly NeXTTime. And NeXTTime codecs never can to the mac, though i think a decoder is hidden in Rhapsody DR1 powerpc in the player app.

    Wavelets are real they are exiting. They do take a little more time to decode thatn some techniques because they are very SYMMETRICAL. For example encoding at 2:1 time instead of typically 63:1 cpou time as with current compression schemes not based on Wavelets.

    Wavelets are great for very very low bandwidth because it looks like fuzzy videotape, instead of wierd JOEG artifact cubic shimmering near edges of objects.

    Wavelets are the greatest thing ever discovered (or rediscoverred) in math since 1988 or so, but sadly its a patent-filled litigious mess besaddled with snake oil selling fraudulant hucksters.

    One time a southern university announced a proprietary video compresion breakthrough, and distributed object code that was quicky reverse engineered and shown to be existing stock wavelet code!

    All those fraudulent "fractal" compression companies that went public on the sleazy Vancouver Canada stock market did not help bring honor to engineers trying to make wavelets work.

    The hubble telescopre stores stare fields with wavelets (monochromatic). And i am aware of other uses. But only about 7 or 8 different programmers have ever shared public domain wavelet libraries. Dr Dobbs had two nice wavelet articles WITH WORKING SOURCE CODE.

    Alas, that was many years ago. Wavelets seem to be discussed about as much as Neural Network code (the BackPropagation Hopfield type and relatives).... ie.. that is harldy at all. Its like a passing fad that never caught on.

    Fractal-labelled compression existed. Berkely Systems (AfterDark Screensaver fame) used a 3rd party fractal compresser with thier static slide show Marvel Comics screensaver. But Fractal compression has been a CNN news scam multiple times, otherwise.

    I wish NeXTTime was better well known. if so i am convinced thousands of firms would have spent more money trying to replicate the dream.

    Frequency compression that preserves both time and frequency information when given more cpu is absent with FFT and FFT is our grandpappy's crap (crica 1954 for computer usage). Wavelets are the most exciting thing i have ever seen and

    This JPEG compression trick to add a GPV style intellectual virus into the reference source by requiring patent liscen is repulsive. I hope someone, somewhere, who is well versed in mother functions, wavelets, colorspace perception, etc, will donate some time to help code a PATENT FREEE version of the proprietary scam JPEG 2000 proposal. Maybe the nice guys who work on BSD could bone up on wavelets and help out.

    I do not want to have a GPV on my code and i want a simple reference source example i can honestly build up from and happily optimize and contribute BSD-style code back to humanity to share. But if its like the 4 different patents that infest teh ridiculous MPEG-4 audio AAC stuff, then ISO and IEEE etc, need to adopt a strict definition of prepetual cheap or free patent liscensing for ENCODING AND DECODING and not just decoding.

    This kind of cocktease just makes me mad instead of happy, because it means more delays in the world benefiting from wavelet compression. Of course wavelet audio compression is needed for mp3z collecting, much more than ho-hum static image wavelet compression implemetations such as bloatware clouded-up JPEG is needed by mankind.

    This announcement looks like its about one year premature, and the crap thats downloadable today looks like a race to make money of a proprietary codec. No thanks. Keep yOur image destroying digital fingerprint fascist crap out of my eye space. Photshop 5 was slowed down to scan every file opened for copyright infringement hinted at by watermarks.. as if that app is not slow enough with its long history of insane file formats and pathetic 32Kilobyte file read requests.

    When i get this mad i seem to ramble on a million topics... and get quite tangential. Sorry about that. Lets start a new source tree and in 3 years i bet we will get firsther than the JPEG 2000 attempt and we can make it fast and free! what do you think? Maybe the concept of programming itself is patented so maybe we can't program anymore in the US though. Hell this ACTUAL patent for playing with my cat I have violated routinely http://www.patents.ibm.com/details?&pn=US05443036_ _ you probably violated that cat-light patent too. Well there are probably about 1000 mathematical programming patents and only a few cat-light patents holding back society.

    ARRRGHGHGHGHGH! >

  47. ASF exists to show Open Source apathy... by Anonymous Coward · · Score: 1

    Open standard, lots of whining for support and zero open source development. And microsoft is laughing all the way to the bank.

    If there was money to be made selling individual software licenses for the linux platform somoene would step in... but the big ones dont even try cause of linux hostility to commercial software. (and the rest of the free OS's dont really count, no user base to speak of) And the common saviour for handy app's, shareware, has never worked in the open source OS world.

    Free software (in either sense) doesnt work for everything, and the biggest hurdle for open source platforms is their anomisity to other forms of software... for some kinds of software the only way it gets written is if somoene ends up paying for it. Not support, not porting, or any of the other oft quoted open source way's of making money with software... just good old buying a single copy with full copyright restrictions intact.

    Maybe RH&VA can spring in with their hoards of Ill gotten booty to fund what otherwise normal developers would do on their own... but since there wont be a big tangible pay off from open source development I doubt their investors would appreciate it.

  48. Re:patents + the future of the movie industry by Anonymous Coward · · Score: 2

    If movies become this cheap to distribute on the net, the same thing will happen to them that is happening to music. Music is starting to break free from the recording industry. Movies will do the same from the big studios. Yes, they will still make money on the really big productions. But it is going to become easier from small film makers to tell their stories. This was inevitable. The price is falling on communicating your ideas to the world in many forms. I wonder how it will change our world in ways that we haven't even guessed.

  49. Doh! by Yarn · · Score: 1

    Thats what you get when you combine X's middle button pasting, a slightly dodgy middle mouse button and not previewing your comments

    :|

    --
    -Yarn - Rio Karma: Excellent
  50. Re:A few issues by Yarn · · Score: 2

    They have a patched version of XV on their page, and I've been playing with it for a bit. Its almost lossless at 25:1 compression on a Q3 screenshot I have.

    --
    -Yarn - Rio Karma: Excellent
  51. Re:Extrapolating... by Roblimo · · Score: 2
    Off-topic "guide to Slashdot" post: if you see a whole bunch of words in italics and/or enclosed in quotation marks in the posts, they are the words of the person who sent in the story, not of the Slashdot author who posted the story.

    In this case, um... Lucas has me especially baffled. I didn't see any mention of intellectual property above, just of a technical standard that would allow packing more data into a given amount of bandwidth or storage capacity.

    I would think the biggest market for such a thing, if applied to motion pictures, would be the manufacture of lower-cost video players, not movie piracy. The ability to pack a movie onto a CD would allow movie distributors to bring prices on their product down to the point where piracy simply wouldn't be worthwhile.

    If you're going to extrapolate effects of this technology, I'd say it would be better to look at what it could (potentially) do to the video rental business, not how it could be used to steal intellectual property. I mean, if you could *buy* a movie CD for $7 or $8, who'd rent one?

    - Robin

  52. Yes, patents can be dropped. by Telcontar · · Score: 2

    > drop the patent (I don't know if this can be done)
    I am not a lawyer, but a patent can be "dropped" quite easily. Once the patent is active, its owner has to pay an annual fee, which is pretty high if you want the patent to apply world wide ("world wide" = in those countries where 95% of the global market is). If you don't pay the fee, the patent is no longer valid. This is actually done very often, because usually after 5 - 7 years, upholding a patent is not worth anymore. Either the technology is outdated, or some new patent has made the old one obsolete, or the revenues from licences with other companies no longer cover the costs - there are many reasons for dropping a patent.

  53. Re:A few issues by Eccles · · Score: 1

    For instance you can't losslessly compress white noise using any known method.


    This sounds flat out wrong to me. You can take white noise and apply a Huffman scheme to it.


    Fundamentally you are always limited by mathematics: if you have a 1 to 1 matching function, your domain and range must be the same size. A lossless compression scheme is a 1 to 1 matching function, mapping the original image data to a unique "compressed" image. So you're stuck. Now, most images that we're likely to compress have the sorts of patterns that allow us to do some compression, so generally we don't have to worry about that.

    What is often missed regarding lossy compression, however, is that that nature of the loss is very significant in the perceived quality of the compression. For example, one problem you often see in compressed video is changes in parts of the image that shouldn't change: the viewpoint is still, a wall is still, but compression artifacts on the wall are different from frame to frame. Software that evaluates the effects of losses on an image, taking things like this into account, would be good -- as would compression software that does likewise.

    --
    Ooh, a sarcasm detector. Oh, that's a real useful invention.
  54. Wavelet transforms super slow by heroine · · Score: 2

    Well as far as I know, the DCT is hundreds of times faster than the wavelet transform. Compare the CPU usage during mp3 compression to the CPU usage during noise reduction and you'll see the mp3 compression infinitely less intensive than the noise reduction. The heart of the noise reduction filter is a wavelet transform. Mp3 compression uses a DCT plus FFT. When they switch to wavelet based compression you can forget about making movies in software. Nevertheless if they offer a no-cost implementation Linux will be the first platform to support JPEG 2000 in Quicktime.

  55. MP3 has limited lifespan by Chemical+Serenity · · Score: 2
    MP3 is/was a great intermediate technology, and in many cases is "good enough", but one area (of many!) where mp3 falls down/goes boom is low bitrate encoding (ie: I'm aware of at least one technology in the works to handle this (and in so doing, help alleviate somewhat with other things mp3 doesn't handle well) that's potentially destined for open source use. I would expect there's more in the works I'm not privy to.

    Basically, .mp3 will do fine until something better comes along that's supported... then it'll go the way of the LP, the 8 track, etc. For support, all one needs to do is get the major players onboard (nullsoft, real, the xmms gang and maybe mung$oft) and everyone else will pick it up for fear of being left behind.

    --
    rickf@transpect.SPAM-B-GONE.net (remove the SPAM-B-GONE bit)

    --
    "People will pay big bucks for the luxury of ignorance."
    1. Re:MP3 has limited lifespan by slashdot-me · · Score: 1

      Re: low bitrate audio

      What about G723 5.6 and 6.4 kbits/s? These are often used for cuseeme-type video conferencing systems. Quality is lower, of course.

      Ryan

  56. mm... 3d texture compression :) by smash · · Score: 1

    hehe...

    we need a hardware decompressor for this... so we can put it on a video card and do 200:1 texture compression :)

    if the decompressor was fast enough, just think, it would be a way around the bandwidth current bandwidth limitations... if you can transfer blah gigs of data to your videocard 200 times quicker, that leaves quite a bit of time to do decompression of it and keep up (or be faster with later implementations..)

    hrm.. 200x32meg = 6 gig of textures :) yes, cowboyneal *could* store all his porn in his vram :P

    smash(err.. i assume he has less than 6 gig... or he needs help ;)

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  57. actually..... DVD... by smash · · Score: 1

    maybe this is why the paranoia about people copying DVDs is so great ;)

    lets say we have an 8 gig dvd. assuming it gets average mpeg compression .. maybe what.. 10 to 1?

    8 gig = 8,000 mb / 20(20 times better than 10:1) = 400mb.

    still not quite 0 day warez, but the modem download time would be mere days as opposed to weeks ;) copying to CD would be basic.

    besides, i am pretty sure you could get way better than 200:1 on motion video... if you compare the quality of mpeg stills to jpeg stills, mpeg is much more lossy... because it moves you notice less.

    interesting...

    smash

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  58. Re:You cannot compress white noise by smash · · Score: 1

    White noise, by definition, has no redundancy.

    hmm... by that definition, I doubt you would get white noise in many pc files.

    the reason for this would be quantization (i guess):

    for example, say you have an image file greater than 4000x5000 pixels in 24 bit color. that is 20 million pixels. 24 bit color only allows a total of 16.7 million colors, so at least a *couple* of the pixels must be redundant :) looking at it on a byte by byte level (1 each for RGB), each byte can only have 256 different values, so if you have more than 256 pixels, at least 2 of them must have the same value.

    in the "real world" you could definately get white noise... but due to computers being digital, there is only a maximum resolution you can work with...

    smash (over-tired... hope that made some sense :)

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  59. Re:Oh the irony :) by Enahs · · Score: 1

    Well, naturally they had to convert all three results (including the 3 meg original) into 256 gif (or better yet, jpeg uncompressed)
    because I doubt your browser can show JPEG2000 files. They had to put the results into a framework you could see.


    Naturally, no, not in my case either, but it can display 24-bit JPEGs and PNGs. There's no leap of logic that can explain why the image had to be converted to an 8-bit gif (unless, of course, you're afraid that someone will connect to EE Times via an old copy of Mosaic :^)

    --
    Stating on Slashdot that I like cheese since 1997.
  60. Why, oh why.... by Enahs · · Score: 1

    ...add it to imlib? So we can use the images in X and X alone??? Why not use the software NOW? It's there, for download.

    --
    Stating on Slashdot that I like cheese since 1997.
  61. Re:A few issues by Daniel · · Score: 2

    what characteristics of full-color images makes them especially susceptible to wavelet compression, versus say, a text file or an executable binary?
    I'd guess perhaps the fact that it's OK to perform lossy compression on an image, and that people see image compression as 'good' if most of the main image features are there (that is, good enough that a human observer won't immediately notice a difference). You wouldn't be too happy, I suspect, if you decompressed a text file and found that gzip had trimmed it down to something resembling Cliff Notes :)

    Daniel

    --
    Hurry up and jump on the individualist bandwagon!
  62. Re:GIS applications by spacen · · Score: 1

    You forgot to mention that there is a version of the free MrSid viewer for Linux. My whole State's [NY] recent aerial photos are being distributed in this format.

    www.lizardtech.com

  63. Re:A few issues by KnightStalker · · Score: 1

    2.LICENSE
    The LuraTech Software Product are licensed to users, not sold. The license issuer retains the right of use of the enclosed software and any accompanying fonts (collectively referred to as LuraTech-Software-Product) whether on disk, in read only memory, or on any other media. You own the media on which the LuraTech-Software-Product is recorded but LuraTech and/or LuraTech's licensor(s) retain title to the LuraTech-Software-Product. The LuraTech-Software-Product in this package and any copies which this license authorises you to make are subject to this license.



    Eyewww.....

    --
    * And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
  64. Why not just give in to terrorists? by InThane · · Score: 1

    If Redhat turns around and buys LZW for $20m from Unisys, then Redhat is just justifying software patents, which are a Bad Idea.

    --
    InThane
  65. FYI, GPL'ed wavelet code by geert · · Score: 1

    For those interested in code: you can find the GPL'ed C++ code for performing integer wavelet transforms I (and a few colleagues) wrote for my Ph.D. at http://www.cs.kuleuven.ac.be/~wavelets/

  66. About time... by Oestergaard · · Score: 5

    That was pretty much about time someone took the wavelets into image compression.

    I worked with wavelet transforms (Daubechies wavelets) a year and a half ago, and back then it was pretty clear that it would be possible to compress images and sound much harder using the wavelet domain rather than the Fourier domain.

    For those who don't know, the trick is:
    JPEG/MPEG/MP3 uses Fourier transform to transform the image/sound data into their spectral components. But this spectral representation of the data does not say anything about the _locality_ of the frequency components. Therefore representing spikes/discontinuties will require a very large number of frequency components when using Fourier domain, which in turn leads to poor compression. You can see this problem by drawing a few sharp lines in an image and compressing it hard with JPEG.

    Wavelets on the other hand, represent both an equivalent of the frequency component, along with locality information. Spikes/discontinuities can be approximated well using only a few wavelets. This in turn leads to good compression.

    Another nice thing about wavelet compression is, that wavelets tend to represent discontinuities well, even with hard compression (eg. a lot of missing or roughly approximated wavelet components). Therefore a very hard compressed image will still have fairly sharp edges, completely contrary to JPEG compression. This is pretty important if you compress a picture holding text.

    Anyways, someone is now working on JPEG with wavelets... What about sound and video ?? There is no reason as to why wavelets should not provide equal improvements in both audio and video.

    My personal conspiracy theory is, that there exists a *LOT* of expensive hardware that can do Fouries forwards and back to allow real-time encoding and decoding of MPEG movies in good quality. The companies producing these devices will lobby any standards-organisation to *NOT* consider wavelets and stick to good old Fourier. If this holds, it will take a few years until we see Wavelet compressed video :)

    1. Re:About time... by LeBleu · · Score: 1
      My personal conspiracy theory is, that there exists a *LOT* of expensive hardware that can do Fouries forwards and back to allow real-time encoding and decoding of MPEG movies in good quality. The companies producing these devices will lobby any standards-organisation to *NOT* consider wavelets and stick to good old Fourier. If this holds, it will take a few years until we see Wavelet compressed video :)

      Wrong explanation, sorry. I'm afraid it's our old friend the software patent. From what I've heard, just about every use of wavelets was patented pretty quickly. So, until those patents expire, no widespread uses are likely to happen. Sure, there's stuff like VQF, but it's not going to be as widespread as MP3. (There is a patent with MP3, but it only covers one way to encode them, to my knowledge... so if you develop your own way to pick out the parts that don't make an audible difference, you're in the clear.)

      --
      --LeBleu

      If you're reading this you're part of the mass hallucination that is Kevin the Blue.

    2. Re:About time... by leshert · · Score: 1

      That was pretty much about time someone took the wavelets into image compression.

      Ummm... Intel did that years ago with Indeo 4. Motion-video compression, but it also works very well for still images if you poke it the right way.

      And yes, I know, it's closed-source and for Wintel only. But it's been done.

    3. Re:About time... by TimoT · · Score: 4
      That was pretty much about time someone took the wavelets into image compression.

      There has already been a lot of research into the subject. The biggest discoveries would probably be the EZW coder (patent status?) and the SPIHT coder (patent pending at least).

      JPEG/MPEG/MP3 uses Fourier transform to transform the image/sound data into their spectral components. But this spectral representation of the data does not say anything about the _locality_ of the frequency components. .

      Actually there an uncertainty attached to the time-frequency representation. The more accurate the knowledge of the time the less accurate the frequency and vice versa. The traditional time-domain representation is on the other end with absolute knowledge of the time no knowledge of the frequency and the fourier representation on the other with absolute knowledge of the frequency and no knowledge of the time. This similar to the Heisenberg's uncertainty principle in physics. Wavelet-packet-compression tries to minimize this and find the optimum representation for the information.

      Another nice thing about wavelet compression is, that wavelets tend to represent discontinuities well, even with hard compression.

      Another advantage is the easy handling of edge discontinuities with biorthogonal wavelets. If the transform frames have ends at different levels then even hard quantization won't move them closer together as in DCT/DFT-based compression and consequently there are less blocking artifacts.

  67. Some actual comparison testing by raph · · Score: 1

    Since the comparison in the EE times article is so useless, I decided to do my own testing. I started with the JPEG2000 applet on the NexImage site, and the example they gave there.

    I found that the comparison on their site was biased rather strongly in favor of JPEG2000, in two ways. First, their JPEG encoding for comparison was notably inferior to libjpeg 6b with Huffman table optimization. Second, the comparison at very high compression ratios is not particularly meaningful. When compressing at 96:1, there is virtually no image detail present above half the original image resolution. Thus, scaling the original image down prior to compression (the usual practice with JPEG images) produces good results with standard JPEG.

    When these biases are removed, the quality gap between JPEG2000 and JPEG narrows substantially. JPEG2000 is somewhat better, most noticeably in its relative lack of chroma bleeding, but the margin is quite slim. My recommendation is to make up the difference by using a little more bandwidth and/or storage.

    I've prepared a summary of these results, with example images, on a comparison page. The page is on the slow side of a DSL, so please be gentle :)

    --

    LILO boot: linux init=/usr/bin/emacs

  68. Enlightening J2K discussion in gimp-devel by raph · · Score: 2

    There's an enlightening discussion of JPEG2000 in the gimp-devel archives. See the or iginal question posted 9 Dec 1999, as well as the followup, particularly th is reply by Nick Lamb.

    --

    LILO boot: linux init=/usr/bin/emacs

  69. Patent problems with jpeg2000 by raph · · Score: 3
    Here's a relevant quote from the slashdot discussion on April 23, posted by Frank Warmerdam:


    Folks ... I contacted Tom Lane of the Indpendent JPEG Group and he says:

    Nothing is happening within IJG; we are waiting to see what emerges from the ISO JPEG committee, and in particular whether it is (a) patent-free and (b) enough better than JPEG-1 to be worth a universal upgrade cycle.

    On point (a), I have made my views quite clear to the JPEG committee, but I dunno whether they are listening. There will not be an IJG implementation of JPEG-2000 unless it is freely distributable and freely usable under essentially the same restrictions (ie, none to speak of) as our current code. Patent licenses are a show-stopper. But from what I've heard, all the proposals before the committee have some amount of patent encrustation.

    On point (b), the poor track record of progressive JPEG has left me unenthused about pushing incompatible standards that offer only marginal or special-purpose improvements. JPEG-1 took the world by storm because it was an order of magnitude better than anything else available. Unless JPEG-2000 is that much better again, it faces at best an agonizing uphill fight; the world might be better off without the ensuing confusion. (I have not heard anything about what performance improvements they actually expect to get ... but I am suspicious that we are going to see percentage points, not integer factors.)

    So, I'm waiting and watching.

    Maybe I'm just being too cynical, but I think that one of the major points of the JPEG2000 effort is to fix the "bug" in the original JPEG (or at least the universally implemented arithmetic coding-free subset) is patent free.

    And basically, I agree with Tom's assessment here. While JPEG is far from perfect, it is "good enough" for photographic images, and the massive increases in bandwidth and storage capacity kinda make high compression ratios irrelevant.

    Finally, a 200:1 compression ration is pretty meaningless without some kind of context. A much more meaningful comparison is how many bytes are required to get the same quality image as some other compression standard, such as the original JPEG. The figure itself reminds me of when Triada was hyping their 200:1 lossless compression. Joe Bugajski gave a talk on this at Berkeley, and started waxing raphsodic on the incredible stuff that the Library of Congress had in their collection. Books and audio materials were fine, but when he got to the Stradivarius violins, my fellow grad students just broke up laughing. It's not hard to imagine 200:1 compression of that, but uncompression is tricky at best :)
    --

    LILO boot: linux init=/usr/bin/emacs

  70. Comparison is rigged by raph · · Score: 3

    The comparison in the EE times article is rigged to the point of almost being faked.

    Basically, what they did is take a high resolution image and compress the shit out of it with both original JPEG and JPEG2000. Yes, JPEG does poorly at such high compression ratios.

    What they neglected to point out, however, is that you can get excellent results from just shrinking the image. From what I can tell, the test image is displayed as a GIF shrunk 3x from the original "3 MB" image. A very reasonable thing to do, if you want a 19k target file size, would be to first shrink the image 3x, then compress it 17:1 using plain JPEG. I tried this, and got results entirely comparable to the JPEG2000 example (the problem with my informal test is that the GIF dithering artifacts are noticeably softened, which is basically a problem with the fact that they presented the image as a GIF instead of true color).

    So the bottom line is that JPEG2000 performs a lot better if you're doing something stupid with it, but take the claims of dramatically better compression with a grain of salt.

    --

    LILO boot: linux init=/usr/bin/emacs

    1. Re:Comparison is rigged by dashuhn · · Score: 1

      I respectfully disagree. They did not shrink the image to reduce the target file size, but to make it web-compatible. Of course, shrinking the image reduces the target file size, but that is not what they wanted to achieve. The point is to keep the target file size low while maintaining a high resolution.

      Of course, shrinking the image after the JPEG2k compression/decompression may have concealed some compression artifacts. Therefore it would have been a good idea to provide a detail at full resolution.

    2. Re:Comparison is rigged by gonz · · Score: 1
      I made a 19k jpeg in Photoshop and it looks very different:

      http://www.ratloop.com/~gonz/hoax/

      Obviously the author has left something out...

  71. Re:Well. by toni · · Score: 1

    Actually all European DVD's I have seen have AC3 5.1 audio.

  72. Any mathematicians in the house? by roystgnr · · Score: 2

    I'm still an undergrad, a dangerous state: not educated enough to really know what I'm talking about, but educated enough to think I might. ;-)

    Anyway, I'm curious: I understand that current JPEG uses Fourier transforms (a full integral transform, or a Fourier series?) to get a spectral representation of the image data, then drops subtle information from that transformed data to get a similar image from the reverse transform.

    So I assume the new JPEG (aside from all the quicktime-esque formatting overhead) uses the same technique, just with a different complete set of functions, the wavelets.

    So my first question: is there anything about the above that I'm misunderstanding?

    And my second question: What are wavelets? Bessel functions? Something I haven't heard of? Is there a simple formula, or a simple ODE generating wavelet solutions, that I could look at or plug into Maple? I gather that whatever they are they approximate discontinuous functions with much better convergence than sines and cosines... but that could describe a lot of things.

    1. Re:Any mathematicians in the house? by FonkiE · · Score: 1

      Simple and short:

      FFT uses sine and cosine as analysing function converting a function from the time domain to the frequency domain.

      FWT does the same using scaled and shifted versions of the mother-wavelet (a function with certain restrictions).

      Then comes the quantizing, the lossy compression itself. (You loose information by dropping the unimportant coefficients. This is the picture-quality you enter when saving a e.g. jpeg.)

      At last you do some huffman encoding (lossless compression), or similar.

      There are a lot of known and well researched mother-wavelets.

      Image compression is *the* example/application for 2 dimensional wavelets. I wonder what took them so long to use it for an image format. Maybe the patent situation: Because everything is well known and rather old they searched for patentable parts of their algorithm ;-)

      However important facts: wavelet compression can compress the whole image. if you get half the compressed file, you get half the quality. (jpeg uses 8x8 subpictures and if you get half the data you get half the picture). also wavelets have no "chunky pixel" because of this 8x8 grid. *but* wavelets are slower, not too slow to use them.

      It should be easy however to use a non patented version wavelet compression for e.g. png ...

  73. Re:Wavelet is very nice by Sesse · · Score: 1

    If you can't compress an 1MB TIFF (uncompressed) to a smaller JPEG than 800kB, you have a problem. For those ultra-high quality things you'll never need anyway, try changing your subsampling options, if your JPEG software can do it (GIMP 1.1.7 (?) and upwards can).

    Remember, MJPEG (which is basically only a lot of baseline JPEGs streamed together, optionally with some audio and hooks for hardware cards) usually compresses 3:1 for broadcast video (perhaps slightly more, if your TV station is really big).

    /* Steinar */

    --
    (This comment is of course GPLed.)
  74. Re:Wavelet is very nice by Sesse · · Score: 1

    As I said, you should check your software. libjpeg (and thus cjpeg, and to a lesser extent the newer versions of GIMP) has some nice `wizard' switches that may help you a lot. Again, I won't believe you until I actually see a real-world example (and not the stupid GIF that was in that article).

    /* Steinar */

    --
    (This comment is of course GPLed.)
  75. Re:Wavelet is very nice by Sesse · · Score: 2

    First: The page you give me doesn't have anything to do with JPEG2000, it's some kind of proprietary wavelet compression (even worse than JPEG2000 with all the patents it _perhaps_ will have :-) ). Second, since I don't run Windows, I'd be happy if you mailed me the BMP image (possibly gzip or bzip2-compressed) -- thanks.

    /* Steinar */

    --
    (This comment is of course GPLed.)
  76. File interchange format by Ed+Avis · · Score: 2

    IIRC, when the original JPEG standard came out it specified how to compress images, but not a file format to store the compressed data. So there were some JPEG programs that wouldn't read or write files produced by other JPEG programs, because the file format was different.

    Eventually people created the JPEG File Interchange Format (JFIF) and this is what modern 'JPEG' files are stored as. I hope the standards body has given some thought to file formats this time round.

    --
    -- Ed Avis ed@membled.com
  77. DVD CCA's worst nightmare by whig · · Score: 2

    Okay, it has been shown that CSS does nothing to protect copying, per se, of DVD content. However, it does prevent format conversion, and arguably this is what the DVD CCA is most worried about.

    If a DVD can be decoded with DeCSS and converted into mjpeg2 with mp3 audio, the result could possibly be stored on a single CD-R. This would make content copying considerably more convenient and less expensive than having to use DVD-R.

    By no means does this justify any injunction against DeCSS, but it does prove RMS' maxim, "information wants to be free". Ultimately, it will be.

    Copyright cannot be enforced by technical means, it has always relied upon good faith, combined with legal remedies against those who are caught in violation. Nothing prevents me from taking apart a copyrighted book, scanning it page by page, and reprinting it or transmitting it electronically, except my ethics and respect for law.

    DVD should expect nothing more, nor less, than the same.

    --
    Peace and love, y'all
    1. Re:DVD CCA's worst nightmare by Steeltoe · · Score: 1

      >The ones living in countries where the cinemas lag 6 months behind the US. The solution is of course to release movies world-wide, both cinema-wise and DVD wise. That'll kill a LOT of the piracy.

      A very excellent point. Just too bad the movie industry doesn't see it that way. They want to squeeze as much money as they can from each country. Stupid or what?

      - Steeltoe

    2. Re:DVD CCA's worst nightmare by Troed · · Score: 1
      D*mn. Forgot to point out that you don't need DeCSS, Dodrip or any other ripper to make dvd-rips. A nice little capture card suffices. I'd recommend the Matrox Marvel G400 - excellent quality captures in MJPEG that can be encoded to VCD mpeg1 using Premiere and the Panasonic encoder plugin.

      Dvd-rips existed long before DeCSS - if anyone needs that info for the injunction ... I'd gladly make a documentary of how to make one from my own personal DVDs (legal in Sweden) if that's needed.

    3. Re:DVD CCA's worst nightmare by Troed · · Score: 3
      I don't get it. Everything you seem to be afraid of already exists.

      DeCSS (or dodrip) + a nice little mpeg2 resizer will make you what's known as a "miniDVD". That's 352*480 mpeg2 with AC3 audio. You'll need 2 or maybe 3 discs for a complete DVD movie, with _really_ good quality. So far they're only playable in very few stand-alone DVD players, but on computers they work really well.

      Dodrip (or DeCSS) + another little mpeg-manipulator will make you a VCD. Worse picture quality, and "only" Dolby Surround, but most movies fit on 2 discs, and are playable in consumer DVD players.

      Dodrip (or any other ripper) + some Microsoft software will make you an ASF movie. Picture quality can be anywhere from terrible to better-than-VCD depending on bitrate, sound is good (Dolby Surround). Can be 1 to 2 cds for a whole movie, again depending on bitrate.


      Who in their right mind actually takes the time to copy movies this way?

      The ones living in countries where the cinemas lag 6 months behind the US. The solution is of course to release movies world-wide, both cinema-wise and DVD wise. That'll kill a LOT of the piracy.

  78. Not so fast by tilly · · Score: 2

    Compiled binaries can indeed be compressed.

    However the compression technique has to "understand" your binary, wavelets would not be a good choice.

    Just so that people understand. A compressed file is a concise description of the original file. A compression technique is an agreed upon way of describing things. And, just as you would use different methods of description for describing a book and a painting, different compression techniques are appropriate to each kind of signal.

    And to clear up another piece of confusion. Lossless compression means that you have a complete description, you can recover the original exactly. Lossy compression means that you have an incomplete description. You have a description of an approximation of the original, the distinguishing details got filed in the circular file.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
    1. Re:Not so fast by incubus · · Score: 1

      I don't think you'll ever find a lossless compression technique doing anywhere *near* 200:1 on a compiled binary.
      None of the techniques used to compress video/audio are useful when compressing data becuase they are all just lossy approximations of the data.
      I guess my point was that white noise video/audio signals are just as compressible as any other video/audio signal.

  79. *chuckle* by tilly · · Score: 2

    Anything is as compressible as you want with lossy compression. :-)

    That said, our visual perception of white noise is itself a highly lossy form of compression, therefore it is easy to fool.

    Incidentally wavelets are widely used for "denoising" because they are able to handle both smooth regions and sharp boundaries. Therefore they are much better at concentrating the sharp edges into a relatively small number of big components, so that you can distinguish a sharp edge from white noise. Fourier transforms don't do a good job of telling the two apart, and are therefore frequently unsuitable for denoising.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  80. Uh, not quite by tilly · · Score: 3

    It doesn't matter if some of the pixels match if which ones do is random, so it is at least as hard to specify per pixel what it matches as it is to say per pixel what it is.

    Understanding it that way could be complex, let me give the direct definition for a binary signal.

    A source of a stream of 1's and 0's is a white noise generator if each digit is randomly (50-50 odds) and independently a 1 or a 0. The resulting signal carries the maximal information/pixel possible, and hence there can exist no compression method that is an overall win in compressing white noise.

    What does this look like? Start tossing a coin and record what comes up! (OK, that is not perfect but it is close enough.)

    As an image it looks like..static.

    When played, the noise sounds like..static.

    Any signal with a large amount of information/bit looks like white noise and hence looks like..static.

    It is a fundamental fact of information theory that white noise (which resembles static) is identical with a perfectly encrypted signal is identical with a perfectly compressed signal.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  81. You cannot compress white noise by tilly · · Score: 4

    White noise, by definition, has no redundancy.

    Many things that look like white noise are not, but white noise itself?

    Incidentally static is what white noise sounds like, and any efficiently compressed signal looks like white noise, which is why a modem sounds like static. :-)

    Another interesting fact - a compressed file is a pretty good source of random data, and a compressed encrypted file is substantially more secure than a file just encrypted with the same algorithm. OTOH an encrypted compressed file is a PoS. The encryption messes up the attempted compression.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
    1. Re:You cannot compress white noise by incubus · · Score: 1

      That is why these 'compression' techniques are always better labelled as 'compression-approximation' techniques.. :-)

      You won't be able to compress your compiled binaries with this compression. :-)

    2. Re:You cannot compress white noise by jonathanclark · · Score: 2

      White noise is extremely compressable :

      pixel = random();


      for the most part, the human eye can't tell the difference between one random function and another. Ture, this is very lossy, but it looks the same.

      This idea has been used in computer graphics by substituting portions of images with "detail" textures which are essentially the high frequency components of a part of the image overlayed with the lower frequency components. The lower frequency components compress very well with convential techniques and the higher frequency components look identitical at all scales.

      So, as far is the human eye is concerned, white noise adds very little information to the picture and it can be thrown away and replaced with software generated white noise.

    3. Re:You cannot compress white noise by jovlinger · · Score: 1

      just to pick nits, but I read

      "compressed encrypted file"

      as first encrupted and then compressed.
      You mean the opposite, right?Cause else I can't follow your reasoning at all.

  82. DjVu by AT&T by XNormal · · Score: 1

    Check out DjVu (pronounced deja-vu) by AT&T.

    It compresses a high resolution full color scan of a magazine page by 1:200. And I am talking about real-life performance here, not ideal cases.

    The trick is an algorithm which automatically separates text and line art from continuous tone images and compresses each one with a different algorithm. The continous tone algorithm is wavelet based, of course. This is mentioned in the JPEG2000 article as a possible future extension but DjVu has been doing it for almost two years now.

    They have a Netscape plugin for viewing this stuff and the compressor is free for noncommercial use. It supports linux and many other operating systems.

    There are many compression schemes better than JPEG being promoted by their inventors. I believe JPEG2000 will probably be the winner for a very simple reason - the name JPEG.


    ----

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
  83. need support in gimp soon... by Barbarian · · Score: 2

    Looks sweet.

    We need to get support for this in gimp, ee, etc...

    It'd be cool if these beat commercial packages to the punch.

    1. Re:need support in gimp soon... by Cee · · Score: 2

      What we really need is /usr/lib/libjpeg2k.so.1

  84. Re:Oh the irony :) by kzinti · · Score: 3

    Hang on, isn't that a 256 color GIF they used for the comparison?

    Yeah, I noticed that too. Kind of like those TV ads that show an HDTV picture... they don't look too impressive on my ordinary TV set.

    My guess is that they used GIF so they could control the color palette and make the presented images appear to approximate the image appearance. In other words, it's a demo.

    --JT

  85. AT&T DjVu by GoRK · · Score: 2

    I thought this article might be a good place to mention AT&T's DjVu image format. I have been working with their DjVu tools to develop quite a few web applications and they are phenominal. The format takes an image (it is designed for scanned documents) and creates an IW44 (wavlet compressed) background layer of the image and then creates a non-lossy overlay foreground layer to compress foreground components like text and lines.

    The net result? 300 dpi full page scans in under 50K! When you print them, they are true enough to the original to justify the difference between a 5MB TIFF and the 50K DjVu.

    I'm very glad to see some of the same technology being adopted into JPEG. I'm kind of dissapointed that the spec doesn't seem to allow the mixing of compression algorithm's inside of one image, which is what most all of the very very good compression methods seem to rely on -- the fact that different information in the same chunk of data can be optimally compressed in different ways. I mean, depending on the image, JPEG in some cases can smear wavlet-based methods into the dirt.

    Just some food for thought...

    ~GoRK

  86. Re:ETA? by Kris_J · · Score: 2
    So when is this expected to become mainstream?
    Judging by PNG, it becomes plausible when the current versions of Netscape and IE mostly support it such that it's not an <embed src=... tag, but an <img src=... tag. It becomes mainstream when all the features are correctly supported in the last couple of versions of Netscape & IE, and in the latest versions of the next half-dozen most popular browsers, and when you can insert it into a Word Document without it looking "weird". This hasn't happened for PNG yet. Mind you, my website uses (hosts) only JPGs and PNGs. If you can't view the PNGs, whatever, I've put in width=, height= and alt= attributes for most of the images - you wont miss anything important.

    When IE-whatever supports JPEG2000, I'll move to them on my website - but only 'cause I don't have to make a living from it.

  87. The article is wrong by andersen · · Score: 1

    The article states that jpeg images use the fourier transform. They don't. Jpeg images use the discrete cosine transform (DCT).

    --
    -Erik -- --This message was written using 73% post-consumer electrons--
  88. Re:Hope Browsers Support it! by Duncan3 · · Score: 1

    Here is why it hasn't cought on. The C code to decode an animated GIF89a is about 600 lines (14kB) including all the file handling and error checking. The memory overhead beyond the resulting pixels is about 1.5KB, 1KB of that being the RGBA colormap. Adds about 10-15kB to your resulting executable code space.

    The code for zlib, which is only a part of .png is 9k lines (309kB), and the libpng code is another 23k lines (798kB). Memory useage is rather large, and the executable swells just a wee-bit. Sure it has all kinds of nifty extentions, but it's all just a block of pixels in the end.

    Some of us still think about things like memory usage and code size. And dont forget at least a few bugs in all that code.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  89. Re:patents + the future of the movie industry by ralphclark · · Score: 2

    If you mean Starfleet Academy, those cut scenes looked pretty dire (the colour was terrible).

    Consciousness is not what it thinks it is
    Thought exists only as an abstraction

  90. Re:patents + the future of the movie industry by ralphclark · · Score: 3

    The inventor and holder of the patents for fractal compression is Iterated Systems.

    I'd thought they'd had these techniques rolled into JPEG and MPEG already but it looks like you're right, they've kept the techniques for their own products.

    Consciousness is not what it thinks it is
    Thought exists only as an abstraction

  91. Re:patents + the future of the movie industry by SurfsUp · · Score: 3

    I remember reading about fractal compression, which was supposed to blow JPG away. It was in the early 90s, and obviously it didn't have much effect on the industry.

    Because the inventor held onto the patent too closely. Fractal compression works... encoding is horribly slow but decompression isn't too bad at all. Compression ratios are amazing, better than wavelet I think. But if the inventor ever wants to see it in widespread use, he has to let go and make it free.

    *sigh*

    --
    Life's a bitch but somebody's gotta do it.
  92. java decompression demo by rillian · · Score: 1

    There are some examples using a java applet to render the actual jpeg2k image clientside, which makes for a more impressive demonstration.

    http://ltswww.epfl.ch/~neximage/de coder/applets/ They're very slow, though.

    1. Re:java decompression demo by mochaone · · Score: 1

      Wow! Those images are startling! The clarity in detail compared to plain ol' JPEG's is remarkable. Can't wait to see this technology moved forward.

      --
      Hates people who have stupid little sigs
    2. Re:java decompression demo by lamz · · Score: 1

      I see this situation as analogous to the memory crunch in the days when 512K RAM was "enough for anybody".

      What? That's not enough! 640k is enough!

      Mike van Lammeren

      --

      Mike van Lammeren
      It will challenge your head, your brain, and your mind.

    3. Re:java decompression demo by claar · · Score: 1
      Wow! Those images are startling! The clarity in detail compared to plain ol' JPEG's is remarkable.

      I just don't see what you're seeing. The standard JPEG in the demos are on the right, with the J2000 (extention j2k?) being loaded in the applet on the left. The JPEG appears, IMHO, to have more detail, although supposedly the J2K image is smaller in size (The site offers no size comparison, but the color JPEG image is only 32892 bytes).

      Since the JPEG image is only 33K (and has excellent detail - check it out for yourself), I don't see why the extra compression is worth the degradation. With faster connections to the 'net becoming more prevalent, we will soon find that we are willing to wait an extra second to download a higher quality image.

      I see this situation as analogous to the memory crunch in the days when 512K RAM was "enough for anybody". Some applications were written in pure assembly(or C, of course) just to squeeze out that extra bit of performance and tighten the memory usage. When processers became faster and memory larger, applications began to sacrifice speed and memory usage for other things (such as development cost/time, maintainability, etc).

      As downloading 33K begins to resemble loading a 512K text-based application on your modern PC, higher image quality may begin to become as/more important than compression.

      I'd give my right arm to be ambidextrous...

      --
      I'd give my right arm to be ambidextrous...
    4. Re:java decompression demo by claar · · Score: 1
      I see why this demo is impressing people now.. Before my previous post, I had only viewed the lowest compression levels (At my high-speed work connection, I didn't mind the extra download time!).

      The J2K pictures definitely look better at higher compression levels, but for the lower levels (at 1.0bpp), I think the JPEG picture looks better.

      Anyway, I still think we need to be careful about sacrificing image quality for speed, but now I see that J2K isn't headed that direction. Thanks for the heads up!

      I'd give my right arm to be ambidextrous...

      --
      I'd give my right arm to be ambidextrous...
    5. Re:java decompression demo by gwalla · · Score: 1

      I don't see what *you're* seeing. The JPEG2000 looked better than the vanilla JPEG in all cases, IMO, and the difference was most noticeable at for more compressed files. Compare the JPEG2000 to the JPEG for this image and see what I mean. The JPEG2000 is very nice, with smooth curves (!), while the JPEG looks like something done on an Apple IIgs.
      ---

      --
      Oper on the Nightstar
  93. Extrapolating... by um...+Lucas · · Score: 1

    I might be jumping to conclusions here, but... The only point to data being digital is that it doesn't lose quality as it's being copied. Therefore, you'd really not want to put a VHS tape on to a CD, if you could help it. Which would mean that the real market for such a format - (Motion JPEG2000) - would be for transfering video from DVD to CD. That fucking sucks...

    Yeah, DeCSS needed to be created so that Linux users could watch movies, but now witness the rush to create a method which enables people who don't own DVD players or DVD discs to be able to watch DVD on their CD drives. And everyone here said the all that DeCSS was solely to enable the viewing of movies on Linux.

    I'm only ranting like the because that seems to be obviously what Roblimo or Polo meant when they mentioned the fitting of a movie onto a CD. Seems no one here respects IP anymore... Yet they don't criticize themselves, or their forum. Just others. For instance why isn't slash GPLed? Because IP is real, and there is value to it... Just as the movie industry puts up huge amounts of cash in hopes that they can convince the customer to see a movie, Rob had been donating his time until the IPO to make this site as it was and knows that if anyone could use his SW, he'd be at a competitive disadvantage... he'd essentially be doing R&D for potential competitors...

    Whoops... Didn't mean to go that overboard.

    END OF RANT.

    1. Re:Extrapolating... by Quikah · · Score: 1

      DVD now has lossy compression as does MJPEG as will MJPEG2000 (I can't wait for this year to be over already so we can stop having EVERY product have 2000 tacked on the end). Of course you can set the compression to zero on all of the formats if you so desire (not positive about MJPEG2k, but most likely). What is the market for MJPEG anyway? The same market that will be for MJPEG2k I would guess (not just pirates). Amateur filmmakers, small budget prodution houses, your average Joe who wants to transfer his family vacation videos to CD, maybe add a few whiz bang special effects, pirates...etc.

      I can convert a DVD to a VCD without using DeCSS. I have been able to for a long time now ever since I got a video capture board. DeCSS allows one less step though, I guess it is a bit easier, big deal. If you can see it or hear it, it can be pirated no matter what type of copy protection you use.

      I think that the reference to fit a movie on a CD is wondering if you can get better compression than what DVD now uses without quality loss to reduce the file size to be able to fit it on CD. But I am not Polo, so who knows.

      --
      Q.
    2. Re:Extrapolating... by Steeltoe · · Score: 3

      Listen to yourself. What future do you really want? A future run by corporations or a future run by people? I think the answer is pretty obvious, since corporations consist of people.

      Fact is one of them has to lose over the other in the future. Corporations can't grow in power without abusing people, and people can't earn and live out their rights without lost revenue to corporations.

      It's as simple as that.

      In their eyes, the best way for corporations to earn money is to drug us down and make us their drones. Then they can do whatever they want of society. But what is really the point of that? So that a small elite can feel powerful and rich? There should be something else to life than that, and that means power and freedom to the individuals to do what their hearts desires.

      In the future DVDs WILL be copied and pirated, since we're going to count storage in Tb instead of Gb. This could have a positive effect on the movie-bussiness, as they will have to come up with better answers to people's needs. Ie, bigger cinema screens, social aspects of movie-going, physical effects etc. The initiative-takers of this will be the ones who earn money from their ideas. Upstarts and copycats without one creative idea in their mind will as previously, not.

      People that claim piracy are hurting corporations, forget what side is the most human. We don't live this life for corporations to grow on us. The more power you give them, the more numerous and bigger they get. So there have to be some resistance. Call it illegal. Call it perverted, or whatever you like, but I doubt it has ever hurt the bussiness as they claim it have. When they say that, they're thinking about quite a different reality than this one.

      Think about that.

      - Steeltoe

      PS: This is not FUD, it's just to show the extreme that could happen if we suddenly just "gave up", stopped thinking for- and talking among ourselves. In some countries this has already happened, but with governments, which is much more probable.

  94. Interesting std name by jabber · · Score: 2

    I find it strangely disturbing that the ISO would resort to year version numbers. Aren't they supposed to be one of the few non-commercial, 'above the hype', good-of-the-state-of-the-art entities out there?

    --

    -- What you do today will cost you a day of your life.
    1. Re:Interesting std name by Potatoswatter · · Score: 1

      International standards don't have trademark names; what is there to name them after but their year?

      The ISO isn't doing this for marketing reasons, if that's what yer thinking. Comets are named after the year they're discovered, too.

      --

      Check out Project Upper/Mute, an all-around awesome compiler fra
  95. Re:A few issues by sklein · · Score: 1

    For instance you can't losslessly compress white noise using any known method. This sounds flat out wrong to me. You can take white noise and apply a Huffman scheme to it. (Emphasis mine.) Compression works by recording patterns instead of writing them out each time. If the data doesn't have any patterns, it is changed slightly so it does. But this changing is lossy and that's not what we're talking about. By definition, white noise doesn't have any patterns. If you run it through a lossless compression scheme, you'll get the same data plus the compression overhead. So TimoT is correct. Lossless compression of white noise is impossible. cheers, sklein

  96. Re:some tech details about JPEG2000 by sklein · · Score: 1

    Image authors will also have the option of saving the picture in lossless format for archival storage.
    This is great! It means I no longer need to keep all of these uncomressed BMP files lying around.

    You still use bitmaps for that? Why not PNG? With PNG you may not even have to keep a separate master copy. Welcome to the present!

    cheers,
    sklein

  97. Oh the irony :) by warlock · · Score: 3

    Hang on, isn't that a 256 color GIF they used for the comparison?

    Anyway... it sure looks promising, but I'm not really impressed by that 158:1 result on this particular image, most of it comprises of a gradient that should compress rather well with their scheme. I'd like to see results with images containing more detail.

    -W

    1. Re:Oh the irony :) by Chris+Pimlott · · Score: 1

      Well theoretically a user may not have jpeg support and so the demo is in gif so they can see how amazing it is and go out and get jpeg support. Kinda like how you don't give someone a file called "pkunzip.zip".

    2. Re:Oh the irony :) by KFury · · Score: 1
      I beg your pardon? My browser (Netscape navigator 4.6) can display 24bit PNG images (lossless compression, you know) just fine.

      That's great, but despite the demographic of the slashdot crowd, not everyone has NS 4.6 or IE 5 on a PC. It doesn't change my statement that your browser doesn't support JPEG2000, which was the point I was making: that it had to be translated to another format. If you read my entire post you'd see that I suggested they translate to a lossless format.
    3. Re:Oh the irony :) by KFury · · Score: 1
      netscape on solaris, irix or linux displays PNGs fine you dimwit.

      I didn't say it did. However, you seem to have missed my comment both on my original post, and the follow-up, that a lossless copy should be put up, and no matter how much flamebait is set, it won't change the fact that PNG is not the most widely accessible lossless format available, regardless of how hard you yell.
    4. Re:Oh the irony :) by KFury · · Score: 1

      thus the comment "or JPEG uncompressed"

      Also keep in mind that just becuase a JPEG is 24-bit doesn't mean it's lossless.

    5. Re:Oh the irony :) by KFury · · Score: 2

      Well, naturally they had to convert all three results (including the 3 meg original) into 256 gif (or better yet, jpeg uncompressed) because I doubt your browser can show JPEG2000 files. They had to put the results into a framework you could see.

      What disturbs me is that the '19K jpeg' example on the bottom is in no way or form what would happen if you tried to compress the top file down to 19K in jpeg. It's like what you would get if you reduced the original file to 25%, shoved it down to about 16K in GIF compression, then blew it back up 400%.

      With that and degrading the original source image down (by converting it to 8bit GIF) far more than (presumably) JPEG2000 compression degraded the second image, before it too was degraded into 8-bit GIF, this demonstration is useless...

      They need to give us two 3 meg files: one souce file, and one file that has been JPEG2000 compressed, then saved as a full-size source file (in BMP, PICT or some other lossless mode) so we can do our own comparisons...

      Kevin Fox
      www.fury.com

    6. Re:Oh the irony :) by nutsy · · Score: 1

      Well, naturally they had to convert all three results (including the 3 meg original) into 256 gif (or better yet, jpeg uncompressed) because I doubt your browser can show JPEG2000 files.

      I beg your pardon? My browser (Netscape navigator 4.6) can display 24bit PNG images (lossless compression, you know) just fine.

    7. Re:Oh the irony :) by Zurk · · Score: 0

      netscape on solaris, irix or linux displays PNGs fine you dimwit.

  98. What ever happened to the "DVD quality over 56k" ? by semis · · Score: 1

    Last year, wasn't there some Australian guy who claimed to have developed a codec that could send DVD quality motion+sound over a 56k modem?

    It was on slashdot, but I can't find it in the article history. It was also published in many computer magazines and newspaper articles.

    Obviously, it was a hoax - but he got quite a bit of capital from investors. What has happened to this guy?

  99. Built-in hook for Embrace-and-Extend attack?!? by Sloppy · · Score: 1

    It is royalty-free, but there is also discussion about a second standard that allows third-party, royalty-based extensions.

    While these extensions (whatever they happen to be) may be useful, people need to understand that they will be useless for interchange. Graphic file interchange is a big deal these days, thanks to the Internet, especially the WWW part of it.

    Over the last 5 years or so, the average cluefulness of Internet users has drastically fallen. We have seen people email MS-Word documents, and many (most?) web pages are written by people who use Netscape's and Microsoft's markup languages and extensions, instead of just HTML. In other words, when Joe Average sends data to Jane Average, he doesn't stop and think -- he just sends the data in whatever file format that he use internally. Then it's Jane's problem, and if she can't read it, she's told to just "upgrade" her software.

    I am concerned about the aforementioned royalty-based extensions. There's a certain company who is infamous for their embrace-and-extend strategy. All they have to do is bundle some content creation software with their operating system and web browser, and have it create these "extended" JPEG images, and they will have a good way to inhibit interoperability.

    And since the new format will be called JPEG instead of something new, the attack would be pretty stealthy and hard for Joe Average to understand.


    ---
    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  100. A few issues by Grond · · Score: 3

    I haven't bothered checking out the spec in its entirety, but I've got to wonder about a few things:

    1. Is the 2:1 5/3 'mother wavelet' truly lossless for any and all inputs?
    2. What kind of 'average' compression can we expect? One poster already mentioned that the example had a simple gradient as a background which would certainly compress well.
    3. How CPU intensive is it to decode these things? Will MJPEG2000 (or whatever) practically require a hardware decoder for DVD-quality playback?

    Anyone care to comment,refute, or otherwise flame? *g*

    1. Re:A few issues by QuMa · · Score: 2

      Cool. By the way, most current browsers only need the URL once in a A HREF= tag, so the url would be:
      http://www.luratech.com /products/download/download15_e.html.

      :)

    2. Re:A few issues by Wojtek · · Score: 3

      I've been working with wavelet compression for a few years now as a demoscener (No i'm not unreal. That's a different Wojtek) and it has it's advantages and disadvantages. All in all it's a good thing. I'm not a lawyer but if they can get around any patent issue's that crop up this should be a decent system. Wavelets have a distinct advantage of holding up very well in very active images with lots of contrast. (Such as those nice textures you see in all the demos and games)

    3. Re:A few issues by MacBoy · · Score: 1
      3. How CPU intensive is it to decode these things? Will MJPEG2000 (or whatever) practically require a hardware decoder for DVD-quality playback?

      Much more CPU intensive than JPEG or MPEG, which use DCT's (Discrete Cosine Transforms) because CPU's have instructions to generate sine or cosine waves, but none to generate wavelets. Each wavelet in the image must be generated on-the-fly or looked up in a table, both of which would take more of hit on the CPU.

    4. Re:A few issues by MacBoy · · Score: 1
      Good point. That would be more efficient that calculating them, huh?

      However, wavelets are far more complex, and contain more than a mere 8 values. And (depending on the particular implementation) there can be hundreds or at least dozens of unique wavelets to describe. That makes the implementation slower nonetheless.

    5. Re:A few issues by slashdot-me · · Score: 1

      I tested a low bitrate audio compressor a few years ago (2.4 kbits/s). When fed white noise it would simply encode a noise coefficient and generate white noise at the proper amplitude at the receive end.

      Also, all jpeg implementation execute compress and decompress in O(n) time because block size is fixed.

      Ryan

    6. Re:A few issues by PurpleBob · · Score: 2

      An example of lossy text compression is the (pretty much useless) "AutoSummarize" command in Word 97. It can take, for example, the entire text of the Hitchhiker's Guide to the Galaxy series, and reduce it to "Arthur!" over and over again, with various punctuation.
      --

      --
      Win dain a lotica, en vai tu ri silota
    7. Re:A few issues by TimoT · · Score: 2
      1. Is the 2:1 5/3 'mother wavelet' truly lossless for any and all inputs?

      It can be, for instance there's the S+P transform, which is lossless. The compression ratios aren't that much better than with conventional lossless image compression methods.

      2. What kind of 'average' compression can we expect? One poster already mentioned that the example had a simple gradient as a background which would certainly compress well.

      This is totally data dependent. For instance you can't losslessly compress white noise using any known method. For lossless image compression you'd probably see something like 1.5:1 - 3.5:1 on the average depending on the characteristics of the images.

      3. How CPU intensive is it to decode these things? Will MJPEG2000 (or whatever) practically require a hardware decoder for DVD-quality playback?

      It depends, I suppose the coding, where they are looking for the best mother wavelet, is the most time consuming. The decoding is probably done in O(n), since the wavelet-transform is O(n). For comparison the DCT in the original JPEG was O(n log n) so the complexity grew as bigger blocks were processed, which is not the case for the wavelet transform. I can't comment more as I haven't seen the spec either.

    8. Re:A few issues by TimoT · · Score: 2
      3: Wavelets are just cool weight-functions on a regular fourier transform. Weight-functions are often used on General Fourier transforms (using Bessel-functions or such as the base) to make the base functions orthogonal. The nice thing with wavelets is that the 8X8 grids seen in low quality JPEG are gone. low quality compression is just a bit blurry, but never blocky. Since we're still using fourier transforms with wavelets, FFT still works, and we get the n * log(n) performance, and hence the performance compared to JPEG will only be lowered by a constant factor. Not even a large one at that.

      A few points:
      1) A wavelet basis is a set of orthonormal functions that span L2(R) (the inner product space of integrable functions + some other conditions) and are generated from a single 'mother wavelet' by translations and dilatations. The fourier basis also spans L2(R).
      2) The 1D discrete wavelet transform can be implemented with a pyramidal algorithm, where each iteration halves the number of processed elements. Each iteration consists of filtering the sequence with a pair of QMF filters. Less than 2n iterations, O(n)/iteration => the complexity is O(n).
      3) as a sidenote, maybe you were thinking of the Gabor transform, which is a precursor of the wavelets.
      4) Wavelets can be made lossless, basically you just use enough precision so that the errors cancel out during reconstruction and rounding. The transforms used are usually just multiplications with a matrix and the inverse transforms multiplications with its inverse.

    9. Re:A few issues by /ASCII · · Score: 2

      1: Obviously false, since no compression scheme can compress arbitrary input. If such a scheme existed, one could just use this scheme infinite times, and thus compress anything by an arbitrary amount. Losless compression finds patterns in the indata and exploits these, wavelets are fourier transforms, and as such converge to the original image only at infinite filesize. There IS a lossless compression-scheme in J2000 as well, but it doesn't use wavelets.

      2: dunno

      3: Wavelets are just cool weight-functions on a regular fourier transform. Weight-functions are often used on General Fourier transforms (using Bessel-functions or such as the base) to make the base functions orthogonal. The nice thing with wavelets is that the 8X8 grids seen in low quality JPEG are gone. low quality compression is just a bit blurry, but never blocky.
      Since we're still using fourier transforms with wavelets, FFT still works, and we get the n * log(n) performance, and hence the performance compared to JPEG will only be lowered by a constant factor. Not even a large one at that.

      Sorry if this post is a bit mathematical, but most people here have probably studied differential calculus, so you should know what I'm talking about.

      --
      Try out fish, the friendly interactive shell.
    10. Re:A few issues by captaineo · · Score: 1
      Is the 2:1 5/3 'mother wavelet' truly lossless for any and all inputs?


      Of course not... According to information theory, you can only achieve lossless compression if there is redundancy in the data. RLE compression only works because images (especially computer artwork) tend to have rows of identical pixels. Throw it a "checkerboard" image and you'll get de-compression.

      So any scheme which purports to be "lossless" will fail for some inputs...

      (I'm curious whether wavelet technology will achieve better compression than say, gzip - what characteristics of full-color images makes them especially susceptible to wavelet compression, versus say, a text file or an executable binary?)

    11. Re:A few issues by SEAL · · Score: 1
      I've read a bunch of your posts so far and I'm impressed with your level of knowledge on this topic. So please don't be offended, but...

      For instance you can't losslessly compress white noise using any known method.

      This sounds flat out wrong to me. You can take white noise and apply a Huffman scheme to it. There's a good chance you have repeating data SOMEWHERE in that mess. The lossless compression won't be great, but you'll get some. I expect that you'd get better compression the more limited your color palette is.

      That's just my non-expert glance at it, of course :)

      Best regards,

      SEAL

    12. Re:A few issues by john_boy · · Score: 2

      I can't comment on the first two, but as for the third: wavelet transforms, like the Fourier transforms currently used, can be represented with matrices. The Fourier matrices can be computed in O(n lg(n)) steps -- where lg is the base-2 logarithm -- while wavelet matrices can be computed in linear time.

      Sounds to me like they have the potential to be faster -- faster if all other things, like the number of transforms required, are equal.

      Anyway, sounds pretty cool. Makes me want to go look up the math.

      John

    13. Re:A few issues by Edward+Kmett · · Score: 1

      Assuming they encode the resulting coeffiencients properly, yes.

      --
      Sanity is a sandbox. I prefer the swings.
  101. Faster FTs = better "standard" compression? by Kaufmann · · Score: 2

    I'm no expert, but I've been working with the FFTW - "the Fastest Fourier Transform in the West" - and it's really kick-ass fast. I've been wondering what kind of FT algorithm these image-compression guys tend to use. I figure, a faster FT means less time required to compress and decompress data, which in turn means that more detailed data that once was unfeasibly large and slow to process will not cease to be large, but may cease to be slow. May this yield a feasible alternative? FTs are "the workhorse of DSP" - a very well-known and familiar technique. So why not? (I'm sure there's a damn good reason why not...)

    --
    To the editors: your English is as bad as your Perl. Please go back to grade school.
    1. Re:Faster FTs = better "standard" compression? by Kaufmann · · Score: 2

      Yeah, I know. I read the article. I was just thinking out loud. Sorry :)

      --
      To the editors: your English is as bad as your Perl. Please go back to grade school.
    2. Re:Faster FTs = better "standard" compression? by jovlinger · · Score: 1

      The FFTW works (If I recall correctly) by basically figuring out the proper order of hierarchical decompositions to use. An analogy is quick sort, which also is recursive. We all know that the best quick-sort implementation is to switch to insertion sort when the length is less than 5ish, cause quick sort's constant factors outweigh insertion sort's asympotic ones for short lists.

      FFTs are also recursive, and FFTW is basically a really smart way to derive at which point to start using various FT alorithms. (IIRC yadda yadda).

      There is no reason why the same ideas couldn't be applied to wavelets, as it appears (and I am totally guessing here) that they too are recursive.

    3. Re:Faster FTs = better "standard" compression? by hades · · Score: 1

      The point is that it doesn't matter how fast your FT is, jpeg2000 doesn't use FT anymore. The article states clearly that wavelets are used INSTEAD OF Fourier. The problem with Fourier is that a compact signal in the time-domain becomes very large in the frequency-domain and vica-versa. Wavelets keep the signal compact in both spaces !

      --
      42 !
  102. Mostly true by obobo · · Score: 2

    Wavelets CAN be theoretically best, depending on the type of the information. Each basis is best at encoding things that look like the basis vectors: thus the Fourier basis is best for encoding sine waves. And for pictures that have localized bumps (like most normal pictures), wavelets that have localized bumps will do best.

    Oh, and best here can be rigorously defined: just plot mean squared error vs number of components. The lower, the better.

    Also, there are fast wavelet transforms. In fact, some of them are O(N), rather than O(N ln N) as for the FFT. Again though, depends on the wavelets that you're using.

  103. Re:DVD threat? by delysid-x · · Score: 1

    Movie piracy is already fairly rampant. At least among those of us with high speed connections. (2.5 mbit adsl, 5 IP's, 5 emails, $65CDN/mo, kicks ass!) You can get pretty much any new movie a few days after it comes out in theatre, usually in ASF, MPEG or AVI format. Normally a 1.5hr movie comes out to 350-400 megs in .asf format, but you can sometimes get high quality mpeg versions that end up being 800m-1.2g, which sucks because then they have to go on 2-3 cd's. They're all pretty low quality, alot of them are just some guy videotaping the movie in the theatre with a camera, but hey... ya get what you pay for eh?

  104. Why wavelets rule by YoJ · · Score: 1
    Wavelets are an exciting idea. Standard lossy compression algorithms (like JPEG) use Fourier transforms to transform the data to the frequency domain. Then low coefficients are ignored, which degrades the image slightly and saves space.

    Wavelets work in a similar fashion, using the wavelet transform. The difference is that wavelets are localised in space, unlike frequencies which are infinite sine waves. Thus when you forget the low coefficients and only save the highest wavelet coefficients, you can still retain things like discontinuities and local detail. The wavelets representing the local discontinuity have high coefficients and so are kept. In the frequency domain (used in Fourier transforms), discontinuities have components in all frequencies. When JPEG filters out the low coefficients, sharp discontinuities become blurred.

    This is very cool to see wavelet compression start to move into the mainstream. One application already in use: the FBI uses wavelet compression to store fingerprint data (source: Wavelet Toolbox for Matlab documentation). Another common application of wavelets is removing noise from signals. Standard frequency filtering removes the noise and part of the signal. Wavelet de-noising can remove just the noise (it's really pretty amazing). I had an internship at the University of Washington where I used wavelets to remove RF interference from experimental physics data.

    -Nathan Whitehead

  105. DCT and Wavelet by dserpell · · Score: 1

    I have writen programs to test compression using FWT, and I have some disagreements with other coments:

    I think that should be noted that computing the Fast Wavelet Transform (FWT) is realy a lot slower than the Discrete Cosine Transform (DCT) in current hardware.
    The reason for this is that current compression standards (as JPEG, MJPEG (not realy a standard), H261/H263, MPEG1/2) compute the DCT in blocks of 8x8 pixels needing very few multiplications and aditions (on the order of 150 per block, 2.5 per pixel), and also exploiting the locality of data (64 pixels fit in the L1 cache of almost all current CPU's).
    On the other side, the computation of the FWT to be realy effective in image compression have to use block sizes larger (I think that 32x32 should be the minimum), having less locality of data, and needs about 4 multiplications per pixel using a 5 coefficient filter. (the number of coefficients in the filter affects the "blockiness" of the transform, with 2 coefficients you get a very blocky image, in my experience you need at least 6 to compress effectively "smoth" images).
    The only advantage in the computation of the FWT is that the code is very regular, so it is easy to write it using MMX, 3DNow or SSE. But stil it isn't as fast as an 8x8 DCT.

    For stil image comression this isn't a problem, but if you want realtime compression and decompression, you are at trouble.
    Also, in Video compression you have to exploit the motion redundance, so it is fundamental that a "motion compensation" stage be applied before Transform coding. This stage is ussualy the slowest in video compression.

    In other topic, I did test FWT in audio compression, but it was before I learned about physicoacoustical models... so it sounded very bad at same rate as audio mpeg layer 2.
    The audio mpeg compressors use sub-band filtering for band separation and FFT (fast fourier transform) only to determine based in the physicoacoustical model the best quantization factors on each sub-band. In mpeg layer 3 a DCT is used to separate bands (giving better resolution to the quantization).
    In theory FWT can be used instead of the sub-band filters, as they are very similar, but I think that it won't be any advantage.

  106. What is the full implementation time? by Rombuu · · Score: 3

    Seeing a story like this makes me wonder what the time lapse is going to be between the time a standard is issued and the time it can actually spead into wide usage. Look at PNG, which has been around for around 4 years now. Sure, some people can view PNGs in their browsers, but support is still imcomplete in most implementations despite its both technical and legal improvements on the ol' GIF format. Its still not to the point where a mainstream web site would want to use it for fear of shutting out some users.

    Lets see here you need updated graphics programs (I'm sure GIMP and Photoshop, et al can have this fairly quickly). You need updated browsers (should be rather easy for Netscape/Mozilla, and technically not to difficult for IE, depending on whenever MS wants to get around to it). I'm still thinking 2 to 3 years before you seed wide usage, which is unfortunate becuase the big advantage is for those of us still stuck using lousy POTS lines to connect to the internet. Ironically, those who would get the biggest benefit from this (like be on this on-a-good-day 28.8 line) will probably have broadband access of one sort or another by the time it becomes widely used for the web at least.

    Then again, the whole 28.8 to 56K changeover seemed to happen rather quickly and both required upgrading your hardware, and a dueling set of standards....

    --

    DrLunch.com The site that tells you what's for lunch!
  107. Re:Well. by Nightcrawler · · Score: 1

    The compression on DVD is relatively low (MPEG2 based). I believe a DVD video could be recoded to the Wavelet sheme without a big quality loss and still fit on a CD-ROM.

  108. a few Gs? like zero? by delmoi · · Score: 1

    dude, if you going to be pirating anyway...

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  109. whops by delmoi · · Score: 1

    I found that out. I guess thats what I get for posting at 4 am or whatever...

    And I don't have that much karma, only 31 points right now.

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  110. waveFORMS, not waveLETS, dumbass by delmoi · · Score: 2

    music is made from waveforms. What you would see on an ocilliscope if you were plaing the audio. It has nothing to do with wavelet technology, witch only applies to images and video

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  111. Dvd by delmoi · · Score: 2

    DVD disks are not anymore exspensive then CDs.

    The only diffrence between the two is the laser used. DVD drives cost about the same amount. In anyevent, DVD moves cost about as much as audio CDs, so I don't see why putting movies on CD would make them any cheaper.

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  112. Re:Hope Browsers Support it! by harmonica · · Score: 2

    The best thing to do if you want something supported is to create a free library written in C like IJG did for normal JPEG. Almost everybody is using their code because it's stable and portable.

    That way, all browser creators have to do is link it into their project... At least that works for an additional image file format decoder.

  113. Re:That's pretty cool by fReNeTiK · · Score: 1

    This makes me wonder: What is the "right" extension for JPEG files? .JPEG, .JPG, .JPE? I've seen all of them.

    My guess would be .JPEG, since the 3 letter limitation to extensions is only a relic of the MSDOS past, and most real OSs don't use extensions to identify filetypes anyway...

    Anyone care to comment?

    --
    I strongly believe that trying to be clever is detrimental to your health. -- Linus Torvalds
  114. GIS applications by hey! · · Score: 2

    I haven't seen any discussion here of Geographic Information Systems applications, so I thought I'd chime in.

    We've been using MrSID compression on an environmental information system. We've been using sat photos as base layers on maps, and plotting data on top of the map. MrSID is a wavelet compresseion system that is now supported in several commercial GIS packages.

    There are three really cool aspects of wavelet compression.

    First, there is the raw compression; 10 or 20:1. Since we work with satelite photos of entire counties, these can easily be well over 200MB per image. Keeping a bunch of uncompressed images around is pretty awkward, and normally you need a number of them (different seasons or months, leaf on leaf off; black and white/infrared; etc.) With this kind of compression you can burn a pretty comprehensive library of images onto a CD.

    Second, there is speed. You can open up a map of a good size county, and the image loads very, very quickly, but looks very sharp, because it throws out detail too small to be seen. As you zoom in, it clips out the region you can't see, and brings in another level of detail, so the map repaints and still looks sharp. You can easily start with a map 100 miles across, then zoom down to less than a mile across, with individual buildings easily recognizable. With uncompressed images, you could not use the same image to cover the wider geographic areas because display would be very slow. It makes for terrific demos -- being able to zoom from an astronoauts view to the view from a small plane feels like you've strapped on a pair of seven leage boots.


    Finally, there when you go beyond the zoom level where there is no more data, instead of getting sharp pixel boundaries you get smudgy edges -- like you are a little out of focus. This is less distracting and more intuitive than seeing large, blocky pixels.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  115. what is Wavlet compression? by perkindiafrawl · · Score: 1

    could someone give a terse overview of what Wavlet compression is? I'm curious as to how it succeeds in producing such high compression rates.

  116. Re:patents + the future of the movie industry by Larry+L · · Score: 1

    fractals and wavelets have been proven to be mathematically similar to one another.

    i read this somewhere a while back... dont quite remember the link.

  117. DVD threat? by Trickster+Coyote · · Score: 2

    Yow. I just finished reading the dvd thread then this pops up. DeCSS aside, could this do for movie piracy what mp3's did for music?

    OTOH, it could also be a boon for home or low budget movie makers.


    P.S. I could claim "first post", but that would either be wrong or obvious.

    --
    Ideology is for ideots.
    1. Re:DVD threat? by waddgodd · · Score: 1

      The only problem with the "low cost" idea is the minor fact that you gotta drop a few G's to get any authoring software AFAIK. You can get free demos of photoshop plugins, and free browser plugins, but the authoring software is OTO $2K. Heralding Jpeg2000 as a benefit for OSS is a little premature ATM...

      --
      Just because you're paranoid doesn't mean they aren't out to get you
  118. Re:Oh the irony :) [bullshit] by Zurk · · Score: 1

    huh ? Thats total bullshit. my website uses PNGs and displays find with an image tag on netscape 4.7 (Solaris, NT, Linux)

  119. Where's Lena? by slashdot-me · · Score: 1

    Ha ha. That sample image is composed _entirely_ of gradients. It would be nice to se some results from a standard image. Most of the work I've done is in video compression, but we always used a set of standard images. Lena, Suzie, Mother + Daughter, and the news crew. I'm sure the still picture groups have a standard image set too.

    I created a still image compression program for the IOCCC about a month ago. I didn't have access to any standard images so I used this one.[1] It has gradients, steps, fine textures, and most everything else you could want, except color.

    [1] Thanks to Phil Greenspun and his great photo site. He is a photographer and a CS professor at MIT. See his work at Photo.net

    Ryan

  120. Re:3MByte Original? Where? by Kalvin · · Score: 1

    Oh ya, you da man! You figured it out ;)

    Try to imagine the top image in 1200x800 instead of 400*267. Then try to imagine taking that 1200x800 image and compressing it to 19kb with normal jpeg (still with a size of 1200x800). I think you'd get something that looks like the bottom image (if you can just try to imagine that image too in 1200x800).

    --
    // C
  121. ETA? by m3000 · · Score: 1

    So when is this expected to become mainstream? I mean, I'm guessing it'll be released later this year for people to start using, but when will most browsers start supporting it and it becomes commonplace? It sounds like a really cool piece of technology though, I've been waiting for it for a while.

  122. Wavelets are our future by Hard_Code · · Score: 2

    I am blindly posting this without first trawling through other posts or going through the web on a research tramp, so take it with a grain of salt.

    You can think of all things as functions. An image, for example, is a function of two variables, x and y, which give a pixel location. The function should return a color, and perhaps an alpha value. Fundamentally, one should be able then, to simply write down the formula for an image on a napkin. The image can then be generated by simply filling in the formula over the domain (width and height).

    In practice, however, it is very difficult to derive this function. So we must approximate until it is close enough. As I see it, this is basically what wavelets do. They approximate the function with a series of trigonometric wave functions.

    If you think about movies, now, they are just really frame after frame of images. So you simply have a three-variable function: x, y, and frame #. Theoretically, you should be able to reduce a movie to a function also. and just feed in three variables and be able to render an image.

    I guess you could also represent images and movies as functions which returned matrices. You could probably do some nifty mathematics which would account for areas which stayed the same and would not have to be changed again...essentially 'masking' the new image over and over again with new image matrices.

    Anyway, that is my take. It might not be perfectly accurate, but I've always thought of images, and movies, and data in general (the same procedure can be performed on arbitrary binary streams), as simply functions of position.

    Jazilla.org - the Java Mozilla

    --

    It's 10 PM. Do you know if you're un-American?
  123. Actually you can compress white noise by bharlan · · Score: 1

    Actually, a "white" random process (a series of random variables) is defined as being "uncorrelated" to some order, usually second-order. If samples are non-Gaussian, then they can be "white" but still be statistically dependent. Compression would still be possible.

    --
    (Reality reasserts itself sooner or later.)
  124. Re:More information about wavelets by Weezul · · Score: 2

    There is no optimal image compression

    This is dead wrong for non-lossy compression.. which is obviously what he is talking about (since he mentioned information theorey). He is making two eperate statments (1) you can not do any better with a non-lossy algorithm (but the compression phase is slow) and (2) wavelets degrade better then anyhting else if you start leaving out the big parts (lossy compression).

    You could start spouting bushit about how (2) is subjective, but (2) is not the part of his post which you quoted.. and (2) is probable stil true *enough* in the near future.

    Jeff

    --
    The Christian religion has been and still is the principal enemy of moral progress in the world. -- Bertrand Russell
  125. YES!!!! by jcr · · Score: 1

    Well, it's about time we got something better than resolution-specific DCT's.

    Of course, I'd *really* love to see Barnsley's fractal compression go mainstream, but it seems that iterated systems doesn't quite grok how to make an image format catch on.

    Still, 200:1 and resolution independence would be sweet.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:YES!!!! by BertrandG · · Score: 1

      You can show rather easily that most classical ifs coding algorithms are poor Haar wavelet based algorithms. Moreover, IFS encoding is awfully slow and cpu intensive. This is why Iterrated System never provided any good image format.

  126. Should be. by jcr · · Score: 1

    There's not a whole lot of variation, image-wise, in porn. If the picture is just a model against a plain background, it should compress *very* nicely.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  127. Re:Well. by Myself · · Score: 1

    Yes, and suddenly we're looking at three of everyone's favorite topics:

    1) Huge farms of Linux-based machines
    (doing compression necessary for)
    2) Piracy
    (because we're)
    3) Not buying expensive DVD-RW drives.

    Because I'm sorry, compressing a layer 3 audio file takes long enough, just imagine the CPU time needed to crunch entire movies. I'm assuming we'll be seeing hardware-assisted encoding boards, which will have some lame sort of copy-protection built in to prevent this sort of thing.

    And as luck would have it, the lame protection scheme will also make the compression processors useless under any OS besides Windows, so it'll be the sworn duty of the open source community to defeat said scheme and take more bad press from the ignorant masses.

    I should call myself Nostradamus.

  128. Crazy Idea by gregm · · Score: 1

    I've had this idea for a long time now and this jpeg2000 stuff seems kinda similar.

    Why couldn't we take samples of millions of textures, catalog them, and distribute them to every browser in the world (big honking download, one time). The image creation software could sample an image and find similarities between patches of the image and textures in the generic library and simply send the shape/location of the patch and it's corresponding texture ID. The viewer would pull that texture out of the library and paint it into the corresponding patch in the image. The truly unique information in the image could be super-imposed over the "patches" to make the final product. Seems like an image could be described in this manner with much less info. It wouldn't be "real" but what's real anyway? My arm doesn't have jagged edges like "real" digital images make it out to be. This idea is similar to vrml and if we take it a step further....

    For $50 we all run down to Kinkos or some other copy place and get 3d scanned. We smile and frown and talk and so on in order to get a good representation of our expression, posture etc. They put our 3d representations on a CD(s) or eventually on a DVD and we give copies to all our friends. Now when we want to videoconference, our friend pops in their simulation of us and we theirs, and we're video conferencing ALA deathmatch. Facial expressions, movements etc. are simply codes telling the viewer's puter which slides of our sim to play/morph blend whatever. Might not work too well on 28.8modem but maybe it would. Sort of a Max Headroom (old people like me will remember) kinda thing but maybe better. Quake 5 will have the ability to load our sims and put our avatars directly into the game. Of course, fiber running into my house would make this obsolete pretty quick but I doubt I'll see any serious bandwidth at home for years.

    1. Re:Crazy Idea by gwalla · · Score: 1

      Sounds like photographic Unicode!
      ---

      --
      Oper on the Nightstar
  129. Re:Lockout users? Happens all the time. by PurpleBob · · Score: 2

    The difference is that PNG isn't proprietary. It can be supported by any Web browser, but some don't because they're old versions. It's good when the standards improve, because then the web browsers don't have to invent their own rules just to make any progress.
    --

    --
    Win dain a lotica, en vai tu ri silota
  130. Lockout users? Happens all the time. by Convergence · · Score: 1

    You mention that mention that mainstream websites tend to not switch their formats for fear of locking out users... But how many websites make themselves (for example) Shockwave required, or Windows only, or IE 5.0 only?

    There's not so much of a desire to be compatible with everyone as there once was when you look at the everone-uses-windows website designer mentality.

    Progress is one thing, but this is a sad thing.

  131. This just proves my thoery by Hynman · · Score: 1

    That everything that happens in the computer industry is to enable better faster pr0n then ever before. First it was more colors and better resolution (cga->vga), then multimedia (motion and sound), and now we make advances to make it faster to download and sacrifice less quality in the internet age.

    Good thing we have DeCCS amd MP3s or the harddrive market might take a hit. =

  132. Re:DWT super slow, NOT! by TimoT · · Score: 1
    Well as far as I know, the DCT is hundreds of times faster than the wavelet transform.

    So an algorithm of complexity O(n) (DWT) is hundreds of times slower than an algorithm of complexity O(n log n) (DCT). Try putting a big N there and watch how the operation count of the DCT goes up. The wavelet transform is a lot faster than DCT.

    Compare the CPU usage during mp3 compression to the CPU usage during noise reduction and you'll see the mp3 compression infinitely less intensive than the noise reduction.

    Maybe it has got something to do with the complexity of the operations, noice reduction does both forward and backward transforms and a lot of logic in between, this is in no way a valid comparison of the efficiency of the different transforms.

    Mp3 compression uses a DCT plus FFT. When they switch to wavelet based compression you can forget about making movies in software.

    The MPEG-2 audio layer 3 uses a polyphase filter to do subband decomposition into 32 subbands. Then it does a MDCT (multiply with window function then DCT) on those subbands and then uses a psychoacoustic model to quantize and huffman-code the transformed subbands. The MDCT's overlap to get rid of edge discontinuities (in image compression these are called blocking artifacts) and aliasing. Actually a wavelet coder could be a lot more efficient than a DCT coder, because of the lower algorithmic complexity...

  133. Re:What ever happened to the "DVD quality over 56k by Nailer · · Score: 1

    The technology is called `Adams Platform', developed by an Australian [Adam Clark] who needed to pipe video through PSTN lines for a video wall at a shopping mall. Some journalist's believe the story and have been demonstrated the technology. I'm not quite sure what to think...the level of compression has been acknowledged by Clark as impossible according to existing theory...

    It promised to compress 1.3Gb AVI's to a floppy.

    Check out http://www.theage.com.au/daily/980519/infotech/inf otech1.html for more details.

  134. Re:What ever happened to the "DVD quality over 56k by Nailer · · Score: 1

    Here's an interview with Adam Clark...

    http://www.abc.net.au/ra/elp/innovatn/inots675.h tm

  135. Well. by Inoshiro · · Score: 2

    Am I the only one who thought:
    "What a great way to piss of the RIAA, make the DVD consortium superflous, and archive my multiple gigs of porn on one CD in one fell swoop."

    :-)


    ---

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:Well. by Inoshiro · · Score: 2

      Their beef is with Layer-3 and variants because it allows for the easy piracy of music.

      Yes, sir, a wavelet based compression scheme... AFAIK. This is about wavelets.

      VQF is related to MP3, and both are related to Jpeg2k (wavelet compression) :-) (the relation to plain Jpeg is just because of the lossy nature of the compression)

      Further along my train of thought: VQF allows 18:1 over MP3's 12:1. Who says it'll stop there? I wouldn't mind some of the thinking that went into Jpeg2k to go into MPEG layer 4 audio :-)
      ---

      --
      --
      Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    2. Re:Well. by In-Doge · · Score: 1

      What would the RIAA have to do with video and pictures? Just curious because the RIAA stands for:

      (R)ecording
      (I)ndustry
      (A)ssociation of
      (A)merica.

      Their beef is with Layer-3 and variants because it allows for the easy piracy of music.

    3. Re:Well. by zyntax · · Score: 1

      but how mouch better than the DVD compression is this format? what is the compression on dvd?

      --
      --- Martin
  136. Some more tools by Jafa · · Score: 1

    Lizardtech is another company doing similar research that is seems luratech is doing. My company has done some alpha/beta testing for lizardtech (we're in the graphic arts industry). The cool thing is that they have a web server application (interfaced in perl) that allows you to zoom in on images in a web site.

    Another company that has done probably the most ground breaking work in wavelets is Iterated Systems who we also helped out in the past. They are not as adept at bringing tools to market but have done a lot of original research into wavelet compression.

    Jason

  137. information links by danielhsu · · Score: 4

    The JPEG committee page has links to more information regarding this image format. http://www.jpeg.org/public/jpeglinks.htm

  138. Re:patents + the future of the movie industry by staplin · · Score: 1
    IIRC, this format was used to compress images for the first CD version of MS Encarta, one of the few that could afford the licensing fees (IMHO).

    The patent holder is Michael Fielding Barnsley, with Iterated Systems, and I believe it is a US patent (or several). He describes the IFS (iterated fractal system) algorithms for image compression and decompression in his book (with Lyman Hurd) Fractal Image Compression copyright 1993. Definitely an interesting read, and it has references to all the published papers where the in depth details of the algorithms are proven.

    Fractal images also have no inherent dimension and can be decompressed to any size, like vector formats.
    This is true, but also a misleading statement... when images are decomressed to resolutions beyond that of their original creation, image data is "created" based on the fractal characteristics of the attractor generated from the surrounding data in the original image. It will have all the same characteristics as the surroundings, but if there are new, completely different details that would not have been present in the original image, they will not be present in a "higher resolution" image... instead you see what could be reconstructed from the general descriptions of the system.

    This is not to say that the image compression is not amazing, because it is amazing for some applications, but you wouldn't want to use it for some things, like medical/hospital images.

  139. Open Source by Potatoswatter · · Score: 1

    So if the only thing holding this technology back is the lackof a way to wreck it with commercialization, why isn't anyone doing anything about it?
    Do you want RealNetworks controlling the wavelet business, or do you want it distributed free with every OS out there?

    --

    Check out Project Upper/Mute, an all-around awesome compiler fra
  140. That's pretty cool by TummyX · · Score: 1

    I saw an article on using wavelets for image compression a while back now, and it's nice to know there's a standard.

    Anyone know where I can find some reference implementations? :)

    I hope JPG2000 spreads better than PNG has so far.

    1. Re:That's pretty cool by TummyX · · Score: 1

      Using extensions to identify filetypes is quite a nice idea you know. It's not like windows absolutely needs it, but it's just the status quo at the moment, and it works quite nicely.

    2. Re:That's pretty cool by psylence · · Score: 1

      Odds are it will, just by name JPG people can recognize it... Laymen and Power Users alike, I think the biggest thing holding PNG back wasn't lack of support (it's a great format) but lack of NORMAL people knowing what the heck the files were! It wasn't a friendly JPG, GIF, BMP format... JPG2000 sounds hip, catchy :) Might just do the trick to get a nice standard image format..

  141. Re:some tech details about JPEG2000 by gwyndaf · · Score: 1

    I hope the examples on this page aren't typical - the original jpeg seemed to do a much better job - no "out of focus" and no loss of small details.

  142. Re:some tech details about JPEG2000 by gwyndaf · · Score: 1

    Not so much "out of focus", more like "blind spot". Weird.

  143. JPEG 2000 / Compression Performance / Features by jspring · · Score: 1

    From having been involved in the Jpeg2000 work from the technical side of things, I feel safe in saying that claims of 200:1 compression is ...well... nice and everything in a specialized case. In reality, the compression results for what was finally adopted as Jpeg2000 Part 1 are only about 10-20% better than JPEG baseline for the same realitive quality level -- be it error numbers, etc -- on average. At high bit rates, there is relatively little that differentiates wavelet scemes from dct based schemes. Where wavelets show better quality is at high-compression ratios (even like the example given in the EETimes article) the reason there is that the wavelet transform operates on the whole image rather than individual blocks, like the 8x8 blocks in JPEG. Thus, you have more flexibility in the data you throw away -- better energy compaction, etc. Where JPEG 2000 was supposed to be useful, according to those in charge, was not in compression performance but features. It should be noted, in addition to having more features, Jpeg2000 is also more complex than JPEG. More memory is required as well as more computational complexity. It is a tradeoff, to gain features. Will it succeed? Who knows. I think that makes some sense...anyway...

  144. dug up a page with alot of info by SEAL · · Score: 1
    If you can't find something useful here, I'll... well I don't know what I'll do but hell here it is:

    http://www.informa tik.uni-rostock.de/~urausche/imgbookmarks.html

    - SEAL

  145. it is definitely real (link) by SEAL · · Score: 2
    By the way, I am not completely sure that this is real. Something like this usually pops up every second year, and usually it's fake. I remember reading about fractal compression, which was supposed to blow JPG away. It was in the early 90s, and obviously it didn't have much effect on the industry.

    Wavelet image compression has been around for several years now, mostly in proprietary form. Let me give you one particular link - and no I don't work for them :)

    Lightning Strike

    Best regards,

    SEAL

  146. Re:More information about wavelets by Henke · · Score: 1

    1) It has been proved that a wavelets can represent the theoretical minimum information for an image. Proof uses the information's counterpart of the Heisenberg's Uncertainty Principle. That's right folks - you cannot get any more compressed than that - it simply isn't possible.

    Uh, not so fast. Compressing an image means making a fake image that looks as much as possible as the original. How much we approach the original is a very subjective thing and would differ from person to person. A good image compression teqhnique would take into account the human visual system and make some kind of average on what people think looks best (and the lossy compression algorithms already do this, JPEG for example compresses black/white information less than color information). There is no optimal image compression as well as there is no optimal sound compression since the compression scheme is adapted to an analogue old-fashioned eye or ear which can differ much from person to person.

  147. Compression is still needed by grumling · · Score: 1
    Remember that only about 2 million folks have a cablemodem, and far fewer have DSL. I have @home, for example, and their servers get overloaded when at peak usage. There's still a need for compression, if only because the server side is not quite ready for millions of people streaming content. The few bits that need dished out the better. And, that new 27 Gig HD (thanks, Santa) will hold far more if I can store it compressed.

    --
    "Well, good luck finding a judge that doesn't run a bestiality site."
  148. 3MByte Original? Where? by pnevares · · Score: 1

    This image claims that the top third is the "3Mbyte Original".

    Of course it is, even though it's part of a ~150KB GIF.....

    Pablo Nevares, "the freshmaker".

    --

    Pablo Nevares, "the freshmaker".
    1. Re:3MByte Original? Where? by pnevares · · Score: 1

      Oooooh, an informative AC! Endangered species! :?) Thank you for the info.


      Pablo Nevares, "the freshmaker".

      --

      Pablo Nevares, "the freshmaker".
  149. finally by jackbone · · Score: 1

    I can get rid of all those stinking gif's

  150. 200:1 compression in context by Tetsujin · · Score: 1

    In fact, the 200:1 compression ratio was an average taken from the developer's entire porn collection.

    Unfortunately, his whole collection was comprised of pictures of gradients having sex.

    ---GEC

    --
    Bow-ties are cool.
  151. Year of the Wavelet -- Not by dbsears · · Score: 1

    First, lets clear up some misinformation: JPEG and MP3 both use the Discrete Cosine Transform (DCT). They don't use the Discrete Fourier Transform (DFT). The elegant DCT is an inexpensive approximation to the holy grail, the Karhunen Loeve Transform. And it is a very good approximation at that.

    MPEG-2 goes even further by having quantizer scale factors on a macroblock basis. This allows a coder to use more bits on the subjectively more important part of a picture. Read this as locality.

    Wavelets are just a transform. That's all. The zerotree, which its inventor Shapiro says is very similar to the humble EOB symbol in JPEG, has been applied to DCTs just as easily, with trivial results. The same can be said for SPIHT.

    Wavelets have some advantage in reducing blocking artifacts at high compression ratios, perhaps for video conferencing. But even at that they are on the wrong side of history. Bandwidth is going up not down.

    OK, by now you've gotten the idea that I've got a bad attitude about wavelets. This is true. I was at a seminar at UCSC a few years back when a wet behind the ears grad student said that in five years time, wavelets would dominate the market. Oh, I'm sorry, that was five years ago. Time flys.

    PNG is necessary. JPEG2000 is completely unnecessary.

  152. Re:some tech details about JPEG2000 by billybob+jr · · Score: 1

    I just followed the link and didn't find the original jpeg to be better. At the partial bit rates I thought the 2000 was clearly better. At 1bpp i thought it was a wash.

  153. Intel Wavelet Licensing by wmclay · · Score: 3

    We tried to license Intel's Wavelet compression used by RealNetworks and Microsoft in their video players (look for the "Optimized for Intel" logo), but when we disclosed that our player was a Java based solution, they quickly refused to let us work with them. It seems that no price could get us in the game; they gave us the feeling that it was more important to keep the technology firmly rooted to the hardware than to get a license fee from their IP. Not too much of a surprise, since Intel backed out of the consortium for the Java Media Framework API after v. 1. Too bad all the IP that IBM brought to the consortium didn't have a Wavelet tool kit...

  154. Re:Download tools here: by atam · · Score: 1

    According to the EE Times acticle,

    Barthel (of LuraTech) said all involved companies have signed agreements that give developers royalty-free rights to part one of JPEG2000.

    So it means that the respectively patent holders would still keep their patents but allow developers to them royalty-free.

  155. Re:Extrapolating...SLASH by Dr.+Nonsense · · Score: 1
    Um...Lucas says: "Yet they don't criticize themselves, or their forum. Just others. For instance why isn't slash GPLed? Because IP is real, and there is value to it... Just as the movie industry puts up huge amounts of cash in hopes that they can convince the customer to see a movie, Rob had been donating his time until the IPO to make this site as it was and knows that if anyone could use his SW, he'd be at a competitive disadvantage... he'd essentially be doing R&D for potential competitors..."

    Well, SLASH isn't neccessarily GPL'ed... but it is (well at least an older version of it) pretty much free-wared with an advertising type clause "put up our logo and a link to us"

    Given, it is an older version... [does anybody know, or care to comment how different/what version that Slashdot currently uses? I haven't found that information, or figured out how different it is by comparison, yet. The only hints I've seen are that they are at very least at version 0.4]

    Here is the 'license' included with the SLASH pre 0.3 tarball:
    "LICENSE There isn't technically a license in this file, and we're still working out the details. Please don't screw us over on this folks, we're working real hard. The license is do-whatever-the-hell-you-want, but if you use our code, you must put our logo on the site and link it back to http://slashdot.org. If you /really/ don't want the logo, you can give me money. Also, you probably need to register mysql if you use it- it's cool, its fast, and they deserve some money. You can give me money too. I don't have any." [Obviously this is old. ;)]

    Here's the Slashdot FAQ which tells you a bit about the hardware setup and software: http://slashdot.org/faq.shtml"
    Here is the link to the SLASH page about SLASH with links to other implementations and add-ons: http://slashdot.org/code.shtml
    Here's the actual software code.. http://slashdot.org/slash/code
  156. I make films not Pir8s by DrSkwid · · Score: 1

    This sounds like great newz for us film makers. At the moment I use a DPS PVR to do my editing but for full motion broadcast video I use up 6Mb/s and the dedicated Ultra Wide SCSI drives are a bit pricey.
    MJPEG2k (yuk!) is the great news for digital video.
    As usual the pir8 FUD will get in the way but it's a market where quality isn't really the defining factor. If you've seen a few VCD's recorded live in Hong Kong with ppl coughing and laughing and walking in front of the camera you'll know what I mean.
    .oO0Oo.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  157. Jpeg2000 used for movie compression by Eythain · · Score: 1
    Since so many assumed the compression could be used to get DVD's on a normal CD, I thought I'd calculate just how much space that would take. Since it's not obvious how a compression based on comparison in space can be extended to comparison in time in any trivial way, I'll assume that you'll have to just put them one after the other.

    for 24 frames/second, if each frame is a 19Kb jpeg2k picture, and we're talking about a two hour feature film, this works out to about 3.2 Gb, or 5+ CD. In other words, no big win (if at all) over MPEG. -- Eythain

  158. Hope Browsers Support it! by seaportcasino · · Score: 2

    Well, this is too cool. I hope mozilla supports the standard right out of the box. That way I can start designing my web pages with it! On a related note, when the hell will gifs finally die! I'm amazed at how long it is taking for pngs to catch on. If this is any indication, I wouldn't expect to be able to include jpg2000 images on my web site for several years.

    1. Re:Hope Browsers Support it! by gwalla · · Score: 1

      Then there's JIF, which is basically just GIF with LZ77 compression instead of LZW. Unlike PNG, it supports animation. It doesn't have PNG's nifty features, but then it's designed to be an interim format, easy to add to an application that already supports GIFs. Adding features would defeat the purpose.

      A request for support has been submitted to the mozilla project as Bug #21445"


      ---
      --
      Oper on the Nightstar
  159. Re:patents + the future of the movie industry by Animats · · Score: 1

    Fractal compression was used for the cut scenes on some of the Star Trek CD-ROM games, but I agree it hasn't been widely used.

  160. Indeo 4 and 5 use wavelet compression by Animats · · Score: 2

    Wavelet compression of video has been out for a while. Indeo 4 and 5 (but not Indeo 1,2, and 3) use wavelet compression. The Indeo 5 codec for .AVI files is a major improvement over Cinepak, the previous leader in .AVI codecs. Indeo 5 has far fewer annoying artifacts than Cinepak, even at higher compression ratios. Check out my Kick the Crooks Out, 15 seconds of Indeo 5 video.

  161. moderation and karma are bah-roken by YAAC · · Score: 1

    How did someone like you get that much karma?? Wavelet theory provide ways of compressing *ANY* wavelike data, including audio, images, and video.

  162. Wavelet is very nice by LanceMan · · Score: 1
    I worked for a company building set top boxes that used wavelet. They were able to compress HDTV quality, synchronous video down to 750 kilobit. A proprietary ALTERA chip was used to encode and decode the video realtime. The decoder chip is like $40 US, so an decoder should be about $150. The encoder was about $300 per chip. ALTERA makes a engineering sample ISA board you can run that is wonderful. ALTERA is very good at practically giving away engr samples. I remember the engineers saying the the ALTERA chip was really a 68040 class processor running at 40 MHz, so a modern processor should be able to keep up.

    I remember looking at 1MB TIFF file that was a picture of a models face. Lots of colorful makeup, colored background, and wispy hair. I could get a decent JPG to 800k, but wavelet looked as good as the original at 10k. These guys aren't lying when they make their quality claims.

    1. Re:Wavelet is very nice by LanceMan · · Score: 1

      The image was very complex, and set up in a way that normal compression shows artifacts quickly. It was not meant to show the weakness of JPG, but the strength of wavelet. Whenever I did try to compress the image to less than about 800k the resulting image would produce artifacts. I am no expert in all the finer details, but any artifacts are murder when it comes to compressed video. The 10k wavelet image had no artifacts. It is very easy to see artifacts in DVD video once you see them for the first time. Look at the costumes in Oklahoma or the sky in Total Recall. Or try any scene where something moves very fast. Artifact city on DVD. I'm not knocking DVD, it's way better than tape, but it does have limits that are easy to notice. When you compress a DVD you have an absolute limit on bitrate. I guess a better example would have been to compress it to 10k wavelet from the TIFF and then to recreate the TIFF and then to compare the two TIFF's for differences.

      Using wavelet compression to bring the bitrate of audio and video down the 700kbps synchronous is amazing. A movie compressed using wavelet was about 1.25 gig/hour compared to 8-9(?)gig for DVD, and DVD can't do HDTV quality!

    2. Re:Wavelet is very nice by LanceMan · · Score: 1
      Here is a link to the Lightning Strike plugin to allow you to view the differences yourself. Its a Netscape/MSWin only plugin (sorry) but they have a nice comparison you can see for yourself. You can save the image as a compressed wavelet or a bmp file. You can then manipulate the bmp however you want to see how close you can get. When I was compressing I was really interested in lossless only, so a JPG could get down to 50k and look good, but lossy. I haven't found a plugin for other OS's, but there is plenty of info/source algorithms out there. There is probably enough info to write a lib to display wavelet compressed images.

      I'm really not blowing smoke about this, the compression is amazing. If you can't get the plugin to work I could send you the resultant BMP so you could play with it.

  163. More information about wavelets by Red+Pointy+Tail · · Score: 4

    Did wavelets a few years ago in uni, so I hope I've not screwed up my information in the few years lag, but another few points to add to this excellent summary:

    1) It has been proved that a wavelets can represent the theoretical minimum information for an image. Proof uses the information's counterpart of the Heisenberg's Uncertainty Principle. That's right folks - you cannot get any more compressed than that - it simply isn't possible.

    2) Unfortunately, finding the coefficients for the minimum possible representation is a bit hard on the computation side - so normally certain constraints are made like fixing the angles of the wavelet. However, decompression is pretty much standard in any case - easier. But nothing quite as close as FFT.

    3) JPEG chops the picture into managable bits - you may get discontinuities at boundaries. Wavelets sweep across the picture, from big to small, gradually improving the quality at smaller areas. So you can get a nice smooth degradation of details if you decrease the size of the file - or in other words, if you are downloading incrementally, your picture kinda shimmers in nicely.

    4) Wavelets have a normal like-curve. Normal like curves occur frequently in nature -- for example the human face can actually be represented by very few wavelets - the eyes, nose, mouth, face all fit quite nicely. Probably good for photos.

  164. Why must we put up with these?? by diggman · · Score: 0
    Claiming first post would be wrong. Claiming fifth post would be obvious.

    Diggs

    --
    If guns are so evil, how come Sarah Brady can hold one and not turn into a raving lunatic?? Oh yeah, she is one already.
  165. Download tools here: by Chagrin · · Score: 2
    They seem to have a number of utilities to do some playing around with this new format. You can find them here

    (http://www.luratech.com/products/productoverview/ pricelist_e.html)

    What I can't find is information regarding the patents/etc. regarding the new format - anyone?

    --

    I/O Error G-17: Aborting Installation

  166. some tech details about JPEG2000 by sluncho · · Score: 3

    Here are some quotes from an article about JPEG2000:

    Since August of 1998, a team within the Digital Imaging Group (DIG) has been developing a rich file format for JPEG 2000

    It surely took a long time to develop it. I hope it's worth it.

    Image authors will also have the option of saving the picture in lossless format for archival storage

    This is great! It means I no longer need to keep all of these uncomressed BMP files lying around.

    Wavelet technology also provides for a continuous download stream of data that allows the user to control the amount of image resolution desired

    This is also great. If I understand it correctly, it will allow you to download 30% of the image and get 30% of the quality, download %50 and get 50% quality or download it all and get full quality. But I might be mistaken.

    Another innovation is that a new standard, "sRGB" will be the default colorspace for this format. In the current JPEG standard, there is no notion of default colorspace. This lack of precision contributes to inconsistent JPEG color rendering

    This is a Good Thing, too. Great for printing.

    The JPEG 2000 standard for metadata also provides for extensibility of the metadata properties. In other words, new functionality can be added without having to rewrite the standard. And speaking of adding information, the metadata catalog can be modified without having to rewrite the entire image file. These abilities make for a very nimble, adaptable image file format

    Well, we don't seem to need this (using different formats is easier). If the format is too extensible, it can lead to the "get-the-latest-viewer-you-moron!" syndrome, like all the problems with the HTML that we have now.

    If all goes as planned, the official schedule for implementation will be released in January 2000

    Other good links:

    JPEG2000 Requirements and profiles document, V.6.0
    SEMINAR ON IMAGING SECURITY AND JPEG2000 - this is an interesting collection of documents about digital image security and watermarking. These gyus take security seriously!
    JPEG2000 bitstreams - actual .j2k files for your viewing pleasure (I wish a had a viewer :-)
    JPEG2000 Decoder (Version 2.3.1) - written in Java, the source is not available yet (it will be)

  167. patents + the future of the movie industry by sluncho · · Score: 4

    Barthel said this patented variable-sized window-scanning technique has been incorporated into the JPEG2000 committee draft. Besides LuraTech, Ricoh and several other committee members found bits and pieces of their patented technology in the spec. Barthel said all involved companies have signed agreements that give developers royalty-free rights to part one of JPEG2000.

    The open source community should be very conserned about this issues. We don't want the LZW patent screw-up with the GIF format to happen again. There are two sollutions: either drop the patent (I don't know if this can be done, any lawyers?), or make sure that the software using it can be GPLed forever. The word "forever" is very important, so that we won't have any problems.

    I believe that we should put enough pressure on this standart and make it really free. If the screenshots are real, it is definitely worth it.

    By the way, I am not completely sure that this is real. Something like this usually pops up every second year, and usually it's fake. I remember reading about fractal compression, which was supposed to blow JPG away. It was in the early 90s, and obviously it didn't have much effect on the industry.

    Such advances are really great for the IT industry and the commmunity. I can't wait for downloadable high qualit movies to become available. The next big thing after MP3 will be movies. Either pirated or commercial, movies will be available on the Internet. I can see all the big movie companies making movies available for download for a small charge (even if it's $3 or $5 I will gladly pay it, instead of spending hours looking for the same movie on some pirate site. The Internet will drop the marketing and distribution costs for most of the movies, and it will make it profitable to make the files available, even if the piracy level stays high.

    1. Re:patents + the future of the movie industry by gwalla · · Score: 1

      Right. I should have been more clear. Obviously, decompressing to a level of detail greater than that of the original image is going to produce some artifacts.

      The lack of inherent size is more useful for displaying on screens of arbitrary resolution. This is a feature that seems built for the web, but will probably never be seen there.

      I agree that it probably isn't a good choice for medical images or any application where sharpness is extremely important. It's much better for photographic data and art.


      ---
      --
      Oper on the Nightstar
    2. Re:patents + the future of the movie industry by gwalla · · Score: 2
      I'd thought they'd had these techniques rolled into JPEG and MPEG already but it looks like you're right, they've kept the techniques for their own products.

      ...which is precisely why no one uses the format. Dang shame too, it compresses to an insane level with very little loss of detail, and artifacting takes the form of some blurring at the edges instead of the blocky tiling of overcompressed JPEGs. Fractal images also have no inherent dimension and can be decompressed to any size, like vector formats.

      Scientific American ran a short article (I think about a page) in the early '90s about it. I think it was written by the inventor.

      Mathematically brilliant, but no sense. He didn't realize that by keeping it proprietary, he was limiting its use to applications where it is necessary, as opposed to places where it would be convenient (like the Internet). As long as he sits on his patent (it's a British patent, IIRC), nobody is going to use his format.


      ---
      --
      Oper on the Nightstar
  168. 160K GIF Example by jriskin · · Score: 1

    Hey, I made a 6Kbyte version of the top original "3Mbyte original" using standard JPEG compression! And it looks as good as the top one! Does that mean I've achieved 500:1 compression?! You would think they would a more REAL example, like include the original 3Mbyte file, a real JPEG and maybe a converted TIFF or something lossless of their compression format. Bah...

  169. JPEG2000 Spec by Chris+Hamilton · · Score: 1

    Does anyone know of any freely (or otherwise) available drafts of the JPEG200 spec, including some mention of the algorithms at work? Wavelets have been a popular research fad in the world of image compression, and I'm interested in seeing how JPEG2000 stacks up against freeware R&D wavelet based compressors. There are a myriad out there, and most do outperform baseline JPEG...

  170. Article is like supermarket tabloid by mirkurius · · Score: 1

    I am an imaging scientist, an editor of a document related to the JPEG2000 document. This article is SO misleading. The reality is that wavelet compression is only 0-20% better (depending on scene content) compression to get to similar image quality than DCT/Huffman (which is what JPEG uses). Most of the advantages in wavelet are the ability to decompress on a "sliding" scale, allowing for obtainment of the desired resolution and for progressive decoding!