# \#bspline

**URL:** https://discourse.itk.org/tag/bspline/169.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [Is it possible to create a user-defined cost function for registration?](https://discourse.itk.org/t/is-it-possible-to-create-a-user-defined-cost-function-for-registration/6677)

<div class="topic-metadata">

**Author:** [@Vidya](https://discourse.itk.org/u/Vidya)\
**Replies:** 0\
**Last updated:** [June 6, 2024, 7:35am UTC](https://discourse.itk.org/t/is-it-possible-to-create-a-user-defined-cost-function-for-registration/6677 "2024-06-06T07:35:45Z")

</div>

Hi, I am trying register two images with Bspline. I tried with itk::MeanSquaresImageToImageMetricv4 and itk::MattesMutualInformationImageToImageMetricv4. Both doesn’t give the correct registration for all the images. I w…

---

## [ITK functions need more documentation](https://discourse.itk.org/t/itk-functions-need-more-documentation/5817)

<div class="topic-metadata">

**Author:** [@imranmuet](https://discourse.itk.org/u/imranmuet)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 12:41pm UTC](https://discourse.itk.org/t/itk-functions-need-more-documentation/5817 "2024-04-03T12:41:57Z")

</div>

Dear All: I am new in this field and implementing a registration code. But when I search Simple ITK documentation, I find it unfriendly for complete beginners. For example, when I search online to understand the code \`s…

---

## [Parameters in BSplineTransform](https://discourse.itk.org/t/parameters-in-bsplinetransform/3395)

<div class="topic-metadata">

**Author:** [@prms](https://discourse.itk.org/u/prms)\
**Replies:** 10\
**Last updated:** [December 20, 2022, 2:19pm UTC](https://discourse.itk.org/t/parameters-in-bsplinetransform/3395 "2022-12-20T14:19:34Z")

</div>

I’m trying to register images using BSplineTransform. I’m not clear about the total number of parameters in case of BSplineTransform. In the case of AffineTransform, for 3D images, there are 12 parameters and I can count…

---

## [\[Solved\] BSplineTransformation from displacement vectors](https://discourse.itk.org/t/solved-bsplinetransformation-from-displacement-vectors/5372)

<div class="topic-metadata">

**Author:** [@Flemingjp](https://discourse.itk.org/u/Flemingjp)\
**Replies:** 5\
**Last updated:** [September 29, 2022, 10:50am UTC](https://discourse.itk.org/t/solved-bsplinetransformation-from-displacement-vectors/5372 "2022-09-29T10:50:47Z")

</div>

I have pairs of points that describes the displacement between one image to another image. How can I use these points to construct a BSplineTransform? An example of these points \[0 0\] -\> \[18.53 57.52 \] \[76 0\] -\> \[90.7…

---

## [How to \`itk.resample\_image\_filter\` with a \`BSplineTransform\` with 3D images?](https://discourse.itk.org/t/how-to-itk-resample-image-filter-with-a-bsplinetransform-with-3d-images/4987)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 11\
**Last updated:** [August 16, 2022, 9:06am UTC](https://discourse.itk.org/t/how-to-itk-resample-image-filter-with-a-bsplinetransform-with-3d-images/4987 "2022-08-16T09:06:57Z")

</div>

Table of Contents 1. How to itk.resample\_image\_filter with a BSplineTransform with 3D images? 1.1. What I have tried 1.1.1. Inputs (data) 1.1.2. Failed attempt with resample\_image\_filter 1.1.3. Useless result wit…

---

## [control rigidity in bspline registration](https://discourse.itk.org/t/control-rigidity-in-bspline-registration/4380)

<div class="topic-metadata">

**Author:** [@mary\_na](https://discourse.itk.org/u/mary_na)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 6:47pm UTC](https://discourse.itk.org/t/control-rigidity-in-bspline-registration/4380 "2021-08-29T18:47:21Z")

</div>

Hello! In general the cost function of registration optimization could have two part. One for similarity measurement and the other to control rigidity (registration penalty). In itk I just can change similarity metric. I…

---

## [BSpline Multiresolution error while setting Transform](https://discourse.itk.org/t/bspline-multiresolution-error-while-setting-transform/3562)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 8\
**Last updated:** [November 11, 2020, 6:54pm UTC](https://discourse.itk.org/t/bspline-multiresolution-error-while-setting-transform/3562 "2020-11-11T18:54:29Z")

</div>

Hello, everyone. I am writing a MULTISTAGE registration pipeline. 1st Stage is a 3D rigid one; the output is added into CompositTransform object; Then I set the CompositTransform as the initial transform of the Defo…
