/dports/math/saga/saga-8.1.3/saga-gis/src/tools/imagery/imagery_vigra/ |
H A D | vigra_fft.cpp | 69 Image.resize(Real.Get_NX(), Real.Get_NY()); in Copy_ComplexGrid_SAGA_to_VIGRA() 81 for(int x=0; x<Real.Get_NX(); x++) in Copy_ComplexGrid_SAGA_to_VIGRA() 109 for(int x=0; x<Real.Get_NX(); x++) in Copy_ComplexGrid_VIGRA_to_SAGA() 135 for(int x=0; x<Real.Get_NX(); x++) in Copy_ComplexGrid_VIGRA_to_SAGA() 205 vigra::FFTWComplexImage Output(Get_NX(), Get_NY()); in On_Execute() 215 vigra::FFTWComplexImage tmp(Get_NX(), Get_NY()); in On_Execute() 299 vigra::FFTWComplexImage tmp(Get_NX(), Get_NY()); in On_Execute() 362 vigra::FImage Input, Output(Get_NX(), Get_NY()); in On_Execute() 496 vigra::FImage Input, Filter_Raw(Get_NX(), Get_NY()), Filter_(Get_NX(), Get_NY()); in On_Execute() 505 for(int x=0; x<Get_NX(); x++) in On_Execute() [all …]
|
H A D | vigra.h | 77 Image.resize(Grid.Get_NX(), Grid.Get_NY()); in Copy_Grid_SAGA_to_VIGRA() 80 if( Grid.Get_NX() != Image.width() || Grid.Get_NY() != Image.height() ) in Copy_Grid_SAGA_to_VIGRA() 87 for(int x=0; x<Grid.Get_NX(); x++) in Copy_Grid_SAGA_to_VIGRA() 107 if( Grid.Get_NX() != Image.width() || Grid.Get_NY() != Image.height() ) in Copy_Grid_VIGRA_to_SAGA() 114 for(int x=0; x<Grid.Get_NX(); x++) in Copy_Grid_VIGRA_to_SAGA()
|
H A D | vigra.cpp | 66 Image.resize(Grid.Get_NX(), Grid.Get_NY()); in Copy_RGBGrid_SAGA_to_VIGRA() 69 if( Grid.Get_NX() != Image.width() || Grid.Get_NY() != Image.height() ) in Copy_RGBGrid_SAGA_to_VIGRA() 76 for(int x=0; x<Grid.Get_NX(); x++) in Copy_RGBGrid_SAGA_to_VIGRA() 97 if( Grid.Get_NX() != Image.width() || Grid.Get_NY() != Image.height() ) in Copy_RGBGrid_VIGRA_to_SAGA() 104 for(int x=0; x<Grid.Get_NX(); x++) in Copy_RGBGrid_VIGRA_to_SAGA()
|
H A D | vigra_watershed.cpp | 127 vigra::FImage Input, Output(Get_NX(), Get_NY()); in On_Execute() 139 vigra::BRGBImage Input, Output(Get_NX(), Get_NY()); in On_Execute() 187 vigra::BasicImage<TmpType> gradientx (Get_NX(), Get_NY()); in Segmentation() 188 vigra::BasicImage<TmpType> gradienty (Get_NX(), Get_NY()); in Segmentation() 189 vigra::FImage gradientmag (Get_NX(), Get_NY()); in Segmentation() 190 vigra::IImage labels (Get_NX(), Get_NY()); in Segmentation()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_preprocessor/ |
H A D | FillSinks.cpp | 113 …pW = new CSG_Grid(SG_DATATYPE_Double, pDEM->Get_NX(), pDEM->Get_NY(), pDEM->Get_Cellsize(), pDEM… in On_Execute() 114 …pBorder = new CSG_Grid(SG_DATATYPE_Int , pDEM->Get_NX(), pDEM->Get_NY(), pDEM->Get_Cellsize(), … in On_Execute() 123 …C0[0] = 0; C0[1] = Get_NX()-1; C0[2] = Get_NX()-1; C0[3] = 0; C0[4] = Get_NX()-1; C0[5] = 0; C0[6]… in On_Execute() 127 …fC[0] = -Get_NX()+1, fC[1] = Get_NX()-1; fC[2] = -1; fC[3] = 1; fC[4] = Get_NX()-1; fC[5] = -Get_N… in On_Execute() 131 for(x=0; x<Get_NX(); x++) // Stage 2, Section 1 in On_Execute() 230 for(x=0; x<Get_NX(); x++) in Init_Altitude() 267 if( R < 0 || C < 0 || R >= Get_NY() || C >= Get_NX() ) in Next_Cell() 272 if( R < 0 || C < 0 || R >= Get_NY() || C >= Get_NX() ) in Next_Cell()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/projection/pj_proj4/ |
H A D | gcs_lon_range.cpp | 120 && pSystem->Get_NX() * pSystem->Get_Cellsize() == 360.0 && pSystem->Get_XMin() == 0.0 in On_Parameters_Enable() 164 Target.Assign(Get_Cellsize(), Get_XMin() - 360.0, Get_YMin(), Get_NX(), Get_NY()); in On_Execute() 172 …else if( Get_NX() * Get_Cellsize() == 360.0 && Get_XMin() == 0.0 && Parameters("PATCH")->asBool() ) in On_Execute() 176 Target.Assign(Get_Cellsize(), -180.0, Get_YMin(), Get_NX() + 1, Get_NY()); in On_Execute() 182 Target.Assign(Get_Cellsize(), Get_XMin() - 180.0, Get_YMin(), Get_NX(), Get_NY()); in On_Execute() 199 Target.Assign(Get_Cellsize(), Get_XMin() + 360.0, Get_YMin(), Get_NX(), Get_NY()); in On_Execute() 211 Target.Assign(Get_Cellsize(), Get_XMin() + 180.0, Get_YMin(), Get_NX(), Get_NY()); in On_Execute() 229 for(int x=0, xx=xZero; x<Target.Get_NX(); x++, xx++) in On_Execute() 231 if( xx >= Get_NX() ) in On_Execute()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/imagery/imagery_opencv/ |
H A D | opencv.cpp | 95 if( pGrid && (!bCheckSize || (pGrid->Get_NX() == Matrix.cols && pGrid->Get_NY() == Matrix.rows)) ) in Copy_Grid_To_CVMatrix() 97 int nx = pGrid->Get_NX() < Matrix.cols ? pGrid->Get_NX() : Matrix.cols; in Copy_Grid_To_CVMatrix() 129 if( pGrid && (!bCheckSize || (pGrid->Get_NX() == Matrix.cols && pGrid->Get_NY() == Matrix.rows)) ) in Copy_CVMatrix_To_Grid() 131 int nx = pGrid->Get_NX() < Matrix.cols ? pGrid->Get_NX() : Matrix.cols; in Copy_CVMatrix_To_Grid() 186 …if( pGrid && pGrid->is_Valid() && Get_CVMatrix(Matrix, pGrid->Get_NX(), pGrid->Get_NY(), Type == S… in Get_CVMatrix() 238 …if( pImage && pGrid && (!bCheckSize || (pGrid->Get_NX() == pImage->width && pGrid->Get_NY() == pIm… in Copy_Grid_To_CVImage() 240 int nx = pGrid->Get_NX() < pImage->width ? pGrid->Get_NX() : pImage->width; in Copy_Grid_To_CVImage() 274 …if( pImage && pGrid && (!bCheckSize || (pGrid->Get_NX() == pImage->width && pGrid->Get_NY() == pIm… in Copy_CVImage_To_Grid() 276 int nx = pGrid->Get_NX() < pImage->width ? pGrid->Get_NX() : pImage->width; in Copy_CVImage_To_Grid() 333 …if( pGrid && pGrid->is_Valid() && (pImage = Get_CVImage(pGrid->Get_NX(), pGrid->Get_NY(), Type == … in Get_CVImage()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_tools/ |
H A D | Grid_CropToData.cpp | 86 for(int x=0; x<Get_NX(); x++) in On_Execute() 128 if( System.Get_NX() == Get_NX() && System.Get_NY() == Get_NY() ) in On_Execute() 139 Get_NX(), Get_NX() - System.Get_NX(), System.Get_NX(), in On_Execute()
|
H A D | Grid_Gaps.cpp | 175 n = Get_NX() > Get_NY() ? Get_NX() : Get_NY(); in Tension_Main() 228 for(x=0; x<Get_NX(); x+=iStep) in Tension_Init() 237 nx = x + iStep < Get_NX() ? x + iStep : Get_NX(); in Tension_Init() 267 for(x=0; x<Get_NX(); x+=iStep) in Tension_Init() 322 for(x=0; x<Get_NX(); x+=iStep) in Tension_Step() 342 for(x=0; x<Get_NX(); x+=iStep) in Tension_Step()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/io/io_grid/ |
H A D | surfer.cpp | 199 fread(Line, pGrid->Get_NX(), sizeof(double), Stream); in On_Execute() 201 for(int x=0; x<pGrid->Get_NX(); x++) in On_Execute() 231 float *Line = (float *)SG_Malloc(pGrid->Get_NX() * sizeof(float)); in On_Execute() 235 fread(Line, pGrid->Get_NX(), sizeof(float), Stream); in On_Execute() 237 for(int x=0; x<pGrid->Get_NX(); x++) in On_Execute() 263 for(int x=0; x<pGrid->Get_NX(); x++) in On_Execute() 399 float *fLine = (float *)SG_Malloc(pGrid->Get_NX() * sizeof(float)); in On_Execute() 403 for(int x=0; x<pGrid->Get_NX(); x++) in On_Execute() 408 fwrite(fLine, pGrid->Get_NX(), sizeof(float), Stream); in On_Execute() 425 fprintf(Stream, "%d %d\n", pGrid->Get_NX (), pGrid->Get_NY ()); in On_Execute() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/statistics/statistics_grid/ |
H A D | fast_representativeness.cpp | 157 (int)(pOrgInput->Get_NX()/Lod+1), in On_Execute() 165 (int)(pOrgInput->Get_NX()/Lod+1), in On_Execute() 209 pInput->Get_NX()/2, in FastRep_Local_Sum() 215 for (int x = 0; x < pInput->Get_NX() - 1; x += 2) in FastRep_Local_Sum() 241 for (x = 0; x < pOutput->Get_NX(); x++) in FastRep_Execute() 259 logNx2 = log((double)pOrgInput->Get_NX())/log(2.0f); in FastRep_Initialize() 279 for ( x = 0; x < Pow2Grid->Get_NX(); x++) in FastRep_Initialize() 285 if(x >= pOrgInput->Get_NX()&&y<pOrgInput->Get_NY()) in FastRep_Initialize() 461 else if (ix >= Sum[deep]->Get_NX()) in FastRep_Get_Variance() 521 for (x = 0; x < in->Get_NX(); x++) in smooth_rep() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/simulation/sim_qm_of_esp/ |
H A D | hillslope_evolution_adi.cpp | 322 if( x < 0 ) x = 0; else if( x >= Get_NX() ) x = Get_NX() - 1; in Get_Elevation() 338 for(x=0; x<Get_NX(); x++) in Set_Diffusion() 388 CSG_Vector a(Get_NX()), b(Get_NX()), c(Get_NX()), u(Get_NX()), r(Get_NX()); in Set_Diffusion() 390 for(x=0; x<Get_NX(); x++) in Set_Diffusion() 399 else if( x == Get_NX() - 1 ) in Set_Diffusion() 424 for(x=0; x<Get_NX(); x++) in Set_Diffusion()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_api/ |
H A D | grid_operation.cpp | 97 for(int x=0; x<Get_NX(); x++) in Assign() 144 for(int x=0; x<Get_NX(); x++) in Assign() 230 for(int x=0; x<Get_NX(); x++) in _Assign_Interpolated() 318 for(int x=0; x<Get_NX(); x++) in _Assign_MeanValue() 411 for(int x=0; x<Get_NX(); x++) in _Assign_Majority() 425 if( bx > pGrid->Get_NX() ) in _Assign_Majority() 427 bx = pGrid->Get_NX(); in _Assign_Majority() 641 for(int x=0; x<Get_NX(); x++) in _Operation_Arithmetic() 706 for(int x=0; x<Get_NX(); x++) in _Operation_Arithmetic() 744 for(int x=0; x<Get_NX(); x++) in Invert() [all …]
|
H A D | tool_grid_interactive.cpp | 92 else if( x >= Get_NX() ) in Get_Grid_Pos() 94 bResult = false; x = Get_NX() - 1; in Get_Grid_Pos() 130 else if( x >= Get_NX() ) in Get_xGrid() 132 x = Get_NX() - 1; in Get_xGrid()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/simulation/sim_cellular_automata/ |
H A D | Wator.cpp | 192 for(int x=0; x<m_pWator->Get_NX(); x++) in On_Execute() 234 for(int x=0; x<m_pWator->Get_NX(); x++) in On_Execute() 291 …t_System().Get_xTo(i, x); if( ix < 0 ) ix = m_pWator->Get_NX() - 1; else if( ix >= m_pWator->Get_N… 297 …t_System().Get_xTo(i, x); if( ix < 0 ) ix = m_pWator->Get_NX() - 1; else if( ix >= m_pWator->Get_N… 318 default: ay = m_pWator->Get_NY() - 1; dy = -1; ax = m_pWator->Get_NX() - 1; dx = -1; iDir=0; break; in Next_Cycle() 319 case 2: ay = 0; dy = 1; ax = m_pWator->Get_NX() - 1; dx = -1; iDir++; break; in Next_Cycle() 327 for(xx=0, x=ax; xx<m_pWator->Get_NX(); xx++, x+=dx) in Next_Cycle() 376 for(xx=0, x=ax; xx<m_pWator->Get_NX(); xx++, x+=dx) in Next_Cycle() 470 for(x=0; x<m_pWator->Get_NX(); x++) in Next_Cycle()
|
H A D | Life.cpp | 148 …int Method = Parameters("REFRESH")->asInt(), cx = m_pLife->Get_NX() / 2, cy = m_pLife->Get_NY() / … in On_Execute() 152 for(int x=0; x<m_pLife->Get_NX(); x++) in On_Execute() 218 for(int x=0; x<m_pLife->Get_NX(); x++) in Next_Cycle() 227 if( ix < 0 ) ix = m_pLife->Get_NX() - 1; else if( ix >= m_pLife->Get_NX() ) ix = 0; in Next_Cycle() 249 for(int x=0; x<m_pLife->Get_NX(); x++) in Next_Cycle()
|
H A D | Hodgepodge.cpp | 179 for(int x=0; x<Get_NX(); x++) in On_Execute() 196 for(int x=0; x<Get_NX(); x++) in On_Execute() 242 int jx = 0 <= ix ? (ix < Get_NX() ? ix : ix - Get_NX()) : ix + Get_NX(); in Set_State()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/imagery/imagery_segmentation/ |
H A D | slic.cpp | 268 default: return( M_GET_MAX(M_GET_MIN(i, Get_NX() - 1), 0) ); in Fit_To_Grid_System() 492 for(int x=0; x<Get_NX(); x++) in Get_Segments() 558 for(int x=0; x<Get_NX(); x++) in Get_Segments() 610 for(int x=1; x<Get_NX()-1; x++) in Get_Edge() 648 (int)ceil((double)Get_NX() / Size), in Get_Centroids() 670 for(int cx=0; cx<System.Get_NX(); cx++) in Get_Centroids() 768 int ix = Get_xTo(i, (int)(Cell % Get_NX())); in Get_Generalized() 769 int iy = Get_yTo(i, (int)(Cell / Get_NX())); in Get_Generalized() 784 int ix = Get_xTo(i, (int)(open % Get_NX())); in Get_Generalized() 785 int iy = Get_yTo(i, (int)(open / Get_NX())); in Get_Generalized() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/contrib/contrib_perego/ |
H A D | directional1.cpp | 80 for(x=0; x<Get_NX(); x++) in On_Execute() 86 if( (bx = x + dxmax) >= Get_NX() ) { bx = Get_NX() - 1; } in On_Execute() 117 for(x=0; x<Get_NX(); x++) in On_Execute() 123 if( (bx = x + dxmax) >= Get_NX() ) { bx = Get_NX() - 1; } in On_Execute()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/develop/dev_exercises/ |
H A D | Exercise_03.cpp | 168 for(x=0; x<Get_NX()-1; x++) in Method_01() 187 m_pOutput->Set_NoData(Get_NX() - 1, y); // what shall we do with the last cell in a row ??!! in Method_01() 210 while( x < Get_NX() - 1 ) // condition for x... in Method_02() 231 m_pOutput->Set_NoData(Get_NX() - 1, y); // what shall we do with the last cell in a row ??!! in Method_02() 252 for(x=0, ix=1; x<Get_NX()-1; x++, ix++) in Method_03() 290 for(x=0, ix=1; x<Get_NX()-1; x++, ix++) in Method_04()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/projection/pj_georeference/ |
H A D | georef_grid_move.cpp | 166 for(x=0, ix=dx; x<m_pGrid->Get_NX(); x++, ix++) in On_Execute_Position() 168 if( ix >= 0 && ix < m_pSource->Get_NX() ) in On_Execute_Position() 180 for(x=0; x<m_pGrid->Get_NX(); x++) in On_Execute_Position() 209 …m_pGrid = new CSG_Grid(m_pSource->Get_Type(), m_pSource->Get_NX(), m_pSource->Get_NY(), m_pSource-… in On_Execute_Finish() 220 for(int x=0; x<m_pGrid->Get_NX(); x++) in On_Execute_Finish()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_filter/ |
H A D | geomrec.cpp | 136 numrows = Get_NX(); in On_Execute() 144 for (int x = 0; x < Get_NX (); x++) in On_Execute() 151 else if ((pborder) && ((x==0)||(y==0)||(x==Get_NX()-1)||(y==Get_NY()-1))) in On_Execute() 169 for (int x = 0; x < Get_NX (); x++) in On_Execute() 182 for (int x = 0; x < Get_NX (); x++) in On_Execute()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_grid/ |
H A D | Grid_Polygon_Clip.cpp | 153 for(int x=0, ix=ax; x<System.Get_NX(); x++, ix++) in On_Execute() 199 for(int x=0; x<Get_NX(); x++) in Get_Output() 290 bool *bCrossing = new bool[Get_NX()]; in Get_Mask() 310 …World_to_Grid(pPolygon->Get_Extent().Get_XMax()) + 1; if( xStop >= Get_NX() ) xStop = Get_NX() - 1; in Get_Mask() 322 memset(bCrossing, 0, Mask.Get_NX() * sizeof(bool)); in Get_Mask() 344 else if( ix >= Mask.Get_NX() ) in Get_Mask()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_spline/ |
H A D | Gridding_Spline_MBA_Grid.cpp | 246 if( 2 * (Psi_0.Get_NX() - 4) != (Psi_1.Get_NX() - 4) in _Set_MBA_Refinement() 257 for(int x=0, xx=-1; x<Psi_0.Get_NX(); x++, xx+=2) in _Set_MBA_Refinement() 314 for(int x=0; x<m_Points.Get_NX(); x++) in _Get_Difference() 377 for(int yy=0; yy<m_Points.Get_NY(); yy++) for(int xx=0; xx<m_Points.Get_NX(); xx++) in BA_Set_Phi() 388 if( x >= 0 && x < Phi.Get_NX() - 3 && y >= 0 && y < Phi.Get_NY() - 3 ) in BA_Set_Phi() 424 for(int x=0; x<Phi.Get_NX(); x++) in BA_Set_Phi() 447 if( x >= 0 && x < Phi.Get_NX() - 3 && y >= 0 && y < Phi.Get_NY() - 3 ) in BA_Get_Phi() 473 for(int x=0; x<m_pGrid->Get_NX(); x++) in BA_Set_Grid()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_hydrology/ |
H A D | Helper.cpp | 30 for(int x=0; x<pDEM->Get_NX(); x++) in Init_FlowDirectionsD8() 52 if (iX < 1 || iX >= g->Get_NX() - 1 || iY < 1 || iY >= g->Get_NY() - 1 in getNextCell() 96 if (iX < 1 || iX >= g->Get_NX() - 1 || iY < 1 || iY >= g->Get_NY() - 1 in getNextCell() 139 if (iX2 <= 0 || iX2 >= pDEM->Get_NX() || iY2 <= 0 || iY2 >= pDEM->Get_NY() || in FlowDistance() 140 iX <= 0 || iX >= pDEM->Get_NX() || iY <= 0 || iY >= pDEM->Get_NY() ) { in FlowDistance() 216 for(x=0; x<pDEM->Get_NX(); x++){ in CalculateFlowAccGrid()
|