Package jsky.image

Examples of jsky.image.ImageProcessor.update()


            public void itemStateChanged(ItemEvent e) {
                JCheckBoxMenuItem rb = (JCheckBoxMenuItem) e.getSource();
                ImageProcessor imageProcessor = _imageDisplay.getImageProcessor();
                imageProcessor.setFlipX(rb.getState());
                imageProcessor.update();
            }
        });

        return menuItem;
    }
View Full Code Here


            public void itemStateChanged(ItemEvent e) {
                JCheckBoxMenuItem rb = (JCheckBoxMenuItem) e.getSource();
                ImageProcessor imageProcessor = _imageDisplay.getImageProcessor();
                imageProcessor.setFlipY(rb.getState());
                imageProcessor.update();
            }
        });

        return menuItem;
    }
View Full Code Here

                        imageProcessor.setAngle(-90.0 * rad);
                    }
                    //else if (rb.getText().equals("  45 deg (XXX not impl)")) {
                    //    imageProcessor.setAngle(45.0*rad);
                    //}
                    imageProcessor.update();
                }
            }
        };

        b1.addItemListener(itemListener);
View Full Code Here

            _pannerImage = _getPannerImage();
        }

        ImageProcessor ip = _imageDisplay.getImageProcessor();
        ip.setSourceImage(_pannerImage, _mainImageDisplay.getImageProcessor());
        ip.update();

        _imageDisplay.updateImage();
    }

View Full Code Here

            imageProcessor.setIntensityLookupTable(itt);
            imageProcessor.setScaleAlgorithm(scaleAlg);
            imageProcessor.setCutLevels(lcut, hcut, userSetCutLevels);
            imageDisplay.setScale(scale);

            imageProcessor.update();
        }
    }


    // --- Implement Action interface ---
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.