wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes how to return the exact value of an array that converted to image? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to return the exact value of an array that converted to image?" Watch "how to return the exact value of an array that converted to image?" New topic
Author

how to return the exact value of an array that converted to image?

Sahar Salah Aldeen
Greenhorn

Joined: Jun 16, 2013
Posts: 1
Hi;
I am doing a research in images; in that i split the original image into shares by an algorithm that work fine; but the values of the pixels that it produces are larger than 256,so when i put them back in an image the java reduce the values to less than 256 and when i want to do the reverse of the algorithm i get the wrong values because of the reduction that done by java... what can i do?
please answer me.
thank you...
(sorry for my bad language).
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
but the values of the pixels that it produces are larger than 256,so when i put them back in an image the java reduce the values to less than 256

Post the code you're using to dissect the image, and the code you're using to put it back together.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: how to return the exact value of an array that converted to image?