24小时热门版块排行榜     石溪大学接受考研调剂申请>

【调剂】北京石油化工学院2024年16个专业接受调剂
查看: 4842  |  回复: 48

lqshn

新虫 (小有名气)

[求助] 请教如何用matlab识别出一张曲线图上最高点对应的X,Y轴坐标已有14人参与

对于一张jpg图(例如下图),没有原始的数据,对于图中曲线,如何用matlab识别出最高点对应的X,Y轴坐标呢?我有很多这样的图,所以能编出程序或写出代码自动识别就好了,然后将坐标输出,请问谁有什么想法或者谁会吗?

请教如何用matlab识别出一张曲线图上最高点对应的X,Y轴坐标
ref.jpg
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖支持 ( 显示支持度最高的前 50 名 )

Wormhole55

新虫 (初入文坛)

【答案】应助回帖


lqshn: 金币+1, 有帮助 2015-06-16 13:15:36
试试泰勒公式, 渐近线, 高数课本里学过, 可以模拟各种曲线的坐标, 或者还有其他方法, 具体的记不清了。 这其实不仅是编程,更多的是对数学建模的理解和方法的选择, 你可以找个学数学的专业人士讨论一下, 肯定会有收获。
至于图像的扫描和像素的识别, 编程方面没有什么大的难度, 每个JPG 像素都是一个数值的形式储存的, 对像素颜色数值进行分析就是了(个人想法,没试过)。windows 或c++ 或java 都有自己的类库 专门做图像分析和处理的,是一些DLL 类库, 直接拿来用就是了。一下是一个java例程,图片处理的,
Below is the syntax highlighted version of Picture.java from § Standard Libraries.   Here is the Javadoc.


/*************************************************************************
*  Compilation:  javac Picture.java
*  Execution:    java Picture imagename
*
*  Data type for manipulating individual pixels of an image. The original
*  image can be read from a file in jpg, gif, or png format, or the
*  user can create a blank image of a given size. Includes methods for
*  displaying the image in a window on the screen or saving to a file.
*
*  % java Picture mandrill.jpg
*
*  Remarks
*  -------
*   - pixel (x, y) is column x and row y, where (0, 0) is upper left
*
*   - see also GrayPicture.java for a grayscale version
*
*************************************************************************/

import java.awt.Color;
import java.awt.FileDialog;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;


/**
*  This class provides methods for manipulating individual pixels of
*  an image. The original image can be read from a <tt>.jpg</tt>, <tt>.gif</tt>,
*  or <tt>.png</tt> file or the user can create a blank image of a given size.
*  This class includes methods for displaying the image in a window on
*  the screen or saving it to a file.
*  <p>
*  Pixel (<em>x</em>, <em>y</em> is column <em>x</em> and row <em>y</em>.
*  By default, the origin (0, 0) is upper left, which is a common convention
*  in image processing.
*  The method <tt>setOriginLowerLeft()</tt> change the origin to the lower left.
*  <p>
*  For additional documentation, see
*  <a href="http://introcs.cs.princeton.edu/31datatype">Section 3.1</a> of
*  <i>Introduction to Programming in Java: An Interdisciplinary Approach</i>
*  by Robert Sedgewick and Kevin Wayne.
*
*  @author Robert Sedgewick
*  @author Kevin Wayne
*/
public final class Picture implements ActionListener {
    private BufferedImage image;               // the rasterized image
    private JFrame frame;                      // on-screen view
    private String filename;                   // name of file
    private boolean isOriginUpperLeft = true;  // location of origin
    private final int width, height;           // width and height

   /**
     * Initializes a blank <tt>width</tt>-by-<tt>height</tt> picture, with <tt>width</tt> columns
     * and <tt>height</tt> rows, where each pixel is black.
     */
    public Picture(int width, int height) {
        if (width  < 0) throw new IllegalArgumentException("width must be nonnegative";
        if (height < 0) throw new IllegalArgumentException("height must be nonnegative";
        this.width  = width;
        this.height = height;
        image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        // set to TYPE_INT_ARGB to support transparency
        filename = width + "-by-" + height;
    }

   /**
     * Initializes a new picture that is a deep copy of <tt>picture</tt>.
     */
    public Picture(Picture picture) {
        width  = picture.width();
        height = picture.height();
        image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        filename = picture.filename;
        for (int col = 0; col < width(); col++)
            for (int row = 0; row < height(); row++)
                image.setRGB(col, row, picture.get(col, row).getRGB());
    }

   /**
     * Initializes a picture by reading in a .png, .gif, or .jpg from
     * the given filename or URL name.
     */
    public Picture(String filename) {
        this.filename = filename;
        try {
            // try to read from file in working directory
            File file = new File(filename);
            if (file.isFile()) {
                image = ImageIO.read(file);
            }

            // now try to read from file in same directory as this .class file
            else {
                URL url = getClass().getResource(filename);
                if (url == null) { url = new URL(filename); }
                image = ImageIO.read(url);
            }
            width  = image.getWidth(null);
            height = image.getHeight(null);
        }
        catch (IOException e) {
            // e.printStackTrace();
            throw new RuntimeException("Could not open file: " + filename);
        }
    }

   /**
     * Initializes a picture by reading in a .png, .gif, or .jpg from a File.
     */
    public Picture(File file) {
        try { image = ImageIO.read(file); }
        catch (IOException e) {
            e.printStackTrace();
            throw new RuntimeException("Could not open file: " + file);
        }
        if (image == null) {
            throw new RuntimeException("Invalid image file: " + file);
        }
        width  = image.getWidth(null);
        height = image.getHeight(null);
        filename = file.getName();
    }

   /**
     * Returns a JLabel containing this picture, for embedding in a JPanel,
     * JFrame or other GUI widget.
     * @return the <tt>JLabel</tt>
     */
    public JLabel getJLabel() {
        if (image == null) { return null; }         // no image available
        ImageIcon icon = new ImageIcon(image);
        return new JLabel(icon);
    }

   /**
     * Sets the origin to be the upper left pixel. This is the default.
     */
    public void setOriginUpperLeft() {
        isOriginUpperLeft = true;
    }

   /**
     * Sets the origin to be the lower left pixel.
     */
    public void setOriginLowerLeft() {
        isOriginUpperLeft = false;
    }

   /**
     * Displays the picture in a window on the screen.
     */
    public void show() {

        // create the GUI for viewing the image if needed
        if (frame == null) {
            frame = new JFrame();

            JMenuBar menuBar = new JMenuBar();
            JMenu menu = new JMenu("File";
            menuBar.add(menu);
            JMenuItem menuItem1 = new JMenuItem(" Save...   ";
            menuItem1.addActionListener(this);
            menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,
                                     Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
            menu.add(menuItem1);
            frame.setJMenuBar(menuBar);



            frame.setContentPane(getJLabel());
            // f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setTitle(filename);
            frame.setResizable(false);
            frame.pack();
            frame.setVisible(true);
        }

        // draw
        frame.repaint();
    }

   /**
     * Returns the height of the picture.
     * @return the height of the picture (in pixels)
     */
    public int height() {
        return height;
    }

   /**
     * Returns the width of the picture.
     * @return the width of the picture (in pixels)
     */
    public int width() {
        return width;
    }

   /**
     * Returns the color of pixel (<tt>col</tt>, <tt>row</tt>.
     * @return the color of pixel (<tt>col</tt>, <tt>row</tt>
     * @throws IndexOutOfBoundsException unless both 0 &le; <tt>col</tt> &lt; <tt>width</tt>
     * and 0 &le; <tt>row</tt> &lt; <tt>height</tt>
     */
    public Color get(int col, int row) {
        if (col < 0 || col >= width())  throw new IndexOutOfBoundsException("col must be between 0 and " + (width()-1));
        if (row < 0 || row >= height()) throw new IndexOutOfBoundsException("row must be between 0 and " + (height()-1));
        if (isOriginUpperLeft) return new Color(image.getRGB(col, row));
        else                   return new Color(image.getRGB(col, height - row - 1));
    }

   /**
     * Sets the color of pixel (<tt>col</tt>, <tt>row</tt> to given color.
     * @throws IndexOutOfBoundsException unless both 0 &le; <tt>col</tt> &lt; <tt>width</tt>
     * and 0 &le; <tt>row</tt> &lt; <tt>height</tt>
     * @throws NullPointerException if <tt>color</tt> is <tt>null</tt>
     */
    public void set(int col, int row, Color color) {
        if (col < 0 || col >= width())  throw new IndexOutOfBoundsException("col must be between 0 and " + (width()-1));
        if (row < 0 || row >= height()) throw new IndexOutOfBoundsException("row must be between 0 and " + (height()-1));
        if (color == null) throw new NullPointerException("can't set Color to null";
        if (isOriginUpperLeft) image.setRGB(col, row, color.getRGB());
        else                   image.setRGB(col, height - row - 1, color.getRGB());
    }

   /**
     * Is this Picture equal to obj?
     * @return <tt>true</tt> if this picture is the same dimension as <tt>obj</tt>
     * and if all pixels have the same color
     */
    public boolean equals(Object obj) {
        if (obj == this) return true;
        if (obj == null) return false;
        if (obj.getClass() != this.getClass()) return false;
        Picture that = (Picture) obj;
        if (this.width()  != that.width())  return false;
        if (this.height() != that.height()) return false;
        for (int col = 0; col < width(); col++)
            for (int row = 0; row < height(); row++)
                if (!this.get(col, row).equals(that.get(col, row))) return false;
        return true;
    }


   /**
     * Saves the picture to a file in a standard image format.
     * The filetype must be .png or .jpg.
     */
    public void save(String name) {
        save(new File(name));
    }

   /**
     * Saves the picture to a file in a standard image format.
     */
    public void save(File file) {
        this.filename = file.getName();
        if (frame != null) { frame.setTitle(filename); }
        String suffix = filename.substring(filename.lastIndexOf('.') + 1);
        suffix = suffix.toLowerCase();
        if (suffix.equals("jpg" || suffix.equals("png") {
            try { ImageIO.write(image, suffix, file); }
            catch (IOException e) { e.printStackTrace(); }
        }
        else {
            System.out.println("Error: filename must end in .jpg or .png";
        }
    }

   /**
     * Opens a save dialog box when the user selects "Save As" from the menu.
     */
    public void actionPerformed(ActionEvent e) {
        FileDialog chooser = new FileDialog(frame,
                             "Use a .png or .jpg extension", FileDialog.SAVE);
        chooser.setVisible(true);
        if (chooser.getFile() != null) {
            save(chooser.getDirectory() + File.separator + chooser.getFile());
        }
    }


   /**
     * Tests this <tt>Picture</tt> data type. Reads a picture specified by the command-line argument,
     * and shows it in a window on the screen.
     */
    public static void main(String[] args) {
        Picture picture = new Picture(args[0]);
        System.out.printf("%d-by-%d\n", picture.width(), picture.height());
        picture.show();
    }

}
7楼2015-04-05 01:46:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xytlitu

银虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
不用matlab那么复杂。有专门软件,不过忘名字了。你可以自己查查

[ 发自小木虫客户端 ]
8楼2015-04-05 02:26:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通回帖

WanderingHeart

铁杆木虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
既然只有图,那你就要想办法把图读到MATLAB里,然后看怎么判断了,肯定是可以搞定的。
2楼2015-04-03 16:50:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lqshn

新虫 (小有名气)

引用回帖:
2楼: Originally posted by WanderingHeart at 2015-04-03 16:50:54
既然只有图,那你就要想办法把图读到MATLAB里,然后看怎么判断了,肯定是可以搞定的。

有思路吗?我是在想拿什么作为判断条件
3楼2015-04-03 18:35:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

WanderingHeart

铁杆木虫 (著名写手)

引用回帖:
3楼: Originally posted by lqshn at 2015-04-03 18:35:38
有思路吗?我是在想拿什么作为判断条件...

你只有图,那就只能导入图片以后用表示曲线颜色的量来判断。
4楼2015-04-03 22:25:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

匿名

用户注销 (职业作家)

Matlab专家


感谢参与,应助指数 +1
lqshn: 金币+1, 有帮助 2015-06-16 13:19:58
本帖仅楼主可见
5楼2015-04-04 01:05:56
已阅   申请程序强帖   回复此楼   编辑   查看我的主页

Wormhole55

新虫 (初入文坛)

【答案】应助回帖


感谢参与,应助指数 +1
lqshn: 金币+1, 有帮助 2015-06-16 13:16:18
试试泰勒公式, 渐近线, 高数课本里学过, 可以模拟各种曲线的坐标, 或者还有其他方法, 具体的记不清了。 这其实不仅是编程,更多的是对数学建模的理解和方法的选择, 你可以找个学数学的专业人士讨论一下, 肯定会有收获。
至于图像的扫描和像素的识别, 编程方面没有什么大的难度, 每个JPG 像素都是一个数值的形式储存的, 对像素颜色数值进行分析就是了(个人想法,没试过)。windows 或c++ 或java 都有自己的类库 专门做图像分析和处理的,是一些DLL 类库, 直接拿来用就是了。一下是一个java例程,图片处理的,
Below is the syntax highlighted version of Picture.java from § Standard Libraries.   Here is the Javadoc.


/*************************************************************************
*  Compilation:  javac Picture.java
*  Execution:    java Picture imagename
*
*  Data type for manipulating individual pixels of an image. The original
*  image can be read from a file in jpg, gif, or png format, or the
*  user can create a blank image of a given size. Includes methods for
*  displaying the image in a window on the screen or saving to a file.
*
*  % java Picture mandrill.jpg
*
*  Remarks
*  -------
*   - pixel (x, y) is column x and row y, where (0, 0) is upper left
*
*   - see also GrayPicture.java for a grayscale version
*
*************************************************************************/

import java.awt.Color;
import java.awt.FileDialog;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;


/**
*  This class provides methods for manipulating individual pixels of
*  an image. The original image can be read from a <tt>.jpg</tt>, <tt>.gif</tt>,
*  or <tt>.png</tt> file or the user can create a blank image of a given size.
*  This class includes methods for displaying the image in a window on
*  the screen or saving it to a file.
*  <p>
*  Pixel (<em>x</em>, <em>y</em> is column <em>x</em> and row <em>y</em>.
*  By default, the origin (0, 0) is upper left, which is a common convention
*  in image processing.
*  The method <tt>setOriginLowerLeft()</tt> change the origin to the lower left.
*  <p>
*  For additional documentation, see
*  <a href="http://introcs.cs.princeton.edu/31datatype">Section 3.1</a> of
*  <i>Introduction to Programming in Java: An Interdisciplinary Approach</i>
*  by Robert Sedgewick and Kevin Wayne.
*
*  @author Robert Sedgewick
*  @author Kevin Wayne
*/
public final class Picture implements ActionListener {
    private BufferedImage image;               // the rasterized image
    private JFrame frame;                      // on-screen view
    private String filename;                   // name of file
    private boolean isOriginUpperLeft = true;  // location of origin
    private final int width, height;           // width and height

   /**
     * Initializes a blank <tt>width</tt>-by-<tt>height</tt> picture, with <tt>width</tt> columns
     * and <tt>height</tt> rows, where each pixel is black.
     */
    public Picture(int width, int height) {
        if (width  < 0) throw new IllegalArgumentException("width must be nonnegative";
        if (height < 0) throw new IllegalArgumentException("height must be nonnegative";
        this.width  = width;
        this.height = height;
        image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        // set to TYPE_INT_ARGB to support transparency
        filename = width + "-by-" + height;
    }

   /**
     * Initializes a new picture that is a deep copy of <tt>picture</tt>.
     */
    public Picture(Picture picture) {
        width  = picture.width();
        height = picture.height();
        image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        filename = picture.filename;
        for (int col = 0; col < width(); col++)
            for (int row = 0; row < height(); row++)
                image.setRGB(col, row, picture.get(col, row).getRGB());
    }

   /**
     * Initializes a picture by reading in a .png, .gif, or .jpg from
     * the given filename or URL name.
     */
    public Picture(String filename) {
        this.filename = filename;
        try {
            // try to read from file in working directory
            File file = new File(filename);
            if (file.isFile()) {
                image = ImageIO.read(file);
            }

            // now try to read from file in same directory as this .class file
            else {
                URL url = getClass().getResource(filename);
                if (url == null) { url = new URL(filename); }
                image = ImageIO.read(url);
            }
            width  = image.getWidth(null);
            height = image.getHeight(null);
        }
        catch (IOException e) {
            // e.printStackTrace();
            throw new RuntimeException("Could not open file: " + filename);
        }
    }

   /**
     * Initializes a picture by reading in a .png, .gif, or .jpg from a File.
     */
    public Picture(File file) {
        try { image = ImageIO.read(file); }
        catch (IOException e) {
            e.printStackTrace();
            throw new RuntimeException("Could not open file: " + file);
        }
        if (image == null) {
            throw new RuntimeException("Invalid image file: " + file);
        }
        width  = image.getWidth(null);
        height = image.getHeight(null);
        filename = file.getName();
    }

   /**
     * Returns a JLabel containing this picture, for embedding in a JPanel,
     * JFrame or other GUI widget.
     * @return the <tt>JLabel</tt>
     */
    public JLabel getJLabel() {
        if (image == null) { return null; }         // no image available
        ImageIcon icon = new ImageIcon(image);
        return new JLabel(icon);
    }

   /**
     * Sets the origin to be the upper left pixel. This is the default.
     */
    public void setOriginUpperLeft() {
        isOriginUpperLeft = true;
    }

   /**
     * Sets the origin to be the lower left pixel.
     */
    public void setOriginLowerLeft() {
        isOriginUpperLeft = false;
    }

   /**
     * Displays the picture in a window on the screen.
     */
    public void show() {

        // create the GUI for viewing the image if needed
        if (frame == null) {
            frame = new JFrame();

            JMenuBar menuBar = new JMenuBar();
            JMenu menu = new JMenu("File";
            menuBar.add(menu);
            JMenuItem menuItem1 = new JMenuItem(" Save...   ";
            menuItem1.addActionListener(this);
            menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,
                                     Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
            menu.add(menuItem1);
            frame.setJMenuBar(menuBar);



            frame.setContentPane(getJLabel());
            // f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setTitle(filename);
            frame.setResizable(false);
            frame.pack();
            frame.setVisible(true);
        }

        // draw
        frame.repaint();
    }

   /**
     * Returns the height of the picture.
     * @return the height of the picture (in pixels)
     */
    public int height() {
        return height;
    }

   /**
     * Returns the width of the picture.
     * @return the width of the picture (in pixels)
     */
    public int width() {
        return width;
    }

   /**
     * Returns the color of pixel (<tt>col</tt>, <tt>row</tt>.
     * @return the color of pixel (<tt>col</tt>, <tt>row</tt>
     * @throws IndexOutOfBoundsException unless both 0 &le; <tt>col</tt> &lt; <tt>width</tt>
     * and 0 &le; <tt>row</tt> &lt; <tt>height</tt>
     */
    public Color get(int col, int row) {
        if (col < 0 || col >= width())  throw new IndexOutOfBoundsException("col must be between 0 and " + (width()-1));
        if (row < 0 || row >= height()) throw new IndexOutOfBoundsException("row must be between 0 and " + (height()-1));
        if (isOriginUpperLeft) return new Color(image.getRGB(col, row));
        else                   return new Color(image.getRGB(col, height - row - 1));
    }

   /**
     * Sets the color of pixel (<tt>col</tt>, <tt>row</tt> to given color.
     * @throws IndexOutOfBoundsException unless both 0 &le; <tt>col</tt> &lt; <tt>width</tt>
     * and 0 &le; <tt>row</tt> &lt; <tt>height</tt>
     * @throws NullPointerException if <tt>color</tt> is <tt>null</tt>
     */
    public void set(int col, int row, Color color) {
        if (col < 0 || col >= width())  throw new IndexOutOfBoundsException("col must be between 0 and " + (width()-1));
        if (row < 0 || row >= height()) throw new IndexOutOfBoundsException("row must be between 0 and " + (height()-1));
        if (color == null) throw new NullPointerException("can't set Color to null";
        if (isOriginUpperLeft) image.setRGB(col, row, color.getRGB());
        else                   image.setRGB(col, height - row - 1, color.getRGB());
    }

   /**
     * Is this Picture equal to obj?
     * @return <tt>true</tt> if this picture is the same dimension as <tt>obj</tt>
     * and if all pixels have the same color
     */
    public boolean equals(Object obj) {
        if (obj == this) return true;
        if (obj == null) return false;
        if (obj.getClass() != this.getClass()) return false;
        Picture that = (Picture) obj;
        if (this.width()  != that.width())  return false;
        if (this.height() != that.height()) return false;
        for (int col = 0; col < width(); col++)
            for (int row = 0; row < height(); row++)
                if (!this.get(col, row).equals(that.get(col, row))) return false;
        return true;
    }


   /**
     * Saves the picture to a file in a standard image format.
     * The filetype must be .png or .jpg.
     */
    public void save(String name) {
        save(new File(name));
    }

   /**
     * Saves the picture to a file in a standard image format.
     */
    public void save(File file) {
        this.filename = file.getName();
        if (frame != null) { frame.setTitle(filename); }
        String suffix = filename.substring(filename.lastIndexOf('.') + 1);
        suffix = suffix.toLowerCase();
        if (suffix.equals("jpg" || suffix.equals("png") {
            try { ImageIO.write(image, suffix, file); }
            catch (IOException e) { e.printStackTrace(); }
        }
        else {
            System.out.println("Error: filename must end in .jpg or .png";
        }
    }

   /**
     * Opens a save dialog box when the user selects "Save As" from the menu.
     */
    public void actionPerformed(ActionEvent e) {
        FileDialog chooser = new FileDialog(frame,
                             "Use a .png or .jpg extension", FileDialog.SAVE);
        chooser.setVisible(true);
        if (chooser.getFile() != null) {
            save(chooser.getDirectory() + File.separator + chooser.getFile());
        }
    }


   /**
     * Tests this <tt>Picture</tt> data type. Reads a picture specified by the command-line argument,
     * and shows it in a window on the screen.
     */
    public static void main(String[] args) {
        Picture picture = new Picture(args[0]);
        System.out.printf("%d-by-%d\n", picture.width(), picture.height());
        picture.show();
    }

}
6楼2015-04-05 00:02:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhuhai0917

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
有读取图片数据的软件,本科论文导师推荐给我的,忘了叫啥了,貌似datecraft还是啥

[ 发自小木虫客户端 ]
9楼2015-04-05 03:32:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

享受记忆

新虫 (小有名气)

其实可以扫描进去,然后按照颜色离散化点,这样图形问题转换成了数值问题,之后就容易了

[ 发自小木虫客户端 ]
10楼2015-04-05 07:29:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lqshn 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 估计今年青基又没戏 +10 忆念7 2024-04-18 10/500 2024-04-20 11:45 by wolfgangHugh
[论文投稿] 编辑返稿让改格式,这个时候能大修内容吗? +3 双倍好运锦鲤 2024-04-17 4/200 2024-04-20 09:54 by wuyuanzhao
[找工作] 事业单位还是大学好? +18 青萍之沫 2024-04-16 19/950 2024-04-20 08:46 by 小辰子
[找工作] 杭州国企和浙江高校如何选择? +16 restart2024 2024-04-15 22/1100 2024-04-20 07:31 by likeac
[基金申请] 申请省自然科学基金,研究区能否是省外区域 100+3 喜欢兔兔的我 2024-04-15 13/650 2024-04-19 21:49 by 喜欢兔兔的我
[考博] 申请24博士 材料/化工/环境 +4 满目_星辰 2024-04-17 4/200 2024-04-19 20:10 by 前行的道路
[论文投稿] 一审一个审稿人,小修,会怎么样呀? +9 林师妹 2024-04-18 9/450 2024-04-19 20:00 by nono2009
[有机交流] 傅克酰基化,产率大于百分之一百,求解,很急 90+5 hsn991013 2024-04-15 11/550 2024-04-19 14:49 by scdxyouji
[高分子] 聚酰胺650与环氧树脂e44固化 +3 yindingxin 2024-04-15 3/150 2024-04-19 13:55 by weilingdun
[博后之家] 博后换方向可行吗? +3 越越不暴躁 2024-04-15 3/150 2024-04-18 10:58 by ciompman
[博后之家] 博后进站年龄可以超过35岁? +8 suesong0818 2024-04-14 8/400 2024-04-18 08:38 by charles-c
[基金申请] 迟国泰通过向学生发放劳务费再回收的方式套取科学基金重点项目 +6 babu2015 2024-04-13 7/350 2024-04-16 20:32 by sundiv
[考研] 329求调剂 +6 Kaylawander 2024-04-13 7/350 2024-04-16 12:00 by 风来花开1
[考研] 320求调剂 +5 陆志伟 2024-04-15 5/250 2024-04-16 11:11 by 19862091
[考研] 312求调剂 +3 Lauhalo 2024-04-15 3/150 2024-04-16 10:16 by 19862091
[考研] 求调剂 +4 桃岸雪 2024-04-15 5/250 2024-04-15 18:49 by mthwyj
[论文投稿] with efitor 越久是不是越容易拒稿。我的已经一个多月了 +5 lizhengke06 2024-04-14 5/250 2024-04-15 18:33 by jonewore
[考研] 专硕调剂招生 +3 电致发光 2024-04-15 4/200 2024-04-15 07:34 by ashorewmj
[考研] 290求调剂 +3 杨yhr 2024-04-14 5/250 2024-04-14 21:50 by coco1981
[考研] 338求调剂 +3 18280338551 2024-04-14 5/250 2024-04-14 10:03 by tcni
信息提示
请填处理意见