Home
last modified time | relevance | path

Searched refs:RealPixel (Results 1 – 25 of 35) sorted by relevance

12

/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Image/test/
H A DtestConvolutionFunction.cc39 GenericImage<RealPixel> Gaussian(double sigma, double dx) in Gaussian()
44 ScalarFunctionToImage<RealPixel> generator; in Gaussian()
48 RealPixel sum = .0; in Gaussian()
61 GenericImage<RealPixel> image (test_file); in TEST()
62 GenericImage<RealPixel> output(image.GetImageAttributes()); in TEST()
63 GenericImage<RealPixel> xkernel = Gaussian(sigma, image.GetXSize()); in TEST()
64 GenericImage<RealPixel> ykernel = Gaussian(sigma, image.GetYSize()); in TEST()
65 GenericImage<RealPixel> zkernel = Gaussian(sigma, image.GetZSize()); in TEST()
67 ConvolveMirroredForegroundInX<RealPixel> xconv(&image, &xkernel); in TEST()
69 ConvolveMirroredForegroundInY<RealPixel> yconv(&image, &ykernel); in TEST()
[all …]
H A DtestDownsampling.cc57 GenericImage<RealPixel> pyramid[levels]; in TEST()
61 GaussianBlurring<RealPixel> blur(.7 * pyramid[l-1].GetXSize(), in TEST()
67 Resampling<RealPixel> resample(pyramid[l-1].GetX() / 2, in TEST()
H A DtestDisplacementToVelocityField.cc49 GenericImage<RealPixel> disp; in init()
58 GaussianNoise<RealPixel> noise(0.0, sigma, -fabs(max), +fabs(max)); in init()
65 GaussianBlurring<RealPixel> blur(1.25); in init()
70 GaussianBlurring2D<RealPixel> blur(1.25); in init()
/dports/misc/openmvg/openMVG-2.0/src/openMVG/image/
H A Dsample.hpp315 struct RealPixel struct
345 struct RealPixel<unsigned char> struct
381 struct RealPixel<float> struct
412 struct RealPixel<Rgb<T>> struct
434 return base_type( RealPixel<T>::convert_from_real( val.r() ) , in convert_from_real()
435 RealPixel<T>::convert_from_real( val.g() ) , in convert_from_real()
445 struct RealPixel<Rgba<T>> struct
512 typename RealPixel<T>::real_type res( 0 ); in operator ()()
547 …const typename RealPixel<T>::real_type pix = RealPixel<T>::convert_to_real( src( cur_i , cur_j ) ); in operator ()()
548 const typename RealPixel<T>::real_type wp = pix * w; in operator ()()
[all …]
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Image/src/
H A DDownsampling.cc78 void Downsampling<VoxelType>::DiscreteKernel(GenericImage<RealPixel> &kernel, double dx) in DiscreteKernel()
84 ScalarFunctionToImage<RealPixel> generator; in DiscreteKernel()
90 RealPixel *v, sum = .0; in DiscreteKernel()
110 GenericImage<RealPixel> kernel; in Run()
130 …DownsampleConvolvedMirroredForegroundInX<VoxelType, RealPixel> downsample(&input, _DownsampleFacto… in Run()
144 …DownsampleConvolvedMirroredForegroundInY<VoxelType, RealPixel> downsample(&output, _DownsampleFact… in Run()
158 …DownsampleConvolvedMirroredForegroundInZ<VoxelType, RealPixel> downsample(&image, _DownsampleFacto… in Run()
H A DGaussianPyramidFilter.cc85 typedef DownsampleConvolvedExtendedForegroundInX<VoxelType, RealPixel> DownsampleInX; in Downsample()
86 typedef DownsampleConvolvedExtendedForegroundInY<VoxelType, RealPixel> DownsampleInY; in Downsample()
87 typedef DownsampleConvolvedExtendedForegroundInZ<VoxelType, RealPixel> DownsampleInZ; in Downsample()
94 RealPixel kernel[size] = {1, 4, 6, 4, 1}; in Downsample()
H A DDilation.cc77 template class Dilation<RealPixel>;
H A DErosion.cc77 template class Erosion<RealPixel>;
H A DScalarFunctionToImage.cc78 template class ScalarFunctionToImage<RealPixel>;
H A DClosing.cc136 template class Closing<RealPixel>;
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Applications/src/
H A Ddetect-edges.cc85 Resampling<RealPixel> resampling(ds, ds, ds); in MakeIsotropic()
96 GradientImageFilter<RealPixel> gradient; in ComputeCentralDifferences()
115 void operator ()(int i, int j, int k, int, RealPixel *out) const in operator ()()
145 void operator ()(int i, int j, int k, int, RealPixel *out) const in operator ()()
181 typedef ConvolutionFunction::ConvolveInX<RealPixel> ConvX; in ApplySobelOperator()
182 typedef ConvolutionFunction::ConvolveInY<RealPixel> ConvY; in ApplySobelOperator()
183 typedef ConvolutionFunction::ConvolveInZ<RealPixel> ConvZ; in ApplySobelOperator()
185 RealPixel h[3] = { 1.0, 2.0, 1.0}; in ApplySobelOperator()
186 RealPixel g[3] = {-1.0, .0, 1.0}; in ApplySobelOperator()
230 RealPixel padding = NaN; in main()
[all …]
H A Dcalculate-distance-map.cc170 …(int i, int j, int k, int, const BinaryPixel *isobj, const BinaryPixel *isout, RealPixel *distance) in operator ()()
174 RealPixel val(0); in operator ()()
186 RealPixel prev = *distance; in operator ()()
187 if (IsNaN(prev)) prev = RealPixel(0); in operator ()()
219 if (inside (i, j, k)) init(i, j, k) = RealPixel(0.); in ComputeLaplacianTransform()
220 else if (outside(i, j, k)) init(i, j, k) = RealPixel(1.); in ComputeLaplacianTransform()
221 else init(i, j, k) = RealPixel(NaN); in ComputeLaplacianTransform()
257 typedef EuclideanDistanceTransform<RealPixel> EuclideanDistanceTransformType; in main()
258 typedef CityBlockDistanceTransform<RealPixel> CityBlockDistanceTransformType; in main()
412 Resampling<RealPixel> resampling(ds, ds, ds); in main()
[all …]
H A Dsmooth-image.cc139 GaussianBlurring<RealPixel> blur( in main()
147 GaussianBlurring<RealPixel> blur( in main()
155 GaussianBlurring<RealPixel> blur(sigma < 0. ? abs(sigma) * input.XSize() : sigma); in main()
161 GaussianBlurring<RealPixel> blur(sigma < 0. ? abs(sigma) * input.YSize() : sigma); in main()
167 GaussianBlurring<RealPixel> blur(sigma < 0. ? abs(sigma) * input.ZSize() : sigma); in main()
179 GaussianBlurring<RealPixel> blur( in main()
H A Dcalculate-logarithmic-map.cc182 UniquePtr<VelocityToDisplacementField<RealPixel> > exp; in main()
184 exp.reset(new VelocityToDisplacementFieldSS<RealPixel>()); in main()
188 exp.reset(new VelocityToDisplacementFieldEuler<RealPixel>()); in main()
194 DisplacementToVelocityFieldBCH<RealPixel> dtov; in main()
H A Dclose-image.cc87 case MIRTK_VOXEL_REAL: Close<RealPixel >(image.get(), iterations, connectivity); break; in main()
90 Close<RealPixel>(&other, iterations, connectivity); in main()
H A Ddilate-image.cc88 case MIRTK_VOXEL_REAL: Dilate<RealPixel >(image.get(), iterations, connectivity); break; in main()
91 Dilate<RealPixel>(&other, iterations, connectivity); in main()
H A Derode-image.cc88 case MIRTK_VOXEL_REAL: Erode<RealPixel >(image.get(), iterations, connectivity); break; in main()
91 Erode<RealPixel>(&other, iterations, connectivity); in main()
H A Dcalculate-exponential-map.cc171 UniquePtr<VelocityToDisplacementField<RealPixel> > vtod; in main()
174 vtod.reset(new VelocityToDisplacementFieldSS<RealPixel>()); in main()
176 vtod.reset(new VelocityToDisplacementFieldEuler<RealPixel>()); in main()
H A Dopen-image.cc101 case MIRTK_VOXEL_REAL: Open<RealPixel >(image.get(), iterations, connectivity); break; in main()
H A Dmatch-histogram.cc107 HistogramMatching<RealPixel> match; in main()
H A Dauto-contrast.cc80 RealPixel std = image.GetSD(); in main()
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Image/include/mirtk/
H A DVoxel.h160 typedef realt RealPixel; typedef
467 typedef RealPixel RealType;
492 typedef RealPixel RealType;
502 typedef RealPixel RealType;
512 typedef RealPixel RealType;
522 typedef RealPixel RealType;
532 typedef RealPixel RealType;
542 typedef RealPixel RealType;
H A DDownsampling.h70 void DiscreteKernel(GenericImage<RealPixel> &, double);
H A DSeparableConvolution.h33 template <class TVoxel, class TKernel = RealPixel>
/dports/www/xoops/XoopsCore25-2.5.10/htdocs/modules/system/class/thumbs/
H A Dphpthumb.functions.php387 $RealPixel = self::GetPixelColor($dst_im, $dst_x + $x, $dst_y + $y);
394 …$RealPixel['alpha'] == 127 ? $OverlayPixel['red'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['r…
395 …$RealPixel['alpha'] == 127 ? $OverlayPixel['green'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel[…
396 …$RealPixel['alpha'] == 127 ? $OverlayPixel['blue'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['…
398 min([$RealPixel['alpha'], floor($OverlayPixel['alpha'] * $opacipct)])

12