Giter Site home page Giter Site logo

Comments (5)

TimothyZero avatar TimothyZero commented on July 30, 2024

你可以修改num_control_points(越少变形越明显,不建议低于5)或者max_displacement(越大变形越明显,不得超过1)

from medvision.

SLKaMiHi avatar SLKaMiHi commented on July 30, 2024

你可以修改num_control_points(越少变形越明显,不建议低于5)或者max_displacement(越大变形越明显,不得超过1)

按照您的建议我进行了修改,图像的标签确实产生了大的变形,但是我发现,图像并没有产生相应的变形,只是在标签上产生了变形。如图所示:
变换的图像
原图像中图像和标签是可以很好的重合的。如下图:
原图像
.
此外,我在将方法应用到我自己的数据集的时候产生了如下结果,不知道是为什么,希望您能帮我解答一下。
自己的数据集
非常感谢!

from medvision.

TimothyZero avatar TimothyZero commented on July 30, 2024

非常抱歉,我在版本升级时忘了修改test脚本示例,你需要指定
result = {
'img_dim': 2,
'img_spacing': (1.0, 1.0),
'filename': img_filename,
'img': img,
'img_fields': ['img'],
'gt_det': det,
'det_fields': ['gt_det'],
'gt_seg': seg,
'seg_fields': ['gt_seg']
}
中的'img_fields'或det_fields或seg_fields

from medvision.

TimothyZero avatar TimothyZero commented on July 30, 2024

此外,我在将方法应用到我自己的数据集的时候产生了如下结果,不知道是为什么,希望您能帮我解答一下。

关于这个你需要注意的是我使用了均值为-400,标准差为700的归一化操作,具体参见test.load_utils.load_3d_image_with_seg

from medvision.

SLKaMiHi avatar SLKaMiHi commented on July 30, 2024

此外,我在将方法应用到我自己的数据集的时候产生了如下结果,不知道是为什么,希望您能帮我解答一下。

关于这个你需要注意的是我使用了均值为-400,标准差为700的归一化操作,具体参见test.load_utils.load_3d_image_with_seg

根据您的建议我已经得到了正确的结果。非常感谢!

from medvision.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.