Results 1 to 15 of 15
- 02-05-2009, 06:10 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
[SOLVED] manipulating the pixel values of an image and constructinf a new image from
Hello everyone!
I want to access the pixels of an image, manipulate them and construct a new image from these manipulated pixels.
I have already grabbed the pixels using the PixelGrabber class. But I am unable to construct an image from pixels. I tried using MemoryImageSource class.
With all the different interfaces and classes for reading and writing images, I am getting confused to use which one
Are there any other ways for accessing the pixels?
Any help in this matter is truly appreciated.
Thanking you all in advance,
With regards,
Sruthi
- 02-06-2009, 03:12 PM #2
Hello
First of all ,
i welcome for your interest on image processing.
First select which format of image you want to create using grabbed pixels.
It is a vital thing to be considered for image creation.
.................................................. ...........................Mak
(Living @ Virtual World)
- 02-07-2009, 04:42 PM #3
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Thanks for replying! :)
Well the image to be created should actually be the same format as the one from which we have read the pixels.
If you want me to be specific, then it is "jpeg"
- 02-07-2009, 05:25 PM #4
JPEG is a file format, not an image type. Don't confuse the two.
db
- 02-08-2009, 05:50 AM #5
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Dear Mr. Darryl Burke,
Could you please elaborate on the difference between image type and file formats?
Thanking you,
With warm regards,
Sruthi
- 02-08-2009, 11:02 AM #6
Once you've loaded the image in your program, it no longer matters what file type it came from. What matters is the color model and pixel size.
Read through the fields of BufferedImage.TYPE_*** to know the image types supported by the class. Also read up on ColorModel and its subclasses.
db
- 02-08-2009, 06:09 PM #7
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Dear Mr. Darryl Burke,
The images are of TYPE_3BYTE_BGR
With regards,
Sruthi
- 02-10-2009, 06:08 AM #8
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Can anyone please help me!!!
with warm regards,
Sruthi :)
- 02-12-2009, 07:50 AM #9
Actually may i know what is the objective
of your program.
why i am asking this is,i want to be clear for your problem.Mak
(Living @ Virtual World)
- 02-12-2009, 02:44 PM #10
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Hi
Actually I have to do a project on steganography. So I need to access the pixels of an image and manipulate them to store the secret message(need to be encrypted using RSA) and reconstruct the image.with warm regards,
Sruthi :)
- 02-12-2009, 05:49 PM #11
Apparently, you are already at the Image class. From there, you should be able to access the bytes of the image itself. I assume you want to modify the values of each color channel a small amount to hold the bits of your encoded message.
- 02-14-2009, 09:17 AM #12
Hello Sruthi
Actually
i had done this project what i was in college.
Instead of RSA ,i used some more algorithms.
any way best of luck.
As senior member told,you can extract byte value from image and encrypt with secret text and then reconstruct a image?
i hope you are from india,is it?
if you want to commnunicate with me ,mail me to makpandian@yahoo.co.in
Thanks a lot.
regards
MakMak
(Living @ Virtual World)
- 02-14-2009, 11:47 AM #13
Hmm, off-forum communication somewhat defeats the purpose of having a discussion forum, doesn't it? And this forum even has a PM service, so why should anyone need to correspond by email?
db
- 02-16-2009, 11:27 AM #14
you are right Darryl.Burke .
but if we have a communication via e mail ,i will be able to share our thoughts quickly instead of login the site.
anyway.WellMak
(Living @ Virtual World)
- 04-10-2009, 08:46 AM #15
Member
- Join Date
- Feb 2009
- Posts
- 32
- Rep Power
- 0
Similar Threads
-
Scanning Image Pixel by Pixel
By the_transltr in forum Advanced JavaReplies: 5Last Post: 08-28-2012, 04:01 PM -
drawing an image to an offscreen image
By hunterbdb in forum Java 2DReplies: 9Last Post: 10-30-2008, 06:17 PM -
How to show pixel Coordinate and RGB value when mouse is tracking over an image
By Mazharul in forum Java 2DReplies: 1Last Post: 08-25-2008, 08:48 PM -
Converting multiple banded image into single banded image... Image enhancement
By archanajathan in forum Advanced JavaReplies: 0Last Post: 01-08-2008, 05:29 PM -
How can I get a transparent pixel from an image
By samson in forum Java 2DReplies: 1Last Post: 07-17-2007, 04:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks