Skip to content

3D Example intent unclear #28

@RossBoylan

Description

@RossBoylan

https://github.com/ucsf-deb/bifs/blob/master/examples/bifs_cl_3D.py seems to be about 3D images, judging not only from its name but comments within the file. But the image loaded is only 2 dimensional, even if it is a picture of something 3D.

Actually, it seems the test file is 3D, so this may be a big misunderstanding. Leaving this open until fully understood. In particular, the last paragraph below about passing 2D data to plot_param_func() remains true AFIK.

Having an actual 3D example seems like a good idea, since all of our actual work is with 3D images. Is that the intent? Should it be the intent?

If it is the intent, it is possible the input file ../tests/images/test3Dnoisy_sphere.tiff has become corrupt, or that the routines now in use are concealing 3D data that is actually there, e.g., by reading only the first slice. Have either of those things happened?

Finally, this passes 2D data to plot_param_func(), and 2D data are the only ones that prompt it to use a 3D projection! What's up with that? More about that function in a separate bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions