/*******************************************************************************
 *  Copyright 2017-2018 Centre for Development of Advanced Computing(C-DAC), Pune
 *  
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *   http://www.apache.org/licenses/LICENSE-2.0
 *  
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *******************************************************************************/
package cdac.medinfo.sdk.dcm30_04.dicomimages.dicomv3;


import java.util.Vector;

// TODO: Auto-generated Javadoc
/**
 * The DicomImageInfo Class contains the  byetArray of the Image and other Information required for Image display like its width, height,
 * bit resolution, etc. In short, it contains everything important under MajorTag (0028, xxxx) of DicomValue which contains the Image Information.
 */
public class DicomImageInfo 
{

	//public byte[] byteImage; 					//for Image
	/**
	 * The vct image.
	 */
	public Vector<byte[]> vctImage;					//for Image	
	
	/**
	 * The i height.
	 */
	int iHeight; 						//for (28,10)
	
	/**
	 * The i width.
	 */
	int iWidth;							//for (28,11)
	
	/**
	 * The i bits allocated.
	 */
	int iBitsAllocated;					//for (28,100)
	
	/**
	 * The i bits stored.
	 */
	int iBitsStored;					//for (28,101)
	
	/**
	 * The i high bit.
	 */
	int iHighBit;						//for (28,102)
	
	/**
	 * The i pixel representation.
	 */
	int iPixelRepresentation;			//for (28,103)
	
	/**
	 * The i number of frames.
	 */
	public int iNumberOfFrames;				//for (28,8) Convert from String to Int 
	
	/**
	 * The i pixel window center.
	 */
	int iPixelWindowCenter;			    //for (28, 4176) Convert from String to Int
	
	/**
	 * The i pixel window width.
	 */
	int iPixelWindowWidth;				//for (28, 4177) Convert from String to Int
	
	/**
	 * The str image type.
	 */
	String strImageType;				//for (28, 2)
	
	/**
	 * The i bits per pixel.
	 */
	int iBitsPerPixel;					
	
	/**
	 * The i red color table size.
	 */
	int iRedColorTableSize;				//For Palette (0x0028, 0x1101) 
	
	/**
	 * The i green color table size.
	 */
	int iGreenColorTableSize;			//For Palette (0x0028, 0x1102)
	
	/**
	 * The i blue color table size.
	 */
	int iBlueColorTableSize;			//For Palette (0x0028, 0x1103)
	
	/**
	 * The i bits allocated for red color table.
	 */
	int iBitsAllocatedforRedColorTable;
	
	/**
	 * The i bits allocated for blue color table.
	 */
	int iBitsAllocatedforBlueColorTable;
	
	/**
	 * The i bits allocated for green color table.
	 */
	int iBitsAllocatedforGreenColorTable; 
	
	/**
	 * The i planer configuration.
	 */
	int iPlanerConfiguration;			//For (0x0028, 0x0006)
	
	/**
	 * The str transfer syntax.
	 */
	String strTransferSyntax;			//For the Transfer Syntax of the Dicom File
	
	/**
	 * The i transfer syntax image type.
	 */
	int iTransferSyntaxImageType;
	
	/**
	 * The bool frames to display.
	 */
	boolean boolFramesToDisplay;
	
	/**
	 * The arr plaette red.
	 */
	byte[] arrPlaetteRed; 
	
	/**
	 * The arr plaette blue.
	 */
	byte[] arrPlaetteBlue;
	
	/**
	 * The arr plaette green.
	 */
	byte[] arrPlaetteGreen;
}
