Skip to content

Pixel conventions #19

@dschodt

Description

@dschodt

Some core pieces of smite are using the pixel convention that the center of a pixel is coordinate 0.5. As in, if we have a one pixel image, the left edge is coordinate 0 and the right edge is coordinate 1. We had previously discussed using the convention that the center of a pixel is the index (i.e., left edge is coordinate 0.5 and right edge is coordinate 1.5). Do we still plan to make this switch? If so, what needs to be changed?

From what I've seen, changes will be needed in:

  • smi_core.GaussMLE
  • smi_sim.GaussBlobs
  • smi_sim.SimSPT (and maybe smi_sim.SimSMLM)
  • smi.SPT (for density calculations)
  • perhaps several smi_vis classes (e.g., GenerateMovies)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions