pynwb icon indicating copy to clipboard operation
pynwb copied to clipboard

[Feature]: Non-square pixel support for GrayscaleImage, ImageSeries, etc.

Open pauladkisson opened this issue 2 years ago • 1 comments

What would you like to see added to PyNWB?

I have behavioral video and some static images with different estimated length (mm/pixel) than width (mm/pixel). I would like to specify this in the images/ImageSeries' but there is only a scalar resolution field.

Is your feature request related to a problem?

No response

What solution would you like?

All image neurodata_types should implement a grid_spacing like pynwb.ophys.ImagingPlane.

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

pauladkisson avatar Jul 29 '23 19:07 pauladkisson

@pauladkisson Thanks, could you also raise an issue on https://github.com/NeurodataWithoutBorders/nwb-schema/issues for the core schema change (which will also affect MatNWB)

Specific to here on PyNWB, the inits to all of the affected classes could be made to take the classic scalar and assume the effect is square, such that the change to allow a tuple or list as input is seen as a new feature not a break to compatability

CodyCBakerPhD avatar Jul 30 '23 15:07 CodyCBakerPhD