Uses of Class
net.grelf.grip.ImFrame

Packages that use ImFrame
net.grelf.astro This package contains Java classes for astronomical applications. 
net.grelf.grip This package contains the Java classes which are specific to the image processing application GRIP.

GRIP is available as a free download from www.grelf.net - please always quote this URL in connection with GRIP.
Version: 12.1.1 
 

Uses of ImFrame in net.grelf.astro
 

Methods in net.grelf.astro with parameters of type ImFrame
 SkyPoint Star.measurePosition(ImFrame parentFrame, BlobMeasList measList)
          If this star has unknown position (RA/Dec), do astrometry using the known reference stars in the given MeasList.
 

Constructors in net.grelf.astro with parameters of type ImFrame
MagnitudeGraph(ImFrame parent, java.lang.String title, BlobMeasList meases, MagnitudeBands bands, java.lang.String filePath, TimeInterval timeSpan)
          Any BlobMeas objects that have a star with an id but no magnitude will have magnitudes estimated by least squares fitting.
MagnitudeTable(ImFrame parent, java.lang.String title, BlobMeasList meases)
          Any BlobMeas objects that have an id will have their data tabulated.
 

Uses of ImFrame in net.grelf.grip
 

Subclasses of ImFrame in net.grelf.grip
 class BlobFrame
          A type of ImFrame for displaying magnified blobs/stars.
 class CometFrame
          An ImFrame for use with a CometProcessor.
 class MagnifiedFrame
          Type of ImFrame which shows a magnified portion of an image.
 class StarChartFrame
          A type of ImFrame that contains a net.grelf.astro.StarChart.
 class StarMeasFrame
          An ImFrame for use with a StarMeasProcessor.
 

Fields in net.grelf.grip declared as ImFrame
protected  ImFrame ImFrame.parentFrame
           
 

Methods in net.grelf.grip that return ImFrame
 ImFrame ImFrame.duplicate()
          Duplicate this ImFrame, making a new displayed frame.
 ImFrame BlobMeasList.getImFrame()
           
 ImFrame ImPane.getImFrame()
          Get a reference to the parent ImFrame in which this ImPane is displayed.
 ImFrame ImFrame.getParentFrame()
           
 ImFrame[] ImFrame.splitChannels()
          Create 3 new images, one containing each of the channels of the original image, displaying them as new ImFrames, references to which are returned.
 ImFrame[] ImFrame.splitIntensity()
          Create a monochrome image in which each pixel has the value I = sum of the band levels of the current image plus a colour image in which the pixel in each band has the value maxLevel * bandLevel / I.
 

Methods in net.grelf.grip that return types with arguments of type ImFrame
static java.util.List<ImFrame> GRIP.getImFramesList()
          Get a list of all the ImFrames which are currently on display.
 java.util.List<ImFrame> ImTable.getList()
           
protected  java.util.List<ImFrame> ImTable.getSelected()
           
 

Methods in net.grelf.grip with parameters of type ImFrame
 void Spectrum.analyse(ImFrame imframe, PointList points)
          Analyse the rectangular region defined by two points to align a spectrum and show its profile.
static java.util.List<java.awt.Point> ControlPointsDialogue.askControl(int controlNo, ImFrame imf1, java.awt.Point controlPt1, ImFrame imf2, java.awt.Point controlPt2)
          For any code to use the present class for the user to adjust a pair of control points interactively.
static java.util.List<java.awt.Point> ImCurveDialogue.askCurve(ImFrame imf)
          For any code to use the present class for the user to set a polygonal curve interactively.
static int ImAddProportionDialogue.askProportion(ImFrame imf1, ImFrame imf2)
          For any class to use the present class for doing proportional image addition.
static int ImMultiplyProportionDialogue.askProportion(ImFrame imf1, ImFrame imf2)
          For any class to use the present class for doing proportional image multiplication.
static int ImSaturateDialogue.askSaturate(ImFrame imf)
          For any class to use the present class for setting saturation.
static int[] ImColourDialogue.askSettings(ImFrame imf)
          For any code to use the present class for setting colour balance.
static Threshold ImThreshDialogue.askThreshold(ImFrame imf)
          For any code to use the present class for setting a threshold.
