snibgo's ImageMagick pages

Zipped BAT files

For convenience, scripts and C functions are available in a single zip file.

These pages contain commands within the body of the text. The commands often call scripts, like this:

call %PICTBAT%bats2zip

The scripts come with no guarantee whatsoever. If they don't work, tough luck. If they destroy your precious images, tough luck. If they destroy your hard disk and your computer catches fire, tough luck.

These scripts are listed at the end of the relevant pages, under the heading "Scripts". I do this so readers can easily refer to the script and see what it does, with some confidence that this exact script (with the stated version of ImageMagick) made the images shown.

However, if users want to download a script, they need to copy-paste from the web page, which is difficult to automate.

So I provide a zip file called imsnibgoBats.zip containing all the BAT files that are included in pages.

The zip file also contains imsnibgoBats.txt, which lists the BAT files, and also shows in which directory they are installed. Most BAT files are installed in %PICTBAT%. If that directory is in your system path, you don't need to set that environment variable. Some BAT files are in %Util%, and BAT files expect that directory to be in the system path, so those scripts are called without a %Util% prefix.

The zip file also contains *.c and *.h source code files that I use for customising IM and other purposes.

The zip file is regenerated whenever this page is regenerated, which is shown as "Page created" on the bottom of this page.

Here is an index of the files, and the pages they are described in:

%IMFILTSRC%absdispmap.inc, Process modules
%IMFILTSRC%addend.c, Process modules
%IMFILTSRC%aggrsrch.c, Process modules
%IMFILTSRC%aggrsrch.inc, Process modules
%IMFILTSRC%allwhite.c, Process modules
%IMFILTSRC%applines.c, Process modules
%IMFILTSRC%arctan2.c, Process modules
%IMFILTSRC%avgconcrings.c, Process modules
%IMFILTSRC%avgconcrings.inc, Process modules
%IMFILTSRC%calcmnsd.inc, Process modules
%IMFILTSRC%centsmcrop.c, Process modules
%IMFILTSRC%centsmcrop.inc, Process modules
%IMFILTSRC%chklist.h, Process modules
%IMFILTSRC%cols2mat.c, Process modules
%IMFILTSRC%cols2mat.inc, Process modules
%IMFILTSRC%compwind.h, Process modules
%IMFILTSRC%compwind.inc, Process modules
%IMFILTSRC%cropchk.inc, Process modules
%IMFILTSRC%cumulhisto.c, Process modules
%IMFILTSRC%darkestmeander.c, Process modules
%IMFILTSRC%darkestpath.c, Process modules
%IMFILTSRC%darkestpntpnt.c, Process modules
%IMFILTSRC%deintegim.c, Process modules
%IMFILTSRC%drawcirc.c, Process modules
%IMFILTSRC%dumpimage.c, Process modules
%IMFILTSRC%echostuff.c, Process modules
%IMFILTSRC%fillholes.c, Process modules
%IMFILTSRC%fillholes.c, Filling holes
%IMFILTSRC%fillholescommon.inc, Process modules
%IMFILTSRC%fillholescommon.inc, Filling holes
%IMFILTSRC%fillholescommon.inc, Filling holes
%IMFILTSRC%fillholescommon.inc, Filling holes in priority order
%IMFILTSRC%fillholespri.c, Process modules
%IMFILTSRC%fillholespri.c, Filling holes in priority order
%IMFILTSRC%findsinks.c, Process modules
%IMFILTSRC%findsinks.inc, Process modules
%IMFILTSRC%geodist.c, Process modules
%IMFILTSRC%goldsectsrch.inc, Process modules
%IMFILTSRC%grad2.c, Process modules
%IMFILTSRC%growcut.c, GrowCut segmentation
%IMFILTSRC%hellow.c, Process modules
%IMFILTSRC%img2knl.c, Process modules
%IMFILTSRC%integim.c, Process modules
%IMFILTSRC%interppix.c, Process modules
%IMFILTSRC%invclut.c, Process modules
%IMFILTSRC%invdispmap.c, Process modules
%IMFILTSRC%kcluster.c, Process modules
%IMFILTSRC%match.h, Process modules
%IMFILTSRC%match.inc, Process modules
%IMFILTSRC%midlightest.c, Process modules
%IMFILTSRC%mkgauss.c, Process modules
%IMFILTSRC%mkhisto.c, Process modules
%IMFILTSRC%nearestwhite.c, Process modules
%IMFILTSRC%onelightest.c, Process modules
%IMFILTSRC%onewhite.c, Process modules
%IMFILTSRC%oogbox.c, Process modules
%IMFILTSRC%paintpatches.c, Process modules
%IMFILTSRC%pause.c, Process modules
%IMFILTSRC%pixmatch.c, Process modules
%IMFILTSRC%plotrg.c, Process modules
%IMFILTSRC%rect2eqfish.c, Process modules
%IMFILTSRC%replaceall.c, Process modules
%IMFILTSRC%replaceeach.c, Process modules
%IMFILTSRC%replacefirst.c, Process modules
%IMFILTSRC%replacelast.c, Process modules
%IMFILTSRC%replacespec.c, Process modules
%IMFILTSRC%resetpage.inc, Process modules
%IMFILTSRC%rmsealpha.c, Process modules
%IMFILTSRC%rmsealpha.inc, Process modules
%IMFILTSRC%setmnsd.c, Process modules
%IMFILTSRC%shell.c, Process modules
%IMFILTSRC%sortpixels.c, Process modules
%IMFILTSRC%sortpixelsblue.c, Process modules
%IMFILTSRC%sphaldcl.c, Process modules
%IMFILTSRC%srchimg.c, Process modules
%IMFILTSRC%srchmask.c, Process modules
%IMFILTSRC%srt3d.c, Process modules
%IMFILTSRC%srt3d.h, Process modules
%IMFILTSRC%trimone.inc, Process modules
%IMFILTSRC%usercoord.inc, Process modules
%IMFILTSRC%virtnone.inc, Process modules
%IMFILTSRC%whatrot.c, Process modules
%IMFILTSRC%whatrot.inc, Process modules
%IMFILTSRC%whatrotscale.c, Process modules
%IMFILTSRC%whatrotscale.inc, Process modules
%IMFILTSRC%whatscale.c, Process modules
%IMFILTSRC%whatscale.inc, Process modules
%IMFILTSRC%writeframe.inc, Process modules
%IMFILTSRC%writeframe.inc, Process modules
%IMSRC%\imv6or7.h, Process modules
%IMSRC%\magick\triangul.inc, Delaunay triangulation
%IMSRC%\magick\triangul.inc, Triangulation
%IMSRC%\magick\tritst.c, Delaunay triangulation
%IMSRC%\magick\tritst.c, Triangulation
%IMSRC%\snibgo\hellowld.c, Standalone programs
%IMSRC%\snibgo\nlightest.c, IM and OpenMP
%IMSRC%\snibgo\nlightest.c, Standalone programs
%IMSRC%\snibgo\snibconv.c, Standalone programs
%IMSRC%\vsn_defines.h, Process modules
%PICTBAT%24card.bat, Finding and analysing colour charts
%PICTBAT%24card4pt.bat, Finding and analysing colour charts
%PICTBAT%24cardChop.bat, Finding and analysing colour charts
%PICTBAT%24cardDbg.bat, Finding and analysing colour charts
%PICTBAT%24cardOneSize.bat, Finding and analysing colour charts
%PICTBAT%24cardSelfGray.bat, Colour checker charts
%PICTBAT%GimpLoadSave.bat, Gimp and IM
%PICTBAT%InkPath.bat, Camera colour primaries
%PICTBAT%MnSdGb.bat, Set mean and stddev
%PICTBAT%PaintPatches.bat, Painting with patches
%PICTBAT%RawLevelsOne.bat, Linear camera raw
%PICTBAT%RawLevelsRng.bat, Linear camera raw
%PICTBAT%TjuncLineEnds.bat, Mending broken lines
%PICTBAT%\xformAc2Bl.bat, Automatic clothing for Blender
%PICTBAT%absRGB.bat, Slopes
%PICTBAT%adapBlrShp.bat, Adaptive blur and sharpen
%PICTBAT%adapContBlrShp.bat, Adaptive contour blur and sharpen
%PICTBAT%addGrain.bat, Adding grain
%PICTBAT%addGrain.bat, Finding faces
%PICTBAT%addGrain.bat, Garments
%PICTBAT%addGrain.bat, Vignetting
%PICTBAT%adjExpLin.bat, Merging for HDR
%PICTBAT%algQtr.bat, Adaptive auto level and gamma
%PICTBAT%algTile.bat, Adaptive auto level and gamma
%PICTBAT%alignArea.bat, Simple alignment by matching areas
%PICTBAT%alignBF.bat, Alignment by brute force
%PICTBAT%alignBF.bat, Overlapping photographs
%PICTBAT%alignBFalpha.bat, Alignment by brute force
%PICTBAT%alignGausPyr.bat, Alignment by Gaussian pyramid
%PICTBAT%alignGausPyr.bat, Overlapping photographs
%PICTBAT%alignPnt.bat, Alignment by matching points
%PICTBAT%analGrids.bat, Reverse fractal noise
%PICTBAT%angramGr.bat, Anglegrams
%PICTBAT%angramRGB.bat, Anglegrams
%PICTBAT%angramRGB.bat, Colour-reduction by merging
%PICTBAT%angramRGB.bat, Comparing histograms
%PICTBAT%angramRGB.bat, Optimal downsampling
%PICTBAT%angramRGB.bat, Video frames
%PICTBAT%animCartText.bat, Cartoon and texture
%PICTBAT%appendLines.bat, Simple alignment by matching areas
%PICTBAT%arithNeg.bat, Slopes
%PICTBAT%autoLevMid.bat, Gradient contours
%PICTBAT%autoLevMid.bat, Slopes
%PICTBAT%babelCol.bat, Colour checker charts
%PICTBAT%barrelSize.bat, De-barrel distortion
%PICTBAT%barrelTest.bat, De-barrel distortion
%PICTBAT%baseMask.bat, Gradients Cookbook
%PICTBAT%bats2zip.bat, Zipped BAT files
%PICTBAT%bigBlur.bat, Cartoon and texture
%PICTBAT%blackEdge.bat, Alignment by matching points
%PICTBAT%blackEdge.bat, Simple alignment by matching areas
%PICTBAT%blendFrames.bat, Clut cookbook
%PICTBAT%blendTile.bat, Blending tiles
%PICTBAT%blockPix.bat, Displacement maps
%PICTBAT%blurFill.bat, Filling holes
%PICTBAT%blurFill.bat, Follow line
%PICTBAT%blurFill.bat, Old documents
%PICTBAT%blurFill.bat, Straightening horizons
%PICTBAT%bottomLineGray.bat, Finding and analysing colour charts
%PICTBAT%boundRectQuad.bat, Noisy quadrangles
%PICTBAT%braid.bat, Knots
%PICTBAT%bytesPerCh.bat, Compiling IM with Cygwin
%PICTBAT%c2dVaryThreshold.bat, Crop to detail
%PICTBAT%caResize.bat, Chromatic aberration
%PICTBAT%calcGainBias.bat, Gain and bias
%PICTBAT%calcPh.bat, Perceptual hash tests
%PICTBAT%cameraValue.bat, Merging for HDR
%PICTBAT%cartTextBu.bat, Cartoon example
%PICTBAT%cartTextBu.bat, Cartoon and texture
%PICTBAT%cartTextEep.bat, Cartoon and texture
%PICTBAT%ccm_ckbk.bat, Complex compose methods
%PICTBAT%ccm_ckbk.bat, G'MIC
%PICTBAT%ccm_ckbk2.bat, Complex compose methods
%PICTBAT%ccm_ckbk2.bat, G'MIC
%PICTBAT%ccy_stats.bat, Colour cycling
%PICTBAT%cheddad.bat, Isolating skin
%PICTBAT%chromAberr.bat, Chromatic aberration
%PICTBAT%clc2lpbrk.bat, Lines, points and curves
%PICTBAT%clc2pts.bat, Lines, points and curves
%PICTBAT%clip2trans.bat, Merging for HDR
%PICTBAT%clut2LinReg.bat, Linear regression
%PICTBAT%col2Histo.bat, Clut cookbook
%PICTBAT%colBalMult.bat, Mona's makeover
%PICTBAT%colCoords.bat, Coordinates of a colour
%PICTBAT%colCorr2.bat, Seamless photomontage
%PICTBAT%colCyclList.bat, Colour cycling
%PICTBAT%colCyclStr.bat, Colour cycling
%PICTBAT%colCyclTst.bat, Colour cycling
%PICTBAT%colProp.bat, Frequent colours
%PICTBAT%colProp.bat, Subimage rectangles
%PICTBAT%colSpRndTrip.bat, Colorspace cookbook
%PICTBAT%colSpace.bat, Colorspace cookbook
%PICTBAT%colTrim.bat, Curving in 3D
%PICTBAT%colmos.bat, Demosaicing
%PICTBAT%colors9.bat, Panel of Nine
%PICTBAT%combLineEnds.bat, Mending broken lines
%PICTBAT%compArith.bat, Composite arithmetic
%PICTBAT%compArith.bat, Sharpening
%PICTBAT%compMnSd.bat, Set mean and stddev
%PICTBAT%compNcols.bat, Frequent colours
%PICTBAT%compSpd.bat, Outputs: speed and size
%PICTBAT%connCompCropWhite.bat, Crop to detail
%PICTBAT%connCompLimArea.bat, Seamless photomontage
%PICTBAT%connCompLimNum.bat, Seamless photomontage
%PICTBAT%contourBlrShp.bat, Slopes
%PICTBAT%convTriImg.bat, Delaunay triangulation
%PICTBAT%convTriImg.bat, Triangulation
%PICTBAT%convolveMC.bat, Convolution
%PICTBAT%convolveSMA.bat, Convolution
%PICTBAT%convolveSmaBp.bat, Convolution
%PICTBAT%cornCols.bat, Photographs of book pages
%PICTBAT%cropOfCrop.bat, Photographs of book pages
%PICTBAT%cropToDetailLge.bat, Crop to detail
%PICTBAT%cropToDetailSml.bat, Crop to detail
%PICTBAT%curve3d.bat, Curving in 3D
%PICTBAT%cyl2plane.bat, Cylinders
%PICTBAT%darkCorners.bat, Photographs of book pages
%PICTBAT%darkMargins.bat, Photographs of book pages
%PICTBAT%darkMarginsRep.bat, Photographs of book pages
%PICTBAT%deBarrelCrop.bat, De-barrel distortion
%PICTBAT%deEdgeFft.bat, Fun with Fourier
%PICTBAT%deEdgeForFft2.bat, Fun with Fourier
%PICTBAT%deEdgeForFft3.bat, Fun with Fourier
%PICTBAT%deEdgeForFft3.bat, By FFT, what rotation?
%PICTBAT%deMapMasks.bat, Frequent colours
%PICTBAT%deOutlier.bat, Integral images
%PICTBAT%deSpecFft.bat, Fun with Fourier
%PICTBAT%deconvRL.bat, Deblur: Richardson-Lucy deconvolution
%PICTBAT%deintegral.bat, Integral images
%PICTBAT%delFr.bat, Painting
%PICTBAT%demoNoise.bat, Noise
%PICTBAT%demoNoise.bat, Text data
%PICTBAT%demos.bat, Demosaicing
%PICTBAT%detPyr.bat, Detail by pyramids
%PICTBAT%detblur.bat, Gradients Cookbook
%PICTBAT%diffGrad.bat, Gradient contours
%PICTBAT%dp2Grad.bat, Curving in 3D
%PICTBAT%drawCircs.bat, Linear regression
%PICTBAT%drawPts.bat, Lines, points and curves
%PICTBAT%edgeCols.bat, Subimage rectangles
%PICTBAT%edgeColsTrans2.bat, Subimage rectangles
%PICTBAT%edgeLine.bat, Noisy quadrangles
%PICTBAT%ellipMaskCorn.bat, Gradients Cookbook
%PICTBAT%eqLimit.bat, Process modules
%PICTBAT%eqLimit.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%eqLimit.bat, Adding zing to photographs
%PICTBAT%eqlQtr.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%eqlTile.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%equPeaks.bat, Histogram peaks
%PICTBAT%equSlope.bat, Cluts and clipping
%PICTBAT%equSlope.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%equSlopeH.bat, Cluts and clipping
%PICTBAT%equSlopeH.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%exHvyBlr.bat, Fractal noise
%PICTBAT%exHvyBlr.bat, Adding zing to photographs
%PICTBAT%expandJson.bat, Features
%PICTBAT%expandJson.bat, Moments
%PICTBAT%extLineEnds.bat, Mending broken lines
%PICTBAT%extendCoordPairs.bat, Simple alignment by matching areas
%PICTBAT%extendCoordPairs.bat, Statistics
%PICTBAT%extrXcfLayers.bat, Gimp and IM
%PICTBAT%fanComp.bat, Composite compositions
%PICTBAT%fanComp.bat, Islands
%PICTBAT%fanCompX.bat, Composite compositions
%PICTBAT%featText.bat, Features
%PICTBAT%featherEdge.bat, Canny edge detection
%PICTBAT%fillCoords.bat, Lines, points and curves
%PICTBAT%fillPix.bat, Lines, points and curves
%PICTBAT%find4cornEdgeBlr.bat, Find four corners
%PICTBAT%find4cornPolDist.bat, Find four corners
%PICTBAT%find4cornSub.bat, Find four corners
%PICTBAT%findVertLine.bat, Photographs of book pages
%PICTBAT%findWater.bat, Watermarks
%PICTBAT%findWater2.bat, Watermarks
%PICTBAT%findWaterOpac.bat, Watermarks
%PICTBAT%fnAnim.bat, Fractal noise animations
%PICTBAT%fnAnim2.bat, Fractal noise animations
%PICTBAT%fnDispFill.bat, Filling holes
%PICTBAT%fnInit.bat, Fractal noise
%PICTBAT%fnOne.bat, Fractal noise
%PICTBAT%fn_zeroEnvVar.bat, Fractal noise
%PICTBAT%fn_zeroEnvVarAnim.bat, Fractal noise
%PICTBAT%focStack.bat, Focus stack
%PICTBAT%followLine.bat, Follow line
%PICTBAT%frMinMax.bat, Fractal noise animations
%PICTBAT%frTrim.bat, Fractal noise animations
%PICTBAT%fractNoise.bat, Fractal noise
%PICTBAT%fractNoise.bat, Fractal noise animations
%PICTBAT%fromToCols.bat, Sparse hald cluts
%PICTBAT%fuzzyUnique.bat, Frequent colours
%PICTBAT%fwdDct.bat, Fun with Fourier
%PICTBAT%fwdDct.bat, Fun with Fourier
%PICTBAT%fwdFft.bat, Fun with Fourier
%PICTBAT%fwdFft.bat, Fun with Fourier
%PICTBAT%fwdFft.bat, By FFT, what rotation?
%PICTBAT%gameql.bat, Dcraw, gamma and eqLimit
%PICTBAT%gaussSlpMag.bat, Crop to detail
%PICTBAT%gaussStdDev.bat, Gain and bias
%PICTBAT%getColormap.bat, Clut cookbook
%PICTBAT%getDpi.bat, Details, details
%PICTBAT%getDpi.bat, Simple alignment by matching areas
%PICTBAT%getImgWH.bat, Convolution
%PICTBAT%getLtrb.bat, Filling holes
%PICTBAT%getLtrb.bat, Fun with Fourier
%PICTBAT%getPerspParams.bat, Alignment by matching points
%PICTBAT%getPnmPath.bat, SVG text
%PICTBAT%getPointsize.bat, Details, details
%PICTBAT%getPointsize.bat, Simple alignment by matching areas
%PICTBAT%graph1d.bat, Clut cookbook
%PICTBAT%graphLineCol.bat, Clut cookbook
%PICTBAT%gray2Histo.bat, Clut cookbook
%PICTBAT%grayBalMult.bat, Mona's makeover
%PICTBAT%grayPoly.bat, dcraw and WB
%PICTBAT%greyRectMask.bat, Gradients Cookbook
%PICTBAT%grid.bat, Cylinders
%PICTBAT%grid.bat, Shape to shape
%PICTBAT%guilChop.bat, Subimage rectangles
%PICTBAT%guilFind.bat, Subimage rectangles
%PICTBAT%guillotine.bat, Subimage rectangles
%PICTBAT%haar4bb.bat, Haar wavelet pyramids
%PICTBAT%haar4bbi.bat, Haar wavelet pyramids
%PICTBAT%haarbb.bat, Haar wavelet pyramids
%PICTBAT%haarbbi.bat, Haar wavelet pyramids
%PICTBAT%hashCol.bat, Making an image grayscale (monochrome)
%PICTBAT%histClipped.bat, Cluts and clipping
%PICTBAT%histToeInt.bat, Cluts and clipping
%PICTBAT%histoPeaks.bat, Histogram peaks
%PICTBAT%hollowEdge.bat, Slopes
%PICTBAT%hueChart.bat, Hue charts
%PICTBAT%idPh21imgs.bat, Perceptual hash tests
%PICTBAT%identAbsDispMap.bat, Making humans
%PICTBAT%identAbsDispMap.bat, Painting people
%PICTBAT%iiMeanSd.bat, Integral images
%PICTBAT%imSpeedTrial.bat, Compiling IM with Cygwin
%PICTBAT%imSpeeds.bat, Compiling IM with Cygwin
%PICTBAT%img2knl4.bat, Convolution
%PICTBAT%img2knl4.bat, Process modules
%PICTBAT%img2knl4f.bat, Convolution
%PICTBAT%img2knl4f.bat, Process modules
%PICTBAT%imgGainBias.bat, Gain and bias
%PICTBAT%imgs2htm.bat, Detail by pyramids
%PICTBAT%imgsMax.bat, Detail by pyramids
%PICTBAT%imgsResize.bat, Detail by pyramids
%PICTBAT%imgsStats.bat, Detail by pyramids
%PICTBAT%imgsWhich.bat, Detail by pyramids
%PICTBAT%innerTrim.bat, Inner Trim
%PICTBAT%innerTrimRep.bat, Inner Trim
%PICTBAT%integMean.bat, Integral images
%PICTBAT%integMeanSd.bat, Integral images
%PICTBAT%integral.bat, Integral images
%PICTBAT%inv2dAbsDisp.bat, Displacement maps
%PICTBAT%invClut.bat, Clut cookbook
%PICTBAT%invClut.bat, Displacement maps
%PICTBAT%invDiffGrad.bat, Gradient contours
%PICTBAT%invHRDM.bat, Displacement maps
%PICTBAT%invLogPolar.bat, Log polar
%PICTBAT%invRelClut.bat, Displacement maps
%PICTBAT%isIm6or7.bat, Scripts writing scripts
%PICTBAT%islandPeaks.bat, Intersecting areas
%PICTBAT%joinIslandMainland.bat, Islands
%PICTBAT%jumpMethod.bat, 'Jump' method
%PICTBAT%justHue.bat, 'Jump' method
%PICTBAT%knl2img.bat, Convolution
%PICTBAT%knl2img.bat, Process modules
%PICTBAT%layHalf.bat, Lithographic effects
%PICTBAT%lbdMask.bat, Adding zing to photographs
%PICTBAT%ldLevDet.bat, Colour to mask
%PICTBAT%ldLevDet.bat, Levels of detail
%PICTBAT%ldLevDet.bat, IM v7 tips
%PICTBAT%ldProgMed.bat, Levels of detail
%PICTBAT%ldProgs.bat, Levels of detail
%PICTBAT%levels4.bat, Levels
%PICTBAT%limCbCr.bat, Isolating skin
%PICTBAT%linReg2xy.bat, Linear regression
%PICTBAT%line2Grad.bat, Curving in 3D
%PICTBAT%lineIntersect.bat, Noisy quadrangles
%PICTBAT%lines2Quad.bat, Linear regression
%PICTBAT%lines2circs.bat, Mending broken lines
%PICTBAT%lines2sqs.bat, Mending broken lines
%PICTBAT%listSegments.bat, Canny edge detection
%PICTBAT%listWhiteSps.bat, Islands
%PICTBAT%lithScreen.bat, Lithographic effects
%PICTBAT%lithScreenCMYK.bat, Lithographic effects
%PICTBAT%lithScreenRGB.bat, Lithographic effects
%PICTBAT%lns2pts.bat, Lines, points and curves
%PICTBAT%loHiBw.bat, Grayscale photography
%PICTBAT%loHiBw.bat, Local adaptive thresholds
%PICTBAT%locTotVar.bat, Cartoon and texture
%PICTBAT%logPolar.bat, Log polar
%PICTBAT%ltBlrDiff.bat, Details, details
%PICTBAT%luminosityMasks.bat, Luminosity masks
%PICTBAT%luminosityMasks2.bat, Luminosity masks
%PICTBAT%mBlobMask.bat, Gradients Cookbook
%PICTBAT%mBlobMask.bat, Membranes
%PICTBAT%mClutUpDn.bat, Clut cookbook
%PICTBAT%mDiamondMask.bat, Gradients Cookbook
%PICTBAT%mDispMap.bat, Displacement maps
%PICTBAT%mFrLink.bat, Painting
%PICTBAT%mHist.bat, Demosaicing
%PICTBAT%mMapMasks.bat, Frequent colours
%PICTBAT%mMapMasks.bat, Gradient contours
%PICTBAT%mPntVideo.bat, Painting
%PICTBAT%mRandLine.bat, Random lines
%PICTBAT%mRandPts.bat, Delaunay triangulation
%PICTBAT%mRandPts.bat, Triangulation
%PICTBAT%mSRTdelta.bat, Focus stack
%PICTBAT%mScreenAlt.bat, Lithographic effects
%PICTBAT%mSigClut.bat, Clut cookbook
%PICTBAT%mapStart.bat, Frequent colours
%PICTBAT%mark1rect.bat, Luminosity masks
%PICTBAT%markCIExy.bat, Camera colour primaries
%PICTBAT%markCrop.bat, Luminosity masks
%PICTBAT%markRect.bat, Measuring detail
%PICTBAT%markRect.bat, Simple alignment by matching areas
%PICTBAT%markRect.bat, Test coordinate pairs
%PICTBAT%matchGauss.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%matchHisto.bat, Process modules
%PICTBAT%matchHisto.bat, [Adaptive] Contrast-limited equalisation
%PICTBAT%matchHistoPyr.bat, Histograms of pyramids
%PICTBAT%matchLapGainBias.bat, Blending pyramids
%PICTBAT%matchLapHisto.bat, Blending pyramids
%PICTBAT%maxLocCol.bat, Maximise local colour contrast
%PICTBAT%maxLocCont.bat, Maximise local contrast
%PICTBAT%meanFill.bat, Filling holes
%PICTBAT%meanImg.bat, Merging for HDR
%PICTBAT%meanSd.bat, Gain and bias
%PICTBAT%meanSdTr.bat, Gain and bias
%PICTBAT%meanSdTr.bat, JIM: a Java Gui for IM
%PICTBAT%meanSdTr.bat, Yee ha! Lassoing
%PICTBAT%meanSdTr.bat, SWIM: Snibgo's Windows Gui for IM
%PICTBAT%mebcOne.bat, Assembling with dark paths
%PICTBAT%mebcOne.bat, Quilting
%PICTBAT%mebcTile.bat, Assembling with dark paths
%PICTBAT%membrane.bat, Membranes
%PICTBAT%middleFuzz.bat, Subimage rectangles
%PICTBAT%minDp.bat, Awkward boundaries with dark paths
%PICTBAT%minusRow2.bat, Sparse hald cluts
%PICTBAT%miredShift.bat, Colour temperature
%PICTBAT%mkFanComp2A.bat, Composite compositions
%PICTBAT%mkGausPyr.bat, Multi-scale pyramids
%PICTBAT%mkHaarPyr.bat, Haar wavelet pyramids
%PICTBAT%mkHistoImg.bat, Otsu segmentation
%PICTBAT%mkLapPyr.bat, Multi-scale pyramids
%PICTBAT%mkMp7Norm.bat, Classifying shapes
%PICTBAT%mkMp7Unr.bat, Classifying shapes
%PICTBAT%mkNsePyr.bat, Histograms of pyramids
%PICTBAT%mkOvClut.bat, Overlapping photographs
%PICTBAT%mkOvMasks.bat, Overlapping photographs
%PICTBAT%mkPyrComm.bat, Multi-scale pyramids
%PICTBAT%mkQuilt.bat, Quilting
%PICTBAT%mkQuiltLike.bat, Quilting
%PICTBAT%mkpVar.bat, Multi-scale pyramids
%PICTBAT%mosaic.bat, Cleaning scanned text
%PICTBAT%mosaic.bat, Mosaicing
%PICTBAT%mosaic.bat, Porting to V7
%PICTBAT%mp7Thumbs.bat, Classifying shapes
%PICTBAT%mspBoostCut.bat, Multi-scale pyramids
%PICTBAT%mspProcGrid.bat, Multi-scale pyramids
%PICTBAT%nCrop.bat, Measuring detail
%PICTBAT%nCrop.bat, Simple alignment by matching areas
%PICTBAT%nGenCoord.bat, Measuring detail
%PICTBAT%nLightest.bat, Details, details
%PICTBAT%nLightest.bat, Islands
%PICTBAT%nLightest.bat, Simple alignment by matching areas
%PICTBAT%nLightest.bat, Standalone programs
%PICTBAT%nearCoast.bat, Correlating shapes
%PICTBAT%nearCoast.bat, Nearest coastal point
%PICTBAT%nearCoast2.bat, Nearest coastal point
%PICTBAT%nef2lin.bat, Merging for HDR
%PICTBAT%neg0100.bat, Set mean and stddev
%PICTBAT%nonJcnLines.bat, Pruning skeleton stubs
%PICTBAT%nqlr4edges.bat, Linear regression
%PICTBAT%nqlrTop.bat, Linear regression
%PICTBAT%nseCycl.bat, Colour cycling
%PICTBAT%nseQuadCorn.bat, Noisy quadrangles
%PICTBAT%offCentre.bat, Gradients Cookbook
%PICTBAT%oneColSp.bat, Colorspace cookbook
%PICTBAT%oog2col.bat, De-anti-aliasing
%PICTBAT%oogLinear.bat, Putting OOG back in the box
%PICTBAT%oogLinear1ch.bat, Putting OOG back in the box
%PICTBAT%oogLinear3.bat, Putting OOG back in the box
%PICTBAT%oogPower.bat, Putting OOG back in the box
%PICTBAT%orientate.bat, Orientation
%PICTBAT%p2cHoriz.bat, Cylinders
%PICTBAT%parts2FlatCols.bat, Flat-colour cartoons
%PICTBAT%ph1colsp.bat, Perceptual hash tests
%PICTBAT%phMp7NNFR.bat, Classifying shapes
%PICTBAT%phpPairsBestAll.bat, Perceptual hash thresholds
%PICTBAT%phpThreshCsv.bat, Perceptual hash thresholds
%PICTBAT%phpThreshCsvBest.bat, Perceptual hash thresholds
%PICTBAT%phpairs.bat, Perceptual hash thresholds
%PICTBAT%pixMatch.bat, Pixel match
%PICTBAT%plane2cyl.bat, Cylinders
%PICTBAT%planeCylSetup.bat, Cylinders
%PICTBAT%pntMaskReveal.bat, Painting
%PICTBAT%pointsDist.bat, Mending broken lines
%PICTBAT%pointsRdx.bat, Mending broken lines
%PICTBAT%poissonPaste.bat, Seamless photomontage
%PICTBAT%poissonPasteIDB.bat, Seamless photomontage
%PICTBAT%poissonSmooth.bat, Seamless photomontage
%PICTBAT%polDist.bat, Polar distortions
%PICTBAT%polyPath.bat, Camera blurs
%PICTBAT%powSmh.bat, Power curve for shadow, mid and highlights
%PICTBAT%proc2LapPyr.bat, Blending pyramids
%PICTBAT%proc3LapPyr.bat, Blending pyramids
%PICTBAT%procLapPyr.bat, Blending pyramids
%PICTBAT%propIntClipRGB.bat, dcraw and WB
%PICTBAT%proxLineEnds.bat, Mending broken lines
%PICTBAT%pruneStubs.bat, Mending broken lines
%PICTBAT%pruneStubs.bat, Pruning skeleton stubs
%PICTBAT%pruneStubsRep.bat, Pruning skeleton stubs
%PICTBAT%quadAngles.bat, Noisy quadrangles
%PICTBAT%quads2persp.bat, Noisy quadrangles
%PICTBAT%qual99Spd.bat, Outputs: speed and size
%PICTBAT%quantFp.bat, Follow line
%PICTBAT%quantFp.bat, Straightening horizons
%PICTBAT%r2shPol.bat, Polar distortions
%PICTBAT%ranHorShLn.bat, Follow line
%PICTBAT%rcnHaarPyr.bat, Haar wavelet pyramids
%PICTBAT%rdAgpDf.bat, Overlapping photographs
%PICTBAT%rectDp.bat, Rectangle boundaries with dark paths
%PICTBAT%rectDpRepl.bat, Rectangle boundaries with dark paths
%PICTBAT%rectGoPro.bat, De-barrel distortion
%PICTBAT%rectSubimages.bat, Subimage rectangles
%PICTBAT%relaxFill.bat, Filling holes
%PICTBAT%relaxFillMS.bat, Filling holes
%PICTBAT%relaxFillScr.bat, Filling holes
%PICTBAT%resampHM.bat, Resampling with halo minimization
%PICTBAT%resizeFill.bat, Filling holes
%PICTBAT%resizeMeanSd.bat, Windowed mean and standard deviation
%PICTBAT%restrictScreen.bat, Lithographic effects
%PICTBAT%rimRect.bat, Photographs of book pages
%PICTBAT%rot3dAnim.bat, Scale, rotate and translate in 3D
%PICTBAT%rotCubeAnim.bat, Scale, rotate and translate in 3D
%PICTBAT%rotMinWidth.bat, SVG text
%PICTBAT%selAB.bat, Cleaning paper, smoothing skin
%PICTBAT%selAB.bat, Selecting areas
%PICTBAT%selArea.bat, Selecting areas
%PICTBAT%selCoords.bat, Maximise local contrast
%PICTBAT%selCoordsBB.bat, Maximise local contrast
%PICTBAT%setIm8.bat, Compiling IM with Cygwin
%PICTBAT%setInOut.bat, Resampling with halo minimization
%PICTBAT%setInkPath.bat, Camera colour primaries
%PICTBAT%setMeanBias.bat, Setting the mean
%PICTBAT%setMeanGain.bat, Setting the mean
%PICTBAT%setMeanImg.bat, Setting the mean
%PICTBAT%setMeanNegGain.bat, Setting the mean
%PICTBAT%setMeanPow.bat, Setting the mean
%PICTBAT%setMnSdLge.bat, Set mean and stddev
%PICTBAT%setMnSdRGB.bat, Set mean and stddev
%PICTBAT%setMp7Env.bat, Classifying shapes
%PICTBAT%setPhEnv.bat, Perceptual hash tests
%PICTBAT%setPhEnv.bat, Perceptual hash thresholds
%PICTBAT%sh2grad.bat, Gradients Cookbook
%PICTBAT%sh2gradCol.bat, Gradients Cookbook
%PICTBAT%sh2shLinear.bat, Shape to shape
%PICTBAT%sh2shPolar.bat, Polar distortions
%PICTBAT%sh2shPolar.bat, Shape to shape
%PICTBAT%shapeDp.bat, Awkward boundaries with dark paths
%PICTBAT%shiftCols.bat, Straightening horizons
%PICTBAT%shiftFill.bat, Filling holes
%PICTBAT%shiftNoNeg.bat, Gradient contours
%PICTBAT%shpDiv.bat, Slopes
%PICTBAT%sigSetSd.bat, Adding zing to photographs
%PICTBAT%simpColours.bat, Frequent colours
%PICTBAT%skel2Parts.bat, Flat-colour cartoons
%PICTBAT%skel2SegBnd.bat, Partition boundary masks
%PICTBAT%skelPS.bat, Mending broken lines
%PICTBAT%slopeMD2XY.bat, Slopes
%PICTBAT%slopeMag.bat, Details, details
%PICTBAT%slopeMag.bat, Old documents
%PICTBAT%slopeMags.bat, Detail by pyramids
%PICTBAT%slopeXY.bat, Slopes
%PICTBAT%slopeXYabs.bat, Slopes
%PICTBAT%slopeXYbl.bat, Slopes
%PICTBAT%slopeXYblMag.bat, Crop to detail
%PICTBAT%slopeXYdirn.bat, Gradients Cookbook
%PICTBAT%slopeXYdirn.bat, Slopes
%PICTBAT%slopeXYdiv.bat, Slopes
%PICTBAT%slopeXYmag.bat, Slopes
%PICTBAT%slopeXYmean.bat, Slopes
%PICTBAT%slopeXYminus.bat, Slopes
%PICTBAT%slopeXYneg.bat, Slopes
%PICTBAT%slopeXYrms.bat, Slopes
%PICTBAT%slopeXYweighted.bat, Slopes
%PICTBAT%smsCurve.bat, Set mean and stddev
%PICTBAT%smthCart.bat, Mona's makeover
%PICTBAT%sparseColFill.bat, Filling holes
%PICTBAT%sparseCoord.bat, Islands
%PICTBAT%squishAppend.bat, Squishing images
%PICTBAT%squishStr.bat, Squishing images
%PICTBAT%srchImg.bat, Alignment by matching points
%PICTBAT%srchImg.bat, Measuring detail
%PICTBAT%srchImg.bat, Searching an image
%PICTBAT%srchImgAg.bat, Searching an image aggressively
%PICTBAT%srchImgAlpha.bat, Quilting
%PICTBAT%srchMp7.bat, Classifying shapes
%PICTBAT%stats.bat, Demosaicing
%PICTBAT%stats.bat, Adding zing to photographs
%PICTBAT%strLinear.bat, Stretch linear
%PICTBAT%strLinear1ch.bat, Stretch linear
%PICTBAT%strLinear3.bat, Stretch linear
%PICTBAT%stretchHoriz.bat, Shape to shape
%PICTBAT%svg2png.bat, SVG text
%PICTBAT%tcaCorr.bat, Barrels and pincushions
%PICTBAT%tcaCorr.bat, Chromatic aberration
%PICTBAT%tcaCorr.bat, maxcolors
%PICTBAT%testCompose.bat, Compose methods
%PICTBAT%testCoordPairs.bat, Test coordinate pairs
%PICTBAT%testHalf.bat, Fifty percent
%PICTBAT%textAutoWi.bat, Squishing images
%PICTBAT%textAutoWiSquish.bat, Squishing images
%PICTBAT%thresh9.bat, Lithographic effects
%PICTBAT%thresh9.bat, Colour profiles
%PICTBAT%tileDp.bat, Tiling with dark paths
%PICTBAT%timeFft.bat, Fun with Fourier
%PICTBAT%toGimp.bat, Gimp and IM
%PICTBAT%toGimp.bat, Measuring detail
%PICTBAT%traceContour.bat, Lines, points and curves
%PICTBAT%traceLines.bat, Lines, points and curves
%PICTBAT%traceLn.bat, Lines, points and curves
%PICTBAT%tritsttst.bat, Delaunay triangulation
%PICTBAT%tritsttst.bat, Triangulation
%PICTBAT%tstTrArea.bat, Tracing areas
%PICTBAT%tweakImages.bat, Perceptual hash tests
%PICTBAT%twoBlrDiff.bat, Simple alignment by matching areas
%PICTBAT%voronoiFill.bat, Filling holes
%PICTBAT%walkPix.bat, Dark paths
%PICTBAT%walkPix.bat, Lines, points and curves
%PICTBAT%walkPix2.bat, Lines, points and curves
%PICTBAT%whatRot.bat, What rotation?
%PICTBAT%whatRot.bat, By FFT, what rotation?
%PICTBAT%whatRotFft.bat, By FFT, what rotation?
%PICTBAT%whatRotScale.bat, What rotation and scale?
%PICTBAT%whatScale.bat, What scale?
%PICTBAT%whatScalePrec.bat, What scale?
%PICTBAT%whatScaleT.bat, What scale?
%PICTBAT%whatScaleT2.bat, Chromatic aberration
%PICTBAT%whatSquish.bat, Squishing images
%PICTBAT%whatSrt.bat, What SRT?
%PICTBAT%whatTrans.bat, By FFT, what rotation?
%PICTBAT%whatTrans.bat, What translation?
%PICTBAT%whichPix.bat, Focus stack
%PICTBAT%whiteMult.bat, dcraw and WB
%PICTBAT%wrapCylinder.bat, Cylinders
%PICTBAT%wrapImage.bat, Coffee mug
%PICTBAT%wrapImageH.bat, Coffee mug
%PICTBAT%xSection.bat, Seamless photomontage
%TEMP%\bt_tmp_cmd.bat, Blending tiles
%Util%\StopWatch.bat, Details, details
%Util%\StopWatch.bat, Measuring detail
%Util%\StopWatch.bat, Resampling with halo minimization
%Util%\StopWatch.bat, Simple alignment by matching areas
%Util%\csv2tab.bat, Linear camera raw
%Util%\csv2tab.bat, Straightening horizons
%Util%\csv2tabNH.bat, Perceptual hash tests
%Util%\deBom.bat, UTF-8 characters
%Util%\echoOffSave.bat, Inner Trim
%Util%\echoOffSave.bat, Resampling with halo minimization
%Util%\echoOffSave.bat, Statistics
%Util%\echoRestore.bat, Inner Trim
%Util%\echoRestore.bat, Resampling with halo minimization
%Util%\echoRestore.bat, Statistics
%Util%\getLineN.bat, Statistics
%Util%\getModThoTau.bat, Statistics
%Util%\im7path.bat, Colour to mask
%Util%\im7path.bat, IM v7 tips
%Util%\meanStdDev.bat, Statistics
%Util%\parseCommaList.bat, Lithographic effects
%Util%\parseXxY.bat, Quilting
%Util%\parseXxY2.bat, Integral images
%Util%\parseXxY2i.bat, Integral images
%Util%\pathMhBl.bat, Automatic clothing for Blender
%Util%\pathMhBl.bat, Making humans
%Util%\pathMhBl.bat, Painting people
%Util%\removeCsvOutliers.bat, Statistics
%Util%\removeOutliers.bat, Statistics
%Util%\xyCoord.bat, Rectangle boundaries with dark paths
%Util%\xyCoord.bat, Fractal noise
%Util%\xyCoord.bat, Quilting
%Util%\zeroArray.bat, Statistics
%VIDBAT%fxTri.bat, Displacement maps
ac_belt.bat, Automatic clothing for Blender
ac_mk_front_bisect.bat, Automatic clothing for Blender
ac_torso.bat, Automatic clothing for Blender
cm_coffeemug.inc, Coffee mug
cm_trans.inc, Coffee mug
cylPov.inc, Cylinders
fn_txtout_fn.bat, Fractal noise
knotPov.inc, Knots
omptest.c, IM and OpenMP
pntp_anim.bat, Painting people
pntp_comp.bat, Painting people
scorePairs.inc, Perceptual hash tests
scorePairs.inc, Perceptual hash thresholds
scorePairsMaxMcc.c, Perceptual hash thresholds
scorePairsNPD.c, Perceptual hash tests
scorePairsPD.c, Perceptual hash tests
swimtest.c, SWIM: Snibgo's Windows Gui for IM

My scripts assume filenames and directory ("folder") names contain no space characters. When I read files from anywhere, I replace spaces and other un-safe characters like ">" and "&" and "|" with underscores. If your filenames contain spaces, you will need edit the scripts to quote the filenames, for example:

convert "%1" -blur 0x3 "%2"

The scripts generally run ImageMagick that resides in the directory referred to by the environment variable %IM%. That version is IM v6, Q16, integer.

Some scripts run ImageMagick in the directory %IMDEV%. That version is IM v6, Q32, HDRI, and contains my published process modules. The source code for these modules is listed above, under %IMFILTSRC%.


Scripts

This script runs utility programs such as cGrep.exe. I don't provide the source or binary of these programs.

bats2zip.bat

cGrep  /p0 /B[ /i*.h1 /s@*.bat* /s@*.c /s@*.c,h /s@*.inc,h /s@*.h,h /s@*Makefile.am* /ob2z.lis
chStrs /p0 /ib2z.lis /f",h"
chStrs /p0 /ib2z.lis /f"@"
cSort  /p0 /ib2z.lis /ob2z.lis /u
copy /y b2z.lis imsnibgoBats.txt
rem type b2z.lis

rem For zip, we need to expand the environment variable.
rem
chStrs   /p0 /ib2z.lis /ob2zEV.lis /f"%%" /t"&&,"
chStrs   /p0 /ib2zEV.lis /f"&&," /m1
chStrs   /p0 /ib2zEV.lis /f"&&," /t","
cProject /p0 /ib2zEV.lis /k0 /u
rem type b2zEV.lis

del %TEMP%\b2zEVs.lis
for /F %%L in (b2zEV.lis) do (
  set %%L>>%TEMP%\b2zEVs.lis
)
chStrs  /p0 /i%TEMP%\b2zEVs.lis /f"=" /t"%%,"
cPrefix /p0 /i%TEMP%\b2zEVs.lis /l"%%"
rem type %TEMP%\b2zEVs.lis

chStrs /p0 /ib2z.lis /s%TEMP%\b2zEVs.lis /X-
rem type b2z.lis

del /Q imsnibgoBats.zip
zip -o -j imsnibgoBats.zip imsnibgoBats.txt
type b2z.lis|zip -o -j -@ imsnibgoBats.zip


rem Make an index of which pages call the BAT and C files.

cGrep  /p0 /B[ /i*.h1 /s@*.bat* /s@*.c /s@*.c,h /s@*.h,h /s@*.inc,h /f\m\x,\r\n /ob2zndx.lis
chStrs /p0 /ib2zndx.lis /f",h"
chStrs /p0 /ib2zndx.lis /f"@"
chStrs /p0 /ib2zndx.lis /f".h1" /t".htm"

rem What are the titles?
cGrep  /p0 /i*.h1 /X /s"*\(h1*/h1*" /f\m\x,\m\x,\r\n /ob2ztrans.lis
chStrs /p0 /ib2ztrans.lis /f"\q"
chStrs /p0 /ib2ztrans.lis /f"," /t"comma"
chStrs /p0 /ib2ztrans.lis /t"," /f"comma" /m2
chStrs /p0 /ib2ztrans.lis /f".h1" /t".htm"
chStrs /p0 /ib2ztrans.lis /f"," /t",\(a href=\q" /m1
chStrs /p0 /ib2ztrans.lis /f",\(h1\)" /t"\q\)"
chStrs /p0 /ib2ztrans.lis /f"\(/h1\)" /t"\(/a\)\(br /\)"

cJoin    /p0 /ib2zndx.lis,b2ztrans.lis /k0 /K0 /n /ob2zlist.lis
cProject /p0 /ib2zlist.lis /ob2zlist.lis /k1,2
cSort    /p0 /ib2zlist.lis /ob2zlist.lis /k0,1
cGrep    /p0 /ib2zlist.lis /ob2zlist.lis /s",*" /x
chStrs   /p0 /ib2zlist.lis /t"," /f"comma"
type b2zlist.lis


Source file for this web page is zipbats.h1. To re-create this web page, run "procH1 zipbats".


This page, including the images, is my copyright. Anyone is permitted to use or adapt any of the code, scripts or images for any purpose, including commercial use.

Anyone is permitted to re-publish this page, but only for non-commercial use.

Anyone is permitted to link to this page, including for commercial use.


Page version v1.1 15-August-2014.

Page created 10-Jun-2018 16:56:33.

Copyright © 2018 Alan Gibson.