Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Get the color values as a matrix of color image
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Govind
Get the color values as a matrix of color image
2 Answer(s)      a year and 7 months ago
Posted in : Java Beginners


I am new to java and image processing, i want to get the color values as a matrix from the color image for giving input to the compression algorithm by using java. plz provide the java code for the above mentioned process.


Advertisement
View Answers

February 18, 2013 at 9:24 PM


Thank you friend. . .

but here if we want to give the input from color image what values will be useful for compression, i mean whether int RGB(0-255) or float(0-1)



February 20, 2013 at 1:13 PM


hi friend,

The compression value should be float

Read through link

http://docs.oracle.com/javase/6/docs/api/javax/imageio/ImageWriteParam.html#compressionQuality



Related Tutorials/Questions & Answers:
Get the color values as a matrix of color image
Get the color values as a matrix of color image  I am new to java and image processing, i want to get the color values as a matrix from the color image for giving input to the compression algorithm by using java. plz provide
Get image color
Get image color  How to get image color in iPhone SDK application
Advertisements
which values we have to use for compressing any color image
........... in the process of compressing of any color image, which values do use as input for comprseeing algorithm. and how to get the image matrix from color...-the-color-values-as-a-matrix-of-color-image.html
Storing the Color Image pixel values into 2d array
Storing the Color Image pixel values into 2d array  i want to store the color image pixel values into 2d array and agiain the array have to store into a text file using java... plz provide the code
PHP GD image negative Color
= imagecolorat($image, $x, $y); $rgb = imagecolorsforindex($index); $color... <?php function negate($image) { if(function_exists('imagefilter')) { return imagefilter($image, IMG_FILTER_NEGATE); } for($x = 0; $x <
Conversion from color to Gray Image - Java Beginners
Conversion from color to Gray Image  Hi... Sakthi here.. i am new to java. and i haven't try this so far How to convert the color image...... Thanks in advance ...  Hi Friend, You can convert the color image
How to change the color of a base64-encoded png image JQuery?
How to change the color of a base64-encoded png image JQuery?  I am going to change the colors of the pixels of a png image(which is in base64 format.... the original image is shown, but the color does not change. Do you know why
Convert Black & White Image to Color Image
Convert Black & White Image to Color Image  ... selected in the image below.  Color Setting: Now you have a selected black and white image to add color. Go to image > Adjustment > Color Balance
Java program to get the color of pixel
for getting the pixel color of an image. To get the pixel color we need to first have an image and then we will be able to get the pixel color of any specific... we can get the pixel color with the getRGB() method with the image object. Here
Color Effect On Image
Color Effect On Image     ... Image. We are providing you an example, where an image shows different color effects... a pixel-to-pixel color conversion of the data in the source image
how to create menubar and the below background color/image in java swing
how to create menubar and the below background color/image in java swing  how to create menubar and the below background color/image in java swing
color change
color change  how to change the color in circle using scrollbar
can u help me to get a calendar with color codes on days ???
can u help me to get a calendar with color codes on days ???  hi roseindia, Can you help me to get the code, I need a calendar with color codes.i,e Sunday,Saturday dates display in blue color and my calendar should takes
color cycle
color cycle  how do you implement a program for color cycle that has a button such that when i press the button it brings a sequence for example green-red-grey-green e.t.c and should use the getter methods and set methods
PHP GD Replace Color
= imagecreatefromJPEG($image); $color = imagecolorallocate($im,hexdec(substr($hex,0,2... <?php $image = "images.jpg"; $data = getimagesize($image...,$cloneH, $oldhex) ) imagesetpixel($im, $x, $cloneH, $color); } }  
changing selection color of <button>
changing selection color of   dear all, i have loaded image in border less button tag when button is selected with tab key i get brown color rectangle around image. how do i change color of that rectangle from brown to white
change color according to the database value
change color according to the database value  any one know how to get values from database ( 1 or 0 ) and according to that change the color ( red or green) of given list
How to design a changing color of the chameleon, changing color of the chameleon, color of the chameleon
as given below. Color Balance: Take a new layer, press Ctr + B or go to Image... How to design a changing color of the chameleon  ... the color, you can see now by this example. Let's see how the chameleon
div background color in html
div background color in html   How to change the background color of DIV in HTML
uitableviewcell selected color
uitableviewcell selected color  HI, How to add uitableviewcell selected color? Thanks   Hi, Here is the code: UIView *viewSelected... UITableViewCell background image also. Thanks
Icon showing Color Gradient
pixel values for an Image, we have used the class MemoryImageSource which... Icon showing Color Gradient       This section illustrates you how the icon shows the Color
UITextfield Background Color
is ..it's showing a background color. Though my text field color is white. Can you please suggest.. , how can i remove the background color of text field. Thanks!   iPhone UITextField Background Color Set the text field background color
How to design a color tray
as given below. Your image should be similar. Add Another Color: Make... How to design a color tray       This is a design of the color tray which we used during
select the foreground color for a label
select the foreground color for a label  (Using JScrollBar) Write a program that uses scroll bars to select the foreground color for a label, Three... of the color. Use a title border on the panel that holds the scroll bars
color coding in java
color coding in java  hii..can anyone please help with auto coloring code in java swings..??a particular text field should have a particular color for a particular event..plzz help
UIButton text color
UIButton text color  Hi, I have to change the text color of UIButton to black. Give me best code for changing UIButton text color to black. Thanks
Color Wheel - Java Beginners
Color Wheel  Hai to all... Just want to need some code about the GUI, were using the java.lang and java.awt.. Were making a color wheel program.. Thank'z to all who help me... GOD bless
uiscrollview background color
uiscrollview background color  Is it possible to set the uiscrollview background color in iPhone application
HTML document's background color
HTML document's background color  How to set a HTML document's background color
Show Color Components
pixel values that represent RGB color and alpha information and pack into a single... Show Color Components       This section shows you color components. To show color components, we
jframe background color not showing
jframe background color not showing  jframe background color is not showing. please suggest.   Just add the background color to JPanel and then add it to JFrame. For example .. JFrame myFrame = new JFrame(); JPanel
 

 

 

DMCA.com