static Threshold ImThreshRGBDialogue.askThreshold(ImFrame imf)
          For any code to use the present class for setting a threshold.
static void Calibrator.calibrate(ImFrame imf)
          Calibrate the given ImFrame, by interacting with the user.
 void PointList.calibrate(ImFrame imf)
          Calibrate an ImFrame by interacting with the user.
static void Calibrator.calibrateOnStars(ImFrame imf)
          Calibrate the given ImFrame by using known star positions identified against detected blobs.
 void MeasurementMenu.clearOverlay(ImFrame imframe)
          Erase the drawn shape or other overlay from the GlassPane of the given frame.
 void MeasurementMenu.copyCalibrationFromOtherFrame(ImFrame imframe)
          Ask user to select another calibrated frame from which calibration will be copied to the given one.
static MagnifiedFrame MagnifiedFrame.create(int centreX, int centreY, ImFrame parentFrame)
          There is no public constructor - use this instead.
static void MatchPair.deleteMatches(java.awt.Point pt1, java.awt.Point pt2, ImFrame imf)
          Ask the user to confirm deletion of any match lists displayed in the ImFrame which intersect the rectangle defined by the two points.
static java.util.List<Defect> Raw.detectDefectivePixels(ImFrame imf)
          Ask the user to confirm that this is a dark field image; if so, scan for defective pixels then ask for a CSV file for saving the list.
static void Hist3D_Pane.display(ImFrame source)
          Enabling any class to display a 3D histogram of the image from the given frame, in a new frame.
static void Prof3D_Pane.display(ImFrame source)
          Enabling any class to display a 3D profile of the image from the given frame, in a new frame.
 BlobFrame Blob.display(ImFrame srcFrame, BlobMeas meas)
          Display this blob magnified in the given frame.
 BlobFrame Blob_.display(ImFrame srcFrame, BlobMeas meas)
          Display this blob magnified in the given frame.
static void HistogramBlobs.display(ImFrame imframe, BlobMeasList blobMeases)
          Pop up graphs of blob measurements from the given ImFrame.
static void Prof3D_Pane.display(ImFrame source, java.awt.Point pt1, java.awt.Point pt2)
          Enabling any class to display a 3D profile of the image from the given frame, in a new frame.
 void ImFrame.divideByFlatField(ImFrame imf2)
          Divide this image by flat field in imf2, pixel by pixel
 void BlobMeasList.drawBoundaries(ImFrame imframe)
          Draw boundaries of all blobs in the list into the GlassPane of the given ImFrame and redisplay the image.
static void BlobMeas.drawBoundaries(ImFrame imframe, BlobMeasList blobMeases)
          Draw blob boundaries from the given blob measurements into the GlassPane of the given ImFrame and redisplay the image.
9.11.29: Deprecated: use instead a non-static method of the same name in BlobMeasList.
 void ImGraphic.drawMandelbrot(ImFrame imf, java.awt.Point offset, double zoomFactor)
          Redraw the Mandelbrot curve in the given frame, zoomed by the given factor about the given point.
 void MeasurementMenu.drawOverlay(ImFrame imframe)
          Copy the shapes from the GlassPane of the given frame into its image.
 void ImGraphic.drawRim(ImFrame imf, int width, java.awt.Color colour)
          Draw a rim around the image displayed in the given ImFrame, of the given width and colour
static int ImContourDialogue.interact(ImFrame imf)
          For any code to use the present class for setting a contour interval.
static void Warp.interactiveWarp(ImFrame imf1, ImFrame imf2)
          Warp the image in frame imf2 into the image in frame imf1, using the control points that have been set on each.
static void Raw.interpret(ImFrame imf)
          Convert RAW image to normal by interpolating across zero pixels in each channel.
static WarpingGrid WarpingGrid.make(ImFrame imframe)
          Wizard for making a WarpingGrid from an image, step by step.
 void Blob.measureAccurately(BlobMeas meas, ImFrame parentFrame)
          Measure meanBackground, accurateBrightnesses and snRatios fields of the given BlobMeas using backgroundDisc and brightnessDisc in the given frame (which is assumed to be the parent frame of the magnified blob frame).
The signal-to-noise (S/N) ratio for each channel is measured as
(mean (starBrightness) - mean (backgroundBrightness)) / stdDev (backgroundBrightness)
where mean (starBrightness) is the accurately measured brightness in the inner disc divided by the number of pixels in that disc.
 void Blob_.measureAccurately(BlobMeas meas, ImFrame parentFrame)
          Measure meanBackground, accurateBrightnesses and snRatios fields of the given BlobMeas using backgroundDisc and brightnessDisc in the given frame (which is assumed to be the parent frame of the magnified blob frame).
The signal-to-noise (S/N) ratio for each channel is measured as
(mean (starBrightness) - mean (backgroundBrightness)) / stdDev (backgroundBrightness)
where mean (starBrightness) is the accurately measured brightness in the inner disc divided by the number of pixels in that disc.
 void MeasurementMenu.measureArea(ImFrame imframe)
          The user defines a closed curve on the given frame, which is then measured.
 void PointList.measureArea(ImFrame imf)
          Measure the shape over the given image, assuming it to be a closed curve.
 void MeasurementMenu.measureBetweenBlobs(ImFrame imframe)
          The user defines two points which are the centres of the blobs nearest to the mouse cursor.
 void PointList.measureBlobLine(ImFrame imf)
          Measure the straight line between the centres of two blobs.
 void MeasurementMenu.measureCurve(ImFrame imframe)
          The user defines an open curve on the given frame, which is then measured.
 void PointList.measureCurve(ImFrame imf)
          Measure the shape over the given image, assuming it to be an open curve.
 void MeasurementMenu.measureHovering(ImFrame imframe)
          Set HOVER drawing mode on the given frame so the user can read off measurements.
 void PointList.measureLine(ImFrame imf)
          Measure the shape over the given image, assuming it to be a straight line.
 void MeasurementMenu.measurePoint(ImFrame imframe)
          The user defines a single point on the given frame, which is then measured.
 void PointList.measurePoint(ImFrame imf)
          Measure the shape over the given image, assuming it to be a single point (ie, just one point in the list).
 void MeasurementMenu.measureRectangle(ImFrame imframe)
          The user defines a rectangle on the given frame, which is then measured.
 void PointList.measureRectangle(ImFrame imf)
          Measure the shape over the given image, assuming it to be a rectangle (there are only the two opposite corners in the list of points).
 void PointList.measureRectangle(ImFrame imf, java.awt.Point pt1, java.awt.Point pt2)
          Measure the rectangle defined by the two given points (as opposite corners) over the given image.
 void MeasurementMenu.measureSameShapeAsOtherFrame(ImFrame imframe)
          Ask the user to select another measured frame and for its shape then to be measured in the given frame.
 void PointList.measureStarLine(ImFrame imf)
          Measure the straight line between two stars in a StarChart.
 void MeasurementMenu.measureStraightLine(ImFrame imframe)
          The user defines a straight line on the given frame, which is then measured.
 void PointList.measureWhole(ImFrame imf)
          Measure the whole rectangular area of the given image.
 void MeasurementMenu.measureWholeImage(ImFrame imframe)
          Measure the whole image in the given frame and display the results.
 void MeasurementMenu.moveShape(ImFrame imframe)
          Allow the user to drag the shape in the given frame, which is remeasured on releasing the mouse.
 void ImFrame.multiply(ImFrame imf2)
          Multiply imf2 into this image, pixel by pixel
static int UnsharpMaskDialogue.perform(ImFrame imf)
          For any class to use the present class for doing unsharp masking.
 void DefaultMeasurementHandler.process(ImFrame imf, PointList ps, java.util.List<Measurement> ml)
          Simply displays measurements in a message dialogue, formatting them appropriately.
 void MeasurementHandler.process(ImFrame imf, PointList ps, java.util.List<Measurement> ml)
          Eg, for displaying measurements or putting them into a results file: whatever has to be done with them.
 void Blob.remeasureAccurately(BlobMeas meas, ImFrame parentFrame)
           
 void Blob_.remeasureAccurately(BlobMeas meas, ImFrame parentFrame)
           
static void Raw.removeMargin(ImFrame imframe)
          Remove the non-exposed image margin, the widths of which are set in Config.
 void MeasurementMenu.reviewLastMeasurements(ImFrame imframe)
          Redisplay the last set of measurements made on the given frame.
static void StarSegmenter.segment(ImFrame imf, int difference, int radius)
          Segment the image to detect pixels in stars using the given parameters.
static void Calibrator.show(ImFrame imf)
          Display the calibration of the given ImFrame in a message box.
 void BlobMeasList.showBrightestBlobs(ImFrame imframe)
          Draw brightest blobs into the GlassPane of the given ImFrame and redisplay the image.
static void BlobMeas.showBrightestBlobs(ImFrame imframe, BlobMeasList blobMeases)
          Draw brightest blobs into the GlassPane of the given ImFrame and redisplay the image.
 void ImFrame.stereo(ImFrame imf2)
          Use this frame to display in red - green stereo the two images from this and imf2.
 void ImFrame.sub(ImFrame imf2)
          Subtract imf2 from this image, pixel by pixel, the result being about the half-way brightness level so that both negative and positive results can be seen.
 void ImFrame.subToZero(ImFrame imf2)
          Subtract imf2 from this image, pixel by pixel, keeping only positive results, base level 0.
static WarpingGrid WarpingGrid.use(ImFrame imframe)
          Wizard for using a WarpingGrid from a file, step by step.
 

Constructors in net.grelf.grip with parameters of type ImFrame
BlobFrame(java.lang.String title, int width, int height, BlobMeas meas, ImFrame parentFrame)
          The BlobMeas parameter is non-null only if this is a frame opened as a result of clicking on or near one detected blob; also in that case the parent frame is the one on which the user clicked, containing all the detected blobs.
BlobMeasList(ImFrame imframe)
          The imframe is needed so that when blob data are deserialised from file the image from which they were obtained can also be opened.
ControlPointsDialogue(int controlNo, ImFrame imf1, java.awt.Point controlPt1, ImFrame imf2, java.awt.Point controlPt2)
          Create the dialogue and display it as modal.
ConvolutionMenu(ImFrame frame)
           
GeometryMenu(ImFrame frame)
           
GlassPane(DrawingMode mode, javax.swing.JMenuBar menubar, MeasurementHandler mh, ImFrame frame)
           
HistogramBlobs(ImFrame imframe, BlobMeasList blobMeases)
           
ImAddProportionDialogue(ImFrame imf1, ImFrame imf2)
          Construct the modal dialogue and make it visible.
ImageMenu(ImFrame frame)
           
ImColourDialogue(ImFrame imf)
          Create the dialogue and display it as modal.
ImContourDialogue(ImFrame imf)
          Create the dialogue and display it as modal.
ImFrame(java.lang.String title, DrawingMode drawingMode, java.lang.String imFilePath, int newImageNo, int width, int height, MeasurementHandler mh, boolean withMenu, ImPane imPane, ImFrame theParentFrame, Image image)
          The most general constructor, that all the others invoke.
ImFrame(java.lang.String title, int width, int height, boolean withMenu, ImFrame parentFrame)
          No file loading but can have a menu and has an associated set of blob measurements.
ImMultiplyProportionDialogue(ImFrame imf1, ImFrame imf2)
          Construct the modal dialogue and make it visible.
ImPane(ImFrame parent, int width, int height, GlassPane gp)
           
ImPane(ImFrame parent, java.lang.String imFilename, GlassPane gp)
           
ImPane(ImFrame parent, java.lang.String imFilename, int width, int height, GlassPane gp)
           
ImPane(ImFrame parent, java.lang.String imageFilePath, int width, int height, GlassPane gp, Image image)
          If the file path or image are not null, width and height are irrelevant.
ImSaturateDialogue(ImFrame imf)
          Construct the modal dialogue and make it visible.
ImThreshDialogue(ImFrame imf)
          Create the dialogue and display it as modal.
ImThreshRGBDialogue(ImFrame imf)
          Create the dialogue and display it as modal.
LevelsMenu(ImFrame frame)
           
MeasurementMenu(ImFrame frame)
           
MeasurementTable(ImFrame imFrame)
           
OpThread(OpThread.Ops anOp, ImFrame aFrame, int width)
          Width is only used for (de-)convolutions, so can be any value for other ops.
Profile1D(ImFrame imf, PointList ps)
          Scans the image to collect the profile data.
UnsharpMaskDialogue(ImFrame imf)
          Construct the modal dialogue and make it visible.