ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/util/apps/im_patch.c
Revision 1.27 - (view) (annotate) - [select for diffs]
Mon Jul 24 23:02:19 2017 UTC (6 years, 2 months ago) by arta
Branch: MAIN
CVS Tags: Ver_9-1, Ver_9-2, Ver_9-3, Ver_9-4
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
fix uninitialized variable

Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Jul 16 02:27:13 2017 UTC (6 years, 2 months ago) by phil
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
Changed nx to ny in the flip 180 code.  The center line for odd number of rows
was not being reversed.  Change in line 1344.

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Aug 9 19:15:26 2016 UTC (7 years, 1 month ago) by phil
Branch: MAIN
CVS Tags: Ver_8-12, Ver_9-0
Changes since 1.24: +6 -7 lines
Diff to previous 1.24
Undo yesterday's change.  Nothing was wrong.  Problem was only in jsoc_resize.

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Aug 8 21:31:48 2016 UTC (7 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.23: +9 -5 lines
Diff to previous 1.23
Fix bug in registering to center, wrong sign on dx, dy.

Revision 1.23 - (view) (annotate) - [select for diffs]
Thu May 5 05:45:08 2016 UTC (7 years, 4 months ago) by phil
Branch: MAIN
CVS Tags: Ver_8-11
Changes since 1.22: +7 -5 lines
Diff to previous 1.22
Fix placement of CRPIX1 and CRPIX2 setkey calls.

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Apr 25 00:45:38 2016 UTC (7 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.21: +62 -55 lines
Diff to previous 1.21
Fixed seg fault in get_input_recset

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Jan 14 17:30:18 2016 UTC (7 years, 8 months ago) by arta
Branch: MAIN
Changes since 1.20: +86 -32 lines
Diff to previous 1.20
Fix a bug where the record-set specification was not being parsed properly.

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Nov 11 17:31:06 2015 UTC (7 years, 10 months ago) by arta
Branch: MAIN
Changes since 1.19: +5 -2 lines
Diff to previous 1.19
Add the A flag to allow users to specify that output should be generated for all segments.

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Nov 4 18:05:02 2015 UTC (7 years, 10 months ago) by arta
Branch: MAIN
Changes since 1.18: +6 -1 lines
Diff to previous 1.18
Free output image array after use.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Nov 3 20:41:36 2015 UTC (7 years, 10 months ago) by arta
Branch: MAIN
Changes since 1.17: +35 -38 lines
Diff to previous 1.17
Maybe fix post-reorg broken registration.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Oct 27 18:45:35 2015 UTC (7 years, 10 months ago) by arta
Branch: MAIN
Changes since 1.16: +36 -2 lines
Diff to previous 1.16
If no seglist is provided in the record-set specification, then process only the first segment. Otherwise, process all segments in the seglist, as long as the dimensions all match the first segments dimensions.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Oct 21 15:08:56 2015 UTC (7 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.15: +22 -11 lines
Diff to previous 1.15
Save the original x1 and y1 values, the values before they get modifed in the paIs180 block. Then use those original values when determining patch-image overlap.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Oct 16 21:51:07 2015 UTC (7 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.14: +38 -2 lines
Diff to previous 1.14
Make the multiple-segment restrictions less severe.

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Sep 15 16:40:28 2015 UTC (8 years ago) by arta
Branch: MAIN
Changes since 1.13: +180 -50 lines
Diff to previous 1.13
Fix so that patches for segments other than the first segment are made from their own image files - before this fix, the first segments data were used for all segment patches.

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Sep 10 17:47:54 2015 UTC (8 years ago) by arta
Branch: MAIN
Changes since 1.12: +255 -208 lines
Diff to previous 1.12
Move stuff around so that things that need the input segment are inside the segment loop.

Revision 1.12 - (view) (annotate) - [select for diffs]
Wed Sep 9 18:07:00 2015 UTC (8 years ago) by arta
Branch: MAIN
Changes since 1.11: +8 -3 lines
Diff to previous 1.11
Enforce requirement that input segment is 2D FITS type of segment.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Sep 8 21:03:53 2015 UTC (8 years ago) by arta
Branch: MAIN
Changes since 1.10: +121 -15 lines
Diff to previous 1.10
Make im_patch work with more than one segment.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Jun 23 23:22:36 2014 UTC (9 years, 3 months ago) by phil
Branch: MAIN
CVS Tags: Ver_8-10, Ver_8-6, Ver_8-7, Ver_8-8
Changes since 1.9: +26 -9 lines
Diff to previous 1.9
Fix bad call to image_magrotate response.

Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Nov 13 19:06:52 2013 UTC (9 years, 10 months ago) by phil
Branch: MAIN
CVS Tags: Ver_8-2, Ver_8-3, Ver_8-4, Ver_8-5
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
update minor fixes

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue Aug 20 20:29:02 2013 UTC (10 years, 1 month ago) by arta
Branch: MAIN
CVS Tags: Ver_8-1
Changes since 1.7: +55 -4 lines
Diff to previous 1.7
Fix some minor leaks just so they dont clog up the output of the leak checker.

Revision 1.7 - (view) (annotate) - [select for diffs]
Mon Aug 19 15:49:22 2013 UTC (10 years, 1 month ago) by arta
Branch: MAIN
Changes since 1.6: +8 -0 lines
Diff to previous 1.6
Fix leak - was not cleaning-up after call to image_magrotate()

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Jun 11 19:58:49 2013 UTC (10 years, 3 months ago) by phil
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Fix CROTA2 to use WCS default of 0.0 if keyword not present.

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Mar 12 19:29:51 2013 UTC (10 years, 6 months ago) by phil
Branch: MAIN
CVS Tags: Ver_8-0
Changes since 1.4: +199 -125 lines
Diff to previous 1.4
Fix finding t_ref record.  Fix other things.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Mar 7 23:14:12 2013 UTC (10 years, 6 months ago) by jim
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
make limbfit and ? icc-only.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Nov 21 23:30:28 2012 UTC (10 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.2: +54 -18 lines
Diff to previous 1.2
Modify to use the bscale and bzero of the input series if the output series is input serieanames plus "_mod".
This will almost always be a better choice than the default for "_mod", i.e. than the default for the input
series.  Correct scaling is often specified in the geenrating module vs the JSD.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Jul 27 23:07:57 2012 UTC (11 years, 1 month ago) by phil
Branch: MAIN
CVS Tags: Ver_6-4, Ver_7-0, Ver_7-1
Changes since 1.1: +69 -72 lines
Diff to previous 1.1
Multiple changes from Venus transit work and exportdata cleanup.
im_patch will soon replace hg_patch, which is now deprecated.
im_patch can now properly do image sub-pixel registration when asked.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Jul 12 00:19:24 2012 UTC (11 years, 2 months ago) by phil
Branch: MAIN
Initial checkin of im_patch.c

Convenience Links

Links to HEAD: (view) (annotate) Links to Ver_9-2: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a