]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx
OK
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.cxx
index 4ca7174761dd6c4e30e7a090ef083ab15a51120e..365cd88bf99817ae26d9000b2435a21b3e6d6215 100644 (file)
@@ -1024,25 +1024,25 @@ void wxContourMainFrame::SegmentationOneSliceITK(int x, int y, int z, wxString d
   typedef unsigned short OutputPixelType2;
   typedef itk::Image< OutputPixelType2, Dimension > OutputImageType2;
 
-  //Definición del thresholder
+  //DefiniciÛn del thresholder
   typedef itk::BinaryThresholdImageFilter< 
                         InternalImageType, 
                         OutputImageType    >    ThresholdingFilterType;
   
-  //Definición del primer filtro de conversión de pixeles
+  //DefiniciÛn del primer filtro de conversiÛn de pixeles
   typedef itk::CastImageFilter<
                OutputImageType, OutputImageType2 >  CastFilterType;
 
-  //Definición del segundo tipo de conversión de pixeles
+  //DefiniciÛn del segundo tipo de conversiÛn de pixeles
   typedef itk::CastImageFilter<
                OutputImageType2, InternalImageType >  CastFilterType2;
 
-  //Tercer tipo de conversión
+  //Tercer tipo de conversiÛn
   typedef itk::RescaleIntensityImageFilter< 
                                InternalImageType, 
                                OutputImageType >   CastFilterType3;
 
-  //Cuarto tipo de conversión
+  //Cuarto tipo de conversiÛn
   typedef itk::RescaleIntensityImageFilter< 
                                OutputImageType, 
                                OutputImageType >   CastFilterType4;
@@ -1055,7 +1055,7 @@ void wxContourMainFrame::SegmentationOneSliceITK(int x, int y, int z, wxString d
   thresholder->SetOutsideValue(  255  );
   thresholder->SetInsideValue(  0 );
 
-  //Definción de conexiónes entre VTK e ITK y el writer
+  //DefinciÛn de conexiÛnes entre VTK e ITK y el writer
   typedef itk::VTKImageToImageFilter<OutputImageType2> ConnectorType;
   typedef itk::ImageToVTKImageFilter<OutputImageType> ConnectorType2;
   typedef  itk::ImageFileWriter<  OutputImageType  > WriterType;
@@ -1271,7 +1271,7 @@ myfile.open ("C:/Creatis/example2.txt");
                        std::cout<<" x Anterior "<<xAct<<" x actual "<<x<<std::endl;
                std::cout<<" y Anterior "<<yAct<<" y actual "<<y<<std::endl;
                std::cout<<" x "<<p[0]<<" y "<<p[1]<<std::endl;
-                       vecZ.push_back( -900 );
+                       vecZ.push_back( 900 );
                        xAct=x;
                        yAct=y;
                        }
@@ -1295,7 +1295,7 @@ myfile.open ("C:/Creatis/example2.txt");
                std::cout<<" y Anterior "<<yAct<<" y actual "<<y<<std::endl;
                std::cout<<" x "<<p[0]<<" y "<<p[1]<<std::endl;
                vecY.push_back( p[1] );
-               vecZ.push_back( -900 );
+               vecZ.push_back( 900 );
                xAct=x;
                yAct=y;
                }
@@ -1308,7 +1308,7 @@ myfile.open ("C:/Creatis/example2.txt");
                vecX.push_back(vecXo.back());
                std::cout<<" x Siguiente "<<vecXo.back();
                vecXo.pop_back();
-               vecZ.push_back( -900 );
+               vecZ.push_back( 900 );
        }
        while(!vecYo.empty())
        {
@@ -1562,7 +1562,7 @@ myfile.close();
 //             double y=p[1];
                vecX.push_back( p[0] );
                vecY.push_back( p[1] );
-               vecZ.push_back( -900 );
+               vecZ.push_back( 900 );
 //                     vecZ.push_back( p[2] );
        }