Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnetbin2pvl not printing some values #2698

Closed
ascbot opened this issue Feb 25, 2019 · 5 comments
Closed

cnetbin2pvl not printing some values #2698

ascbot opened this issue Feb 25, 2019 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ascbot
Copy link
Contributor

ascbot commented Feb 25, 2019


Author Name: Guy McArthur (Guy McArthur)


Sometimes, there is a matched point with a LineResidual but not a SampleResidual (possibly it was 0.0).
PS Can't attach a binary control net file.

@ascbot ascbot added the bug Something isn't working label Feb 25, 2019
@ascbot
Copy link
Contributor Author

ascbot commented Feb 25, 2019


Original Redmine Comment
Author Name: Makayla Shepherd (Makayla Shepherd)
Original Date: 2018-11-06T21:08:45Z


Can you describe the circumstances where it doesn't print out?

@ascbot
Copy link
Contributor Author

ascbot commented Feb 25, 2019


Original Redmine Comment
Author Name: Guy McArthur (Guy McArthur)
Original Date: 2018-11-06T23:12:56Z


Here's an example, from a the control net generated by hijitreg:


  Object = ControlPoint
    PointType   = Free
    PointId     = "Row 12 Column 5"
    ChooserName = hijitreg
    DateTime    = 2018-11-05T13:38:46

    Group = ControlMeasure
      SerialNumber  = MRO/HIRISE/847420242:06854/RED4/2
      MeasureType   = RegisteredPixel
      ChooserName   = hijitreg
      DateTime      = 2018-11-05T13:38:46
      Sample        = 935.0
      Line          = 1252.9986857831
      LineResidual  = -2.9986857830579 <pixels>
      GoodnessOfFit = 0.9299503231071
    End_Group

    Group = ControlMeasure
      SerialNumber = MRO/HIRISE/847420242:06854/IR10/2
      MeasureType  = Candidate
      ChooserName  = hijitreg
      DateTime     = 2018-11-05T13:38:46
      Sample       = 935.0
      Line         = 1250.0
      Reference    = True
    End_Group
  End_Object

@ascbot
Copy link
Contributor Author

ascbot commented Feb 25, 2019


Original Redmine Comment
Author Name: Jesse Mapel (Jesse Mapel)
Original Date: 2018-11-26T15:44:32Z


Hi guy,

It looks like you're spot on about the sample residual being 0. There is a check for 0 residual before writing out the residual.

For future developer reference, here's the line in question https://github.com/jessemapel/ISIS3/blob/dev/isis/src/control/objs/ControlNetVersioner/ControlNetVersioner.cpp#L504

  • Jesse Mapel

@jessemapel jessemapel added this to the 3.7.0 milestone Mar 26, 2019
@jessemapel
Copy link
Contributor

We should either document this behavior or change it to always output the residuals.

@acpaquette acpaquette self-assigned this Mar 26, 2019
@jlaura
Copy link
Collaborator

jlaura commented Mar 29, 2019

@acpaquette I am going to close this because I think you fixed it in #3194?

@jlaura jlaura closed this as completed Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants