I have a "very simple" beginners problem. I searched the forum and the archive for hours, still I just couldn't find the solution. I want to simply transfer a greyscale image with DCT to the frequency domain and back using JAI. I have some mistake in my code I guess cause I just get a strange almost white picture back after the IDCT. Here is a code snipped, maybe somebody can help me?
BufferedImage b = cover;
ParameterBlock pb = (new ParameterBlock()).addSource(b);
PlanarImage dct = JAI.create("dct",pb,null);
ParameterBlock pb2 = (new ParameterBlock()).addSource(dct);
PlanarImage idct = JAI.create("idct", pb2, null);