Question

                                          &nb

                                                           

1. Prove that intensity transformation function using the cumulative histogram of input image (L-1) * Integral of upper limit r and lower limit 0 p(r)dr  will have a flat histogram in the transformed image.       

2. Assume that an input image im1 (128x128) is zoomed by a factor of 4 to obtain an out image im2 (512x512). Using the bilinear interpolation, estimate the intensity of im2 at location (row=247, col=153). Given the intensities   im1(61,38) = 18, im1(61, 39) = 26, im1(62, 38) = 22, im1(62, 39) = 30. In     im1 (r,c) the first subscript is row no., and the second is column no.

  1. What is contrast stretching? Using python, Write a method “public Image contrastStretching (int noBand)” by intensity transformation:        z1-> z2 = (0->0, 40->30, 140->255)

Homework Answers

Answer #1

1. Prove that intensity transformation function using the cumulative histogram of input image (L-1) * Integral of upper limit r and lower limit 0 p(r)dr  will have a flat histogram in the transformed image.       

2. Assume that an input image im1 (128x128) is zoomed by a factor of 4 to obtain an out image im2 (512x512). Using the bilinear interpolation, estimate the intensity of im2 at location (row=247, col=153). Given the intensities   im1(61,38) = 18, im1(61, 39) = 26, im1(62, 38) = 22, im1(62, 39) = 30. In     im1 (r,c) the first subscript is row no., and the second is column no.

  1. What is contrast stretching? Using python, Write a method “public Image contrastStretching (int noBand)” by intensity transformation:        z1-> z2 = (0->0, 40->30, 140->255)
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Using the class sample data, analyze the student heights by completing the following. Please note the...
Using the class sample data, analyze the student heights by completing the following. Please note the following directions. The data below was collected from a group of 45 female students last semester. You will use this data throughout the semester on your lab assignments. Student # Gender Height Shoe Age Hand 1 F 68 8.5 20 R 2 F 60 5.5 27 R 3 F 64 7 31 R 4 F 67 7.5 19 R 5 F 65 8 20...
The data set entitled ‘Salmon’ contains 40 annual counts of the numbers of recruits and spawners...
The data set entitled ‘Salmon’ contains 40 annual counts of the numbers of recruits and spawners in a salmon population. The units are thousands of fish. Recruits are fish that enter the catchable population. Spawners are fish that are laying eggs. Spawners die after laying eggs. The classic Beaverton-Holt model for the relationship between spawners and recruits is R = 1 /(β1 + β2/S) where R and S are the numbers of recruits and spawners, respectively. This model may be...
please write the code in java so it can run on jGRASP import java.util.Scanner; 2 import...
please write the code in java so it can run on jGRASP import java.util.Scanner; 2 import java.io.*; //This imports input and output (io) classes that we use 3 //to read and write to files. The * is the wildcard that will 4 //make all of the io classes available if I need them 5 //It saves me from having to import each io class separately. 6 /** 7 This program reads numbers from a file, calculates the 8 mean (average)...
USING C++ The purpose of this assignment is the use of 2-dimensional arrays, reading and writing...
USING C++ The purpose of this assignment is the use of 2-dimensional arrays, reading and writing text files, writing functions, and program planning and development. You will read a data file and store all of the input data in a two dimensional array. You will perform calculations on the data and store the results in the 2 dimensional array. You will sort the array and print the results in a report. Instructions You will read in the same input file...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the seasonal influenza vaccine in preventing acute respiratory infection (ARI). A total of 507 subjects from Texas who showed symptoms of ARI were recruited for this study. The data provided show the result of each subject's test for influenza. Click to download the data in your preferred format.    CrunchIt!    CSV    Excel    JMP    Mac-Text    Minitab    PC-Text    R   ...