bicotiImageImplementation2DSparse

     Clases

bicotiImageImplementation
bicotiImageImplementation2D
bicotiImageImplementation2DSimple
bicotiImageImplementation2DByLayers
bicotiImageImplementation2DArray
bicotiImageImplementation2DSparse
bicotiImageImplementation3D
bicotiImageImplementation3DArray
bicotiImageImplementation3DLinear
 

     Templates Clases

PixelType


class bicotiImageImplementation2DSparse < class PixelType >



 Public Methods

bicotiImageImplementation2DSparse ( PixelType , int = 0 , int = 0 , double = 1 , PixelCases = unknown )
bicotiImageImplementation2DSparse ( const bicotiImageImplementation2DSparse< PixelType >& )
~bicotiImageImplementation2DSparse ( )

double GetScale ( )
PixelType GetDefaultPixel ( )
PixelCases PixelCase ( )
int GetX0Size ( )
int GetX1Size ( )

void Resize ( int , int )
void Resize ( bicotiImageDescriptor * )

PixelType GetPixel ( int , int )
PixelType GetPixel ( bicotiCoordinate< INTEGER >& )
void SetPixel ( int , int , const PixelType & )
voidSetPixel ( bicotiCoordinate< INTEGER >& , const PixelType & )

bicotiImageDescriptor * CreateImageDescriptor ( )

bicotiImageImplementation< PixelType > * CreateImageImplementation ( )
bicotiImageImplementation< PixelType > * CreateImageImplementation ( bicotiImageDescriptor * )

bicotiImageIterator< PixelType > * CreateIterator ( )
bicotiImageFrameIterator< PixelType > * CreateFrameIterator
                                                                                        ( int , bicotiImageExtrapolationStrategy<PixelType > * )

void CopyMeFrom ( bicotiImageImplementation2D< PixelType > *  )



bicotiImageImplementation2DSparse
                             ( PixelType def_pix, int x_0_size, int x_1_size , double scale, PixelCases pix_case )

            Constructor . Los parámetros que se le pasan son : ( de izquierda a derecha )
                    def_pix - pixel por defecto. ( no toma valor por defecto )
                    x_0_size - número de columnas. ( por defecto se toma 0 )
                    x_1_size - número de filas. ( por defecto se toma 0 )
                    scale - escala.( por defecto se toma 1 )
                    pix_case - tipo de pixel ( por defecto toma unknown )

          Para una mejor descripción de estos parámetros ver ImageImplementation

           Algunos ejemplos de uso del constructor son :

                bicotiImageImplementation2DSparse< char > imagen ( 0 , 7 , 4 , 2.5 , single )

            Se crea una imagen de enteros, 4 filas, 7 columnas, llena de ceros, escala 2.5

                bicotiImageImplementation2DSparse< double > imagen ( 1.5 , 2 , 4 , 0.5 , single )

            Se crea una imagen de flotantes, 4 filas, 2 columnas, llena de 1.5, escala 0.5

              bicotiRGB< float > def_pix ( 2 , 3 , 1 );
              bicotiImageImplementation2DArray< RGB< float > > imagen( def_pix , 3 , 5 , 1 , vectorial )

            Se crea una imagen de RGB ( de flotantes ) , 5 filas, 3 columnas, llena de ( 2 , 3 , 1 ) , escala 1



bicotiImageImplementation2DSparse
                                                      ( const bicotiImageImplementation2DSparse< PixelType >&)

            Constructor de copia.



~bicotiImageImplementation2DSparse ( )

          Destructor.



double GetScale ( )

        Esta función se declara e implementa en la clase base bicotiImageImplementation.
        Ver GetScale( ) en bicotiImageImplementation.



PixelType GetDefaultPixel ( )

        Esta función se declara e implementa en la clase base bicotiImageImplementation.
        Ver GetDefaultPixel( ) en bicotiImageImplementation.



PixelCases PixelCase ( )

        Esta función se declara e implementa en la clase base bicotiImageImplementation.
        Ver PixelCase( ) en bicotiImageImplementation.



int GetX0Size ( )

        Esta función se declara e implementa en la clase bicotiImageImplementation2D.
        Ver GetX0Size( ) en bicotiImageImplementation2D.



int GetX1Size ( )

        Esta función se declara e implementa en la clase bicotiImageImplementation2D.
        Ver GetX1Size( ) en bicotiImageImplementation2D.



void Resize ( int , int )

        Esta función se declara e implementa en la clase bicotiImageImplementation2D.
        Ver Resize( ) en bicotiImageImplementation2D.



void Resize ( bicotiImageDescriptor * )

        Esta función se declara e implementa en la clase base bicotiImageImplementation.
        Ver Resize( ) en bicotiImageImplementation.



PixelType GetPixel ( int , int )

        Esta función se declara en la clase bicotiImageImplementation2D. y se implementa en
        esta clase.
        Ver GetPixel( ) en bicotiImageImplementation2D.



PixelType GetPixel ( bicotiCoordinate< INTEGER >& )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en esta clase.
        Ver GetPixel( ) en bicotiImageImplementation.



void SetPixel ( int , int , const PixelType & )

        Esta función se declara en la clase bicotiImageImplementation2DSimple y se implementa
        en esta clase.
        Ver SetPixel( ) en bicotiImageImplementation2DSimple.



voidSetPixel ( bicotiCoordinate< INTEGER >&, const PixelType & )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en esta clase.
        Ver SetPixel( ) en bicotiImageImplementation.



bicotiImageDescriptor * CreateImageDescriptor ( )

         Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en la clase bicotiImageImplementation2D.
        Ver CreateImageDescriptor( ) en bicotiImageImplementation.



bicotiImageImplementation< PixelType > * CreateImageImplementation ( )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en esta clase.
        Ver CreateImageImplementation( ) en bicotiImageImplementation.



bicotiImageImplementation< PixelType > * CreateImageImplementation
                                                                                                              ( bicotiImageDescriptor * )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en esta clase.
        Ver CreateImageImplementation( ) en bicotiImageImplementation.



bicotiImageIterator< PixelType > * CreateIterator ( )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en esta clase.
        Ver CreateIterator( ) en bicotiImageImplementation.



bicotiImageFrameIterator< PixelType > *CreateFrameIterator
                                                                 ( int ,bicotiImageExtrapolationStrategy<PixelType > * )

        Esta función se declara en la clase base bicotiImageImplementation y se implementa
        en la clase bicotiImageImplementation2D.
        Ver CreateFrameIterator( ) en bicotiImageImplementation.



void CopyMeFrom ( bicotiImageImplementation2D< PixelType > *  )

        Esta función se declara e implementa en la clase bicotiImageImplementation2D.
        Ver CopyMeFrom( ) en bicotiImageImplementation2D.