/dports/science/py-dipy/dipy-1.4.1/dipy/align/tests/ |
H A D | test_reslice.py | 20 data2, affine2 = reslice(data[..., 0], affine, zooms, new_zooms, order=1, 22 img2 = nib.Nifti1Image(data2, affine2) 28 data2, affine2 = reslice(data, affine, zooms, new_zooms, order=0, 35 data3, affine2 = reslice(data, affine, zooms, new_zooms, order=5, 49 data2, affine2 = reslice(data, affine, zooms, new_zooms) 53 assert_almost_equal(affine2, _affine) 58 assert_almost_equal(affine2, affine3) 63 assert_almost_equal(affine2, affine3)
|
/dports/science/py-dipy/dipy-1.4.1/doc/examples/ |
H A D | reslice_datasets.py | 59 data2, affine2 = reslice(data, affine, voxel_size, new_voxel_size) variable 68 save_nifti('iso_vox.nii.gz', data2, affine2) 74 img3 = nib.Spm2AnalyzeImage(data2, affine2)
|
H A D | streamline_registration.py | 61 data2, affine2 = reslice(np.asarray(img_t2_mni.dataobj), img_t2_mni.affine, variable 63 img_t2_mni = nib.Nifti1Image(data2, affine=affine2)
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Transform/test/ |
H A D | itkCompositeTransformTest.cxx | 313 AffineType::Pointer affine2 = AffineType::New(); in itkCompositeTransformTest() local 320 affine2->SetMatrix(matrix2); in itkCompositeTransformTest() 321 affine2->SetOffset(vector2); in itkCompositeTransformTest() 324 compositeTransform->AppendTransform( affine2 ); in itkCompositeTransformTest() 342 compositeTruth = affine2->TransformPoint( inputPoint ); in itkCompositeTransformTest() 360 compositeTruthVector = affine2->TransformVector( inputVector ); in itkCompositeTransformTest() 486 unsigned int affine2ParamsN = affine2->GetNumberOfParameters(); in itkCompositeTransformTest() 505 n, affine2->GetParameters().GetElement( n ) ); in itkCompositeTransformTest() 545 affine2ParamsN = affine2->GetFixedParameters().Size(); in itkCompositeTransformTest() 551 n, affine2->GetFixedParameters().GetElement( n ) ); in itkCompositeTransformTest() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/test/ |
H A D | test_affine3.cpp | 69 cv::Affine3d affine2(R, cv::Vec3d(1, 1, 0.4)); in TEST() local 71 cv::Affine3d result = affine1.inv() * affine2; in TEST() 73 expected = cv::Mat(affine1.matrix.inv(cv::DECOMP_SVD)) * cv::Mat(affine2.matrix, false); in TEST()
|
/dports/graphics/libart_lgpl/libart_lgpl-2.3.21/ |
H A D | testart.c | 199 double affine2[6]; in make_testpat() local 267 affine2[0] = 1; in make_testpat() 268 affine2[1] = -.2; in make_testpat() 269 affine2[2] = .2; in make_testpat() 270 affine2[3] = 1; in make_testpat() 271 affine2[4] = 128; in make_testpat() 272 affine2[5] = 128; in make_testpat() 318 affine2, in make_testpat()
|
/dports/print/py-reportlab/reportlab-3.5.68/src/rl_addons/renderPM/libart_lgpl/ |
H A D | testart.c | 199 double affine2[6]; in make_testpat() local 267 affine2[0] = 1; in make_testpat() 268 affine2[1] = -.2; in make_testpat() 269 affine2[2] = .2; in make_testpat() 270 affine2[3] = 1; in make_testpat() 271 affine2[4] = 128; in make_testpat() 272 affine2[5] = 128; in make_testpat() 318 affine2, in make_testpat()
|
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/input_data/tests/ |
H A D | test_nifti_maps_masker.py | 32 affine2 = np.diag((1, 2, 3, 1)) 39 fmri12_img, mask12_img = generate_random_img(shape1, affine=affine2, 113 affine2 = 2 * np.eye(4) 114 affine2[-1, -1] = 1 116 fmri22_img, _ = generate_random_img(shape22, affine=affine2, 122 affine2) 307 affine2 = np.diag((2, 2, 2, 1)) # just for mask 315 affine=affine2)
|
H A D | test_nifti_labels_masker.py | 32 affine2 = np.diag((1, 2, 3, 1)) 39 fmri12_img, mask12_img = generate_random_img(shape1, affine=affine2, 343 affine2 = 2 * np.eye(4) 344 affine2[-1, -1] = 1 346 fmri22_img, _ = generate_random_img(shape22, affine=affine2, 352 affine2)
|
/dports/science/py-dipy/dipy-1.4.1/dipy/align/ |
H A D | reslice.py | 111 affine2 = np.dot(affine, Rx) 112 return data2, affine2
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/2geom/ |
H A D | parallelogram.cpp | 57 auto const affine2 = affine1.inverse(); in intersects() local 63 unit_rect_contains(p * affine2)) { in intersects()
|
/dports/math/lib2geom/lib2geom-1.1/src/2geom/ |
H A D | parallelogram.cpp | 57 auto const affine2 = affine1.inverse(); in intersects() local 63 unit_rect_contains(p * affine2)) { in intersects()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/IO/TransformMINC/test/ |
H A D | itkIOTransformMINCTest.cxx | 117 …AffineTransformType::Pointer affine2 = static_cast<AffineTransformType*>(list.front().GetPointer()… in check_linear() local 120 affine2->Print( std::cout ); in check_linear() 135 v2= affine2->TransformPoint( pnt2 ); in check_linear()
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/ |
H A D | affine.hpp | 284 Affine3<T> operator*(const Affine3<T>& affine1, const Affine3<T>& affine2); 601 cv::Affine3<T> cv::operator*(const cv::Affine3<T>& affine1, const cv::Affine3<T>& affine2) in operator *() argument 603 return affine2.concatenate(affine1); in operator *()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/ |
H A D | lpe-pts2ellipse.cpp | 207 Geom::Affine affine2; in gen_perspective_frame_paths() local 209 affine2 *= Geom::Rotate(-rot_angle); in gen_perspective_frame_paths() 212 point *= affine2; in gen_perspective_frame_paths()
|