LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Chapter 3 - The Linear Model (http://book.caltech.edu/bookforum/forumdisplay.php?f=110)
-   -   Questions about Symmetry and Average Intensity of Zip Code digit (http://book.caltech.edu/bookforum/showthread.php?t=1937)

mileschen 10-04-2012 02:42 PM

Questions about Symmetry and Average Intensity of Zip Code digit
 
I have some questions about the Symmetry and Average Intensity of the image of Zip Code digit. That is, what the definition of them?

For a digit in the data, there are 256 grayscale values ranging from -1 to 1, -1 here denotes white, 1 is black. But when plotting in Matlab, the image should be 16 x 16 matrix, and with 1 means white, 0 means black.

Then, does Symmetry should be calculated based the on the 16 x 16 matrix of the grayscale values? Also, does the average intensity means that it is the mean value of the 256 grayscale values (between -1 and 1)?

magdon 10-04-2012 09:57 PM

Re: Questions about Symmetry and Average Intensity of Zip Code digit
 
The average intensity is a measure of the size of the digit. One choice for this could be the mean value of the 256 grayscale values.

Yes, symmetry is defined on the 16x16 image. By symmetry, we mean visual measure of symmetry in this 16x16 image. Some such symmetries could be reflection, rotation, etc.


Quote:

Originally Posted by mileschen (Post 6052)
I have some questions about the Symmetry and Average Intensity of the image of Zip Code digit. That is, what the definition of them?

For a digit in the data, there are 256 grayscale values ranging from -1 to 1, -1 here denotes white, 1 is black. But when plotting in Matlab, the image should be 16 x 16 matrix, and with 1 means white, 0 means black.

Then, does Symmetry should be calculated based the on the 16 x 16 matrix of the grayscale values? Also, does the average intensity means that it is the mean value of the 256 grayscale values (between -1 and 1)?


tusar 10-23-2012 10:08 PM

Re: Questions about Symmetry and Average Intensity of Zip Code digit
 
Then, does Symmetry should be calculated based the on the 16 x 16 matrix of the grayscale values? Also, does the average intensity means that it is the mean value of the 256 grayscale values (between -1 and 1)?

magdon 01-17-2013 11:53 AM

Re: Questions about Symmetry and Average Intensity of Zip Code digit
 
Yes to both questions.

Quote:

Originally Posted by tusar (Post 6858)
Then, does Symmetry should be calculated based the on the 16 x 16 matrix of the grayscale values? Also, does the average intensity means that it is the mean value of the 256 grayscale values (between -1 and 1)?



All times are GMT -7. The time now is 11:34 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.