Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
114 check-ins using file embedded/www/doc/files/crimp_pgm.html version e1a00a141f
|
2013-02-01
| ||
| 08:28 | Documentation: Updated location of critcl. Leaf check-in: a7afa4138d user: andreask tags: feature-dataflow-internals | |
|
2011-12-15
| ||
| 01:25 |
Reorganized the binary ops, added result type to the generated file
names, and added a few combinations always generating float, for
operators like atan2 and hypot.
Updated all users of the binop_*.c files. Reworked pow to use the binop machinery. Created special binary ops template for fpcomplex operations which are not element-wise (multiply, div), and updated the actual operators to use this. check-in: b0d870cef2 user: andreask tags: infinite-plane | |
|
2011-12-14
| ||
| 23:54 | Reworked 'cut' to be a C-level operator, properly handling inside/outside of the input image. Updated demos, cutting out the complex set of Tcl code which handled this before (for the magnifier). Left are warp-field and the mentioned binary ops. check-in: 25d70d9301 user: andreask tags: infinite-plane | |
| 22:56 | Continued, completed handling of the unary operators listed previously. check-in: 33c5c1beda user: andreask tags: infinite-plane | |
| 21:53 |
Continued from previous commit.
Left to check/modify are
unary: ahe, convolve, region_sum, rof binary: atan2, hypot, pow, cannyinternal, complex div/multiply, join, joint-bilateral, threshold other: warp-field, cut (*) (*) Currently done via 'crop', semantic mismatch. Better as their own operator. check-in: 122bdc7d78 user: andreask tags: infinite-plane | |
| 20:25 | Continued modifications to pass the location of input images into operation results. check-in: 6f6c45ce61 user: andreask tags: infinite-plane | |
|
2011-12-09
| ||
| 23:09 | Modified to pass the location of input image into the result. check-in: 0de9cbbad8 user: andreask tags: infinite-plane | |
| 21:45 | Modified to pass the location of input image into the result. check-in: 791331217a user: andreask tags: infinite-plane | |
| 21:43 | Formatting tweaks. check-in: 800c5f70ee user: andreask tags: infinite-plane | |
| 21:42 | Switched to use of accessor macros. check-in: f454ef3616 user: andreask tags: infinite-plane | |
|
2011-12-08
| ||
| 18:20 | Pulled reader for sun raster in. No changes required. check-in: eaef9c5f57 user: andreask tags: infinite-plane | |
| 18:15 | Pulled sun raster reader into the mainline. Updated the package dependecy diagram. Regenerated the figures. check-in: 7da0d9c83b user: andreask tags: trunk | |
| 17:53 | Added example for sun raster 1bpp with color map. Works ok. Closed-Leaf check-in: c5980f52ac user: andreask tags: image-io-sun | |
| 17:22 | Updated the architecture diagrams to include the new image reader packages (sun, pcx) check-in: 8fe79bb943 user: andreask tags: image-io-sun | |
| 04:23 | Fixed initialization bug (numPixelBytes), and my misunderstandings of the 24/32 bpp modes. All examples show properly. check-in: 77df9b31ec user: andreask tags: image-io-sun | |
| 01:33 | Implemented the decoders for 24/32 bpp images. Buggy: Seg.faults, and no proper colors. check-in: c1a43674f6 user: andreask tags: image-io-sun | |
| 00:44 | Implemented the decoders for grey8 and 256-color mapped images. check-in: 559fd60428 user: andreask tags: image-io-sun | |
| 00:11 | Added some more notes. Implemented the decoders for 1 bpp (2 color) images. check-in: a38a056cff user: andreask tags: image-io-sun | |
|
2011-12-07
| ||
| 21:28 | First draft of the sun raster reader. Header decoding and validation. No pixel decoding. Build extended. Documentation, and demo added. check-in: 5276569ba5 user: andreask tags: image-io-sun | |
| 18:27 | Merged PCX reader. Generated example sun raster images from the PCX examples, and tkimg. Started list of references to descriptions of the sun raster format. check-in: 02d6b4540c user: andreask tags: image-io-sun | |
| 18:12 | Pulled the PCX reader into this branch. Updated to insert the PCX location information into the generated image. check-in: b3a44f2371 user: andreask tags: infinite-plane | |
|
2011-12-06
| ||
| 23:47 | Tidying a few leftover bits from pcx, forgotten in-code documentation, ... check-in: 8a1ad276e3 user: andreask tags: trunk | |
| 23:21 | Integrated the completed reader for PCX images with trunk. check-in: a4d8d55b97 user: andreask tags: trunk | |
| 23:19 | Added decoders for the 1/2, 1/3, and 1/4 bit-striped modes. This completes the decoding of PCX. All lena images can be read and shown. Added a few more (small) example images. Deactivated the decoder tracing. Closed-Leaf check-in: f9905da1ea user: andreask tags: image-io-pcx | |
| 21:18 | Unrolled the decoding loops for 1/2/4 bpp, and fixed the image setup. Plus more debugging (palette dump). lena 3,8-10 now display correctly. check-in: 02593b5b97 user: andreask tags: image-io-pcx | |
|
2011-11-29
| ||
| 01:17 | Added 2/1 and 4/1 (4c, 16c) decoders. Buggy still. Bit unpacking and/or mapping problem. check-in: 396eab4daf user: andreask tags: image-io-pcx | |
| 00:22 |
Counter to [8ff99a6157], adding the images containing the standard 'lena' motif. That is pretty much PD.
Image notes image, bbp/planes, meaning, results --------------------------------------------------------------- lena 8/3 rgb full color - ok lena2 8/1 rgb vga palette - ok - decoder now tested lena3 4/1 16 color palette - not implemented lena4 1/4 16 color palette, bits striped - not implemented lena5 See lena2 lena6 1/3 8 color palette, bits striped - not implemented lena7 1/2 4 color palette, bits striped - not implemented lena8 2/1 4 color palette - not implemented lena9 1/1 2 color black/white - ok, check for border issues. lena10 See lena3 ---------------------------------------------------------------check-in: ed09fbf381 user: andreask tags: image-io-pcx | |
|
2011-11-28
| ||
| 23:45 | Added reference to site with lots of PCX images. Copyright unknown. Do not add any of these to the repository. Only for direct testing. check-in: 8ff99a6157 user: andreask tags: image-io-pcx | |
| 23:33 | Lots of pixel decoding added. Output format selection and result creation moved into the read pixel function. RGB full color is working (marbles). B/W bitpacked is mainly working (hori_bw), except for offset/border issues, compare to image-magick result, see [5a9d5ce727]. grey8 is untested, due to the brokeness of the gmarbles file. Palettized RGB/VGA untested, no example files for that. check-in: ccc5270e2e user: andreask tags: image-io-pcx | |
| 23:28 | A few more references. check-in: 9065acd772 user: andreask tags: image-io-pcx | |
| 23:25 | Generated pgm/ppm files from the pcx examples, via image-magick, for cross-checking. Plus demo .The gmarbles file seems to be broken (too short). check-in: 5a9d5ce727 user: andreask tags: image-io-pcx | |
|
2011-11-26
| ||
| 07:01 | Another example image, plus documentation references check-in: 1753f528f0 user: andreask tags: image-io-pcx | |
|
2011-11-25
| ||
| 19:37 | Added demo using the new pcx example images of [14be7ca5ee], and extended the demo framework to load the pcx reader package. check-in: a3e6418fa0 user: andreask tags: image-io-pcx | |
| 18:13 | Found and added two PXC example images. check-in: 14be7ca5ee user: andreask tags: image-io-pcx | |
| 06:21 | Extended reader a bit, first pieces of processing and validating the image header. check-in: 00a214fb6f user: andreask tags: image-io-pcx | |
| 05:32 | Modified the 'alpha blend' operator to behave like the other binary operators in general. Updated and added demos. check-in: 9989984bc5 user: andreask tags: infinite-plane | |
| 05:14 | Fix argument bug in one of the new macros. check-in: d2b58900a2 user: andreask tags: infinite-plane | |
| 00:20 | Placeholder for fits image reader Leaf check-in: 974e8bf888 user: andreask tags: image-io-fits | |
| 00:16 | Placeholder for xpm image reader Leaf check-in: 694125dd1e user: andreask tags: image-io-xpm | |
| 00:16 | Placeholder for xbm image reader Leaf check-in: 5006dcd412 user: andreask tags: image-io-xbm | |
| 00:16 | Placeholder for tiff image reader Leaf check-in: dfbe0604ae user: andreask tags: image-io-tiff | |
| 00:16 | Placeholder for tga image reader Leaf check-in: c4ae400cb9 user: andreask tags: image-io-tga | |
| 00:15 | Placeholder for sun image reader check-in: d8d7b08e80 user: andreask tags: image-io-sun | |
| 00:15 | Placeholder for sgi image reader check-in: 39d26f9ff1 user: andreask tags: image-io-sgi | |
| 00:15 | Placeholder for raw image reader Leaf check-in: 653f65df03 user: andreask tags: image-io-raw | |
| 00:15 | Placeholder for pixmap image reader Leaf check-in: 175111ff36 user: andreask tags: image-io-pixmap | |
| 00:15 | Placeholder for jpeg image reader Leaf check-in: 80caf509c2 user: andreask tags: image-io-jpeg | |
| 00:14 | Placeholder for ico image reader Leaf check-in: fc5420bf05 user: andreask tags: image-io-ico | |
| 00:12 | Placeholder for DTED image reader Leaf check-in: 687cbe62e6 user: andreask tags: image-io-dted | |
| 00:11 | Placeholder for gif image reader Leaf check-in: 99a39dbf53 user: andreask tags: image-io-gif | |
| 00:03 | Incomplete start of work on a reader for PCX image files. check-in: f9976a0e1f user: andreask tags: image-io-pcx | |
|
2011-11-24
| ||
| 07:06 | Modified the 'like' functions for image creation to pass through the image location, not only dimensions. Updated the setalpha operators needing it to do the same, using the data from the base image. They keep ignoring the location of the image providing the alpha-channel and error on the dimensions not matching. check-in: 6d8f8a4eb5 user: andreask tags: infinite-plane | |
|
2011-11-23
| ||
| 19:50 | Modified the template and generator for binary ops to declare the various coordinates as direct iteration variables instead of computing them from the main loop variables and letting the compiler deduce the relationship and optimize. Regenerated the C code. check-in: 8fb45f4ecc user: andreask tags: infinite-plane | |
| 07:56 | Pull in latest trunk changes check-in: 3929d0be5b user: andreask tags: feature-dataflow-internals | |
| 07:52 | Fixed typo in a binop template comment, and regenerated the actual code. check-in: 4b16d800c6 user: andreask tags: infinite-plane | |
| 07:51 | Tweaked alignment. check-in: 68084dde7b user: andreask tags: infinite-plane | |
| 07:49 | Modified the alpha over operator to behave like the other binary operators in general. Updated and added demos. check-in: 806909ad23 user: andreask tags: infinite-plane | |
| 07:48 | Modified the crop and expansion operators to update the input location in their results. check-in: 40eadb24f7 user: andreask tags: infinite-plane | |
| 04:37 | Merged [b585eded7d], scaling of integer divisions. check-in: 4354b78718 user: andreask tags: infinite-plane | |
| 04:33 | Modified the division operator involving grey8 to scale the result up by MAXVAL_GREY8. Without such scaling the result is mostly zero, which is not really wanted. check-in: b585eded7d user: andreask tags: trunk | |
| 03:34 | Updated the demos of the remaining binary operators to show how they perform on images translated relative to each other. check-in: 23635a08f9 user: andreask tags: infinite-plane | |
| 02:46 | Modified the 'cut' command to restrict the x/y similar to how it restricts the w/h. Documented this. Updated the embedded documentation. check-in: a2dbe0b802 user: andreask tags: trunk | |
|
2011-11-21
| ||
| 18:06 | Regenerated the binary operation foundations using the code generator and template from the previous commit, [3eafe14869]. Due to the ease of use of the generator the set of types which can handled by binary operations got extended as well, with 16 new combinations. This does not mean that the actual binary ops automatically use these. We still have to define the upper-level ops to make use of them. I will likely create a generator for that as well. ... Updated the add demo to remove the requirement of identical image dimensions. Plus a new add demo showing the addition of images translated against each other, i.e. that the new binary operation code works as intended. The remaining demos for binary ops will be updated in the same manner. check-in: c5c051a323 user: andreask tags: infinite-plane | |
| 18:00 | Created a code-generator for the C code of binary operations, with a template. The new code takes the full image gemeotry into account when performing the operation, with the result having the bounding box of the union of the input geometries as its geometry. No checks for image size mismatch anymore. Note: When present alpha channels are combined via MAX, not the chosen operation. When mixing images with and without alpha channel the image without is treated as having a virtual alpha channel which is fully opaque. check-in: 3eafe14869 user: andreask tags: infinite-plane | |
| 17:56 | Modified demo framework to report not only image dimensions, but location as well when setting a result for display check-in: 71db4145b4 user: andreask tags: infinite-plane | |
|
2011-11-19
| ||
| 01:09 |
Changed the image/volume construction APIss around a bit. API taking
location information are now at the core. The old non-location APIs
became macros injection their default location (0,0).
Added set of typed constructor taking location information. Updated the warp init code to make use of the new constructors. Beginning (with float/float) to update the binop core codes to handle mismatched and -aligned images, i.e. of different sizes and translated to each other. Instead of using additional macros for the special cases we reuse the existing one and rely on the compiler to simplify this as much as possible (i.e. constants, irrelevant operations, etc.) check-in: f9955e8a0c user: andreask tags: infinite-plane | |
|
2011-11-18
| ||
| 06:15 | Following up on [360c8724f9]. Fixed the equivalent issue with the image reading demos. check-in: d0822bb9f6 user: andreask tags: trunk | |
| 05:49 | Merge trunk documentation updates check-in: cfe5583993 user: andreask tags: infinite-plane | |
| 05:48 | Merge trunk demo & documentation updates check-in: 0f5271728b user: andreask tags: feature-dataflow-internals | |
| 05:48 | Updated the embedded documentation. check-in: fb38f887d3 user: andreask tags: trunk | |
| 05:47 | Modified the demos framework to provide a documented api for access to app and demos directories, replaced outdated and broken (since [3ca084f409], and [3f01ece746]) uses of the $dir variable with these APIs. check-in: 360c8724f9 user: andreask tags: trunk | |
| 05:34 | Disabled currently not usable demos. check-in: 06731c8280 user: andreask tags: trunk | |
| 05:23 | Replaced leftover "puts" with calls to "log" in demos. check-in: 75e1949c89 user: andreask tags: trunk | |
| 02:46 | Updated the structure definitions in the documentation, and regenerated the embedded docs. check-in: 6a40a1b540 user: andreask tags: infinite-plane | |
| 02:35 | Merge trunk documentation updates check-in: 8206c2f02a user: andreask tags: feature-dataflow-internals | |
| 02:33 | Merge trunk documentation updates check-in: 1acd4abce4 user: andreask tags: infinite-plane | |
| 02:33 | Embedded documentation regenerated check-in: 09160c86f9 user: andreask tags: trunk | |
| 02:32 | Images regenerated check-in: 45644c9fbd user: andreask tags: trunk | |
| 02:32 | Images regenerated check-in: f0446833f4 user: andreask tags: trunk | |
| 02:24 |
New branch.
Embed images into the infinite 2d plane, i.e. make them bounded rectangles with a location in that plane. We had a start on that with the operators for projective warp, storing the origin point in the user-meta data. This information is now in the C level structures. This commit provides the basic change, plus new accessors for the geometry data, and updates all users of said geometry data in C to use these new accessors. The semantics of the various operations which could make use of the location information has not changed yet. This is for future commits in this branch. check-in: 1da2e834b8 user: andreask tags: infinite-plane | |
|
2011-11-17
| ||
| 21:20 | Added package dependency diagram and section in introduction using it. check-in: ed9336ba7a user: andreask tags: trunk | |
| 21:19 | Added header and source references to the section on internal structures. check-in: 02da9d3bc4 user: andreask tags: trunk | |
|
2011-11-11
| ||
| 00:39 | Starting branch for the reworking of the internals to a more data-flow oriented system. Saved old structure descriptions, and put in the 1st draft images describing the new structures. Note: Draft means here that the structures themselves are not final. check-in: c6ffd8f2a7 user: andreask tags: feature-dataflow-internals | |
| 00:29 | Extended the devguide with information about the internal data structures. check-in: e4c706b87c user: andreask tags: trunk | |
|
2011-11-09
| ||
| 07:33 | Merging feature to trunk; it is working; close the branch. check-in: 09765c5a39 user: andreask tags: trunk | |
| 07:31 | Added variants of the algorithm operating on color images, and/or partial smoothing. Closed-Leaf check-in: bc3bcf45e0 user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 07:31 | Fixed all the issues with my draft implementation. Algorithm works as advertised check-in: 12b09b9424 user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 07:30 | Compute squared magnitude of complex image. Helps us avoiding multiplication of x with its complex conjugate. check-in: d7490cd6cc user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 06:11 | Pulled bug fixes and extensions from trunk check-in: 8e712ae06b user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 06:10 | Fixed bad type in float convolution (int kernel) check-in: ed8882d3f0 user: andreask tags: trunk | |
| 06:08 | Fixed clamping in the greyX convolvers (float kernels) check-in: 1a8b54b9e5 user: andreask tags: trunk | |
| 06:03 | Small extension of the demo framework. Reset the log window after reloading the set of demos. check-in: 914782f95f user: andreask tags: trunk | |
| 06:01 | Extended crimp with primitive to scale fpcomplex images by a double scalar check-in: 9994c124db user: andreask tags: trunk | |
| 06:00 | Extended crimp::core with primitives writing float and fpcomplex images to Tcl lists. check-in: dc586262cb user: andreask tags: trunk | |
|
2011-11-07
| ||
| 23:34 | Pull build changes from trunk into the experimental branch. check-in: a14a137c71 user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 23:33 | Keep the install build directories separate, for an easier look into things after a manual abort. check-in: 5e20c79955 user: andreask tags: trunk | |
| 23:30 | Cherry pick [3f01ece746] into trunk. check-in: 3ca084f409 user: andreask tags: trunk | |
|
2011-10-31
| ||
| 23:00 | Fixed demo issue, collision between two variables named "dir". The one in the app pointing to the self-same source directory, and the one used by package management when loading packages. Renamed the applications's variable to "selfdir". check-in: 3f01ece746 user: andreask tags: feature-smoothing-l0-gradient-minimization | |
|
2011-10-22
| ||
| 21:27 | Saving work on my implementation of image smoothing via L0 gradient minimization. The current state is visibly buggy. check-in: eb75c6de82 user: andreask tags: feature-smoothing-l0-gradient-minimization | |
| 21:11 | Fixed bug in const expansion of float images. Take a double value, not integer. check-in: fa3254aaa2 user: andreask tags: trunk | |
| 19:58 | Fixed more issues in [5e93348261]. Forgot to bracket the new commands. check-in: 1aaacbb4c3 user: andreask tags: trunk | |
| 19:51 | Extended kernel methods, extraction of the coefficient image. check-in: e6d494ade7 user: andreask tags: trunk | |
| 19:50 | Fixed bug in [4a56dac6d8], restored listing of the "Unmodified" pseudo-demo. check-in: 90dda262b4 user: andreask tags: trunk | |
| 19:49 | Fixed bug in [5e93348261], bad scoping of the TypeOf checks. check-in: a748b8c0bb user: andreask tags: trunk | |
| 00:15 | Ooops. [5e93348261] forgot the necessary C operators. check-in: 54ec87f7a3 user: andreask tags: trunk | |
|
2011-10-21
| ||
| 21:05 | Extending the thresholding operations to float images. check-in: 5e93348261 user: andreask tags: trunk | |
|
2011-10-20
| ||
| 23:43 | Tweaked [4a56dac6d8] a bit, adding and using a tag definition which visually distinguishes the new line from the surrounding text. check-in: 04e6d2c68a user: andreask tags: trunk | |
| 20:01 | The CRIMP demo gui was modified: stretching the left frame now stretches the demos list instead of the image list; the demos list is now sorted; when a demo is selected an entry is now placed in the log window that indicates which demo was run and the file in the demos directory that was used. check-in: 4a56dac6d8 user: tom tags: trunk | |
|
2011-10-19
| ||
| 23:04 | Bumped patchlevel for the last two changes, [1e83462320] and [7f2c64dffa]. check-in: 145b31742f user: andreask tags: trunk | |
| 22:34 | Fixes to build script, creating missing directories, and behaving nicer for build failures. check-in: 7f2c64dffa user: andreask tags: trunk | |
| 19:32 | Bug fixes. Mark crimp's dependency on critcl::util as build requirement. And crimp::tk is not dependent on critcl::util at all. check-in: 1e83462320 user: andreask tags: trunk | |
|
2011-10-17
| ||
| 19:59 | Fixed crash occuring on Windows. Added missing guard conditions. check-in: ad2753da04 user: andreask tags: trunk | |
|
2011-10-15
| ||
| 05:01 | Merged the branches, tweaked the documentation of various miscellanea, and regenerated the embedded documentation check-in: 22396dcec8 user: andreask tags: trunk | |
|
2011-10-14
| ||
| 03:03 | Regenerated the embedded documentation check-in: c1f2da1d1b user: andreask tags: trunk | |