Question
Need help with JAVA programming assignment : The file below is a text file which represents a 8x8 gray level image http://s000.tinyupload.com/index.php?file_id=82158792067607092505 The matrix above
Need help with JAVA programming assignment :
The file below is a text file which represents a 8x8 gray level image
http://s000.tinyupload.com/index.php?file_id=82158792067607092505
The matrix above reprsents image with 5 bits per pixel. The possible range of gray scale levels is 0-31. There are no pixels with value of 0 to 9 and from 18 to 31.
2) The file below is a 256x256 image in a .dat file. File needs to be converted into a matrix like file 1 above.
2nd file link: http://s000.tinyupload.com/index.php?file_id=54103282583873725333
(note: this file can be opened as a pgm file with gimp or any other image reader by adding the following headers on the first three lines of any text editor:
P5
255 255
255
.
Write a program in JAVA for the following operations for both files, and please share screenshots of results.
1. Display histogram of image.
2. Give a negative image of the gray scale image( reverse the gray scale image)
3.display negative image and plot histogram
if you can, the following operations too:
5. Implement equalizaiton alogrithm for image.
7. Plot gray level transformation function
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started