Changeset 17195
- Timestamp:
- Mar 28, 2008, 3:27:52 PM (18 years ago)
- Location:
- trunk/Ohana/src/addstar/src
- Files:
-
- 2 edited
-
find_matches.c (modified) (3 diffs)
-
find_matches_refstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/find_matches.c
r16810 r17195 92 92 93 93 /* set up pointers for linked list of measure */ 94 if (catalog[0].sorted ) {94 if (catalog[0].sorted && (catalog[0].Nmeasure == catalog[0].Nmeas_disk)) { 95 95 next_meas = init_measure_links (catalog[0].average, Nave, catalog[0].measure, Nmeas); 96 96 } else { … … 220 220 /* this image star matches more than one catalog star */ 221 221 if (stars[N].found > -1) { 222 catalog[0].measure[stars[N].found].dbFlags |= BLEND_IMAGE;223 catalog[0].measure[Nmeas].dbFlags |= BLEND_IMAGE;222 catalog[0].measure[stars[N].found].dbFlags |= ID_MEAS_BLEND_MEAS; 223 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_MEAS; 224 224 } 225 225 if (stars[N].found == -2) { /* this image star matches a catalog star on a neighboring catalog */ 226 catalog[0].measure[Nmeas].dbFlags |= BLEND_IMAGE_NEIGHBOR;226 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_MEAS_X; 227 227 } 228 228 if (stars[N].found == -1) { /* this image star matches only this catalog star */ … … 231 231 /* this catalog star matches more than one image star */ 232 232 if (catalog[0].found[n] > -1) { 233 catalog[0].measure[catalog[0].found[n]].dbFlags |= BLEND_CATALOG;234 catalog[0].measure[Nmeas].dbFlags |= BLEND_CATALOG;233 catalog[0].measure[catalog[0].found[n]].dbFlags |= ID_MEAS_BLEND_OBJ; 234 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_OBJ; 235 235 } else { 236 236 catalog[0].found[n] = Nmeas; -
trunk/Ohana/src/addstar/src/find_matches_refstars.c
r16810 r17195 187 187 /* this image star matches more than one catalog star */ 188 188 if (stars[N][0].found > -1) { 189 catalog[0].measure[stars[N][0].found].dbFlags |= BLEND_IMAGE;190 catalog[0].measure[Nmeas].dbFlags |= BLEND_IMAGE;189 catalog[0].measure[stars[N][0].found].dbFlags |= ID_MEAS_BLEND_MEAS; 190 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_MEAS; 191 191 } 192 192 if (stars[N][0].found == -2) { /* this image star matches a catalog star on a neighboring catalog */ 193 catalog[0].measure[Nmeas].dbFlags |= BLEND_IMAGE_NEIGHBOR;193 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_MEAS_X; 194 194 } 195 195 if (stars[N][0].found == -1) { /* this image star matches only this catalog star */ … … 198 198 /* this catalog star matches more than one image star */ 199 199 if (catalog[0].found[n] > -1) { 200 catalog[0].measure[catalog[0].found[n]].dbFlags |= BLEND_CATALOG;201 catalog[0].measure[Nmeas].dbFlags |= BLEND_CATALOG;200 catalog[0].measure[catalog[0].found[n]].dbFlags |= ID_MEAS_BLEND_OBJ; 201 catalog[0].measure[Nmeas].dbFlags |= ID_MEAS_BLEND_OBJ; 202 202 } else { 203 203 catalog[0].found[n] = Nmeas;
Note:
See TracChangeset
for help on using the changeset viewer.
