Skip to main content

All Questions

Tagged with
0 votes
0 answers
242 views

What is the condition to stop splitting data in Non-Uniform Quantizer?

I'm trying to implement a non-uniform quantizer with N-level of quantization. I have already done some work and it works, the problem is it goes into infinite loop when N(the number of levels) exceeds ...
Hossam Houssien's user avatar
1 vote
0 answers
90 views

Fingerprint features quantization

I'm working on bio-metrics java project. I extracted minutiae points from fingerprint that consists of three values (x,y,Q). Values example: x: 274 y: 87 angle (Q): 18 I need to quantize the ...
Haya aziz's user avatar
  • 300
1 vote
1 answer
124 views

Color quantization diluting pure whites

I have a simple quantization function public static int quantize(int oldpixel) { int r = (oldpixel >> 16) & 0xff; int g = (oldpixel >> 8) & 0xff; int b = (oldpixel &...
Nim's user avatar
  • 13
0 votes
1 answer
126 views

Image dequantization in Java giving ramdom points in red , green or blue on Image

I am very new to Java and Image Processing. I am trying to take DCT(Discrete cosine transform) of 8*8 blocks and then do quantization and later get the original image by dequantizing followed by IDCT. ...
user1662871's user avatar
4 votes
2 answers
788 views

Color quantizing giving very bad results?

I'm trying to get my application to export animated gifs, however, once the colors exceed 256, the quantization algorithm kicks in and things get, wrong. Here's the file I have being converted, and ...
yesbutmaybeno's user avatar
8 votes
3 answers
7k views

Effective gif/image color quantization?

So I'm trying to encode some animated gif files in my Java application. I've been using some classes/algorithms found online, but none seem to be working well enough. Right now I'm using this ...
yesbutmaybeno's user avatar
0 votes
2 answers
244 views

Synchronise to beats per minute / Send quantised messages

I'm getting periodic signals (beats per minute) from a Transmitter and now want to call methods in a fraction of the period, e.g. send 1/1, 1/2, 1/4, 1/8, 1/16,.. notes. My solution for this is to ...
user's user avatar
  • 209
1 vote
1 answer
2k views

RGB Color Quantization from 8bit to 6bit

I want to quantize RGB Color from 8 bit to 6 bit. I wrote java code as following: int ind = 0; for(int y = 0; y < height; y++){ for(int x = 0; x < width; x++){ byte a = 0; ...
xiaoting cai's user avatar
5 votes
1 answer
3k views

Custom quantization tables for JPEG compression in Java

As the title says, I'm trying to use custom quantization tables to compress an image in JPEG format. My problem is the resulting file can't be opened and the error is: Quantization table 0x00 was not ...
rhobincu's user avatar
  • 926
2 votes
1 answer
1k views

How to use ColorQuantizerDescriptor?

Following the idea of @PhiLho's answer to How to convert a BufferedImage to 8 bit?, I want to use ColorQuantizerDescriptor to convert a BufferedImage, imageType TYPE_INT_RGB, but RenderedOp#...
Daniel Trebbien's user avatar
0 votes
2 answers
2k views

Range in DCT coefficents MATLAB

I am trying to find the range over which the coefficients of an 8 x 8 block varies for various block of an image. Do I need to generate a histogram for the values of is there a function in matlab?
qwop's user avatar
  • 97
0 votes
2 answers
2k views

JH Labs Quantize Usage to reduce image color depth

I am trying to use the QuantizeFilter in http://www.jhlabs.com/ip/filters/index.html to reduce the color depth of a screen shot. Here is my very very simple code: Robot robo = new Robot(); ...
Nikola Yovchev's user avatar