Share on Google+Share on Google+

Govind
Get the color values as a matrix of color image
2 Answer(s)      4 years and 2 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.

Ads

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
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
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
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
ANSI Color Codes with Python
ANSI Color Codes with Python   Use ANSI codes to play with colors and styles. Create a program that will spit out a user inputted string in a color, style, or background color that they can choose. To do this, you'll need
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
Tutorials   
Java Spring Hibernate Struts Training Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized

Ads

 
Advertisement null

Ads