/* UC Santa Barbara ArchLab www.cs.ucsb.edu/~arch Wavelet-Based Phase Classification Source Code www.cs.ucsb.edu/~arch/wavelet Copyright (c) 2006 The Regents of the University of California. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice, this paragraph and the following three paragraphs appear in all copies. Permission to incorporate this software into commercial products may be obtained by contacting the University of California. For information about obtaining such a license contact: Tim Sherwood This software program and documentation are copyrighted by The Regents of the University of California. The software program and documentation are supplied "as is", without any accompanying services from The Regents. The Regents does not warrant that the operation of the program will be uninterrupted or error-free. The end-user understands that the program was developed for research purposes and is advised not to rely exclusively on the program for any reason. IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Ted Huffmire, (www.cs.ucsb.edu/~huffmire, huffmire at cs dot ucsb dot edu) Tim Sherwood (www.cs.ucsb.edu/~sherwood, sherwood at cs dot ucsb dot edu) 14 June 2006 File: image.java Publication: Ted Huffmire and Tim Sherwood. Wavelet-Based Phase Classification. Proceedings of the Fifteenth International Conference on Parallel Architectures and Compilation Techniques (PACT'06), Seattle, Washington, September 16-20, 2006. */ public class image { private String m_szName; private String m_szThumbnailName; private int m_index; private int m_w; private int m_h; private float m_yAverage; private float m_iAverage; private float m_qAverage; private color_entry[] m_yarray; private color_entry[] m_iarray; private color_entry[] m_qarray; private pixel[] m_pixels; public image() { } public void setName(String szName) { m_szName = szName; } public String getName() { return m_szName; } public void setThumbnailName(String szThumbnailName) { m_szThumbnailName = szThumbnailName; } public String getThumbnailName() { return m_szThumbnailName; } public void setIndex(int index) { m_index = index; } public int getIndex() { return m_index; } public void setAverages(float yAverage, float iAverage, float qAverage) { m_yAverage = yAverage; m_iAverage = iAverage; m_qAverage = qAverage; } public float getYAverage() { return m_yAverage; } public float getIAverage() { return m_iAverage; } public float getQAverage() { return m_qAverage; } public void setPixels(pixel[] pixels) { m_pixels = pixels; } public pixel[] getPixels() { return m_pixels; } public void setYArray(color_entry[] y_array) { m_yarray = y_array; } public void setIArray(color_entry[] i_array) { m_iarray = i_array; } public void setQArray(color_entry[] q_array) { m_qarray = q_array; } public color_entry[] getYArray() { return m_yarray; } public color_entry[] getIArray() { return m_iarray; } public color_entry[] getQArray() { return m_qarray; } public void setWidth(int w) { m_w = w; } public void setHeight(int h) { m_h = h; } public int getWidth() { return m_w; } public int getHeight() { return m_h; } }