Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8641131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:26:53+00:00 2026-06-12T11:26:53+00:00

I need some help, I have to make a project about leaves. I want

  • 0

I need some help, I have to make a project about leaves.

I want to make it by MATLAB.

my input is an image of one leaf (with a white background) and I need to know two things about the leaf:

1) find the lobed leaf (the pixels of each lobed leaf):

  • Lay the leaf on a table or work space where you can examine it.

  • Look at the leaf you are trying to identify. If the leaf looks like it has fingers, these are considered lobes. There can be
    anywhere from two to many lobes on a leaf.

  • Distinguish pinnate leaves from palmate leaves by looking at the veins on the underside of the leaf. If the veins all come from
    the same place at the base of the leaf it is considered palmately
    lobed. If they are formed at various places on the leaf from one
    centre line, the leaf is pinnately lobed.

  • Identify the type of leaf by using a leaf dictionary.

enter image description here

2) find approximately the number of bumps of the leaf:

in other words, find the “swollen points” of each leaf.
enter image description here

these are examples of leaves:

enter image description here
enter image description here
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:26:54+00:00Added an answer on June 12, 2026 at 11:26 am

    I’ve found some leaves examples in here.

    Here is my attempt to solve the problem.
    In the images that I’ve found, the background is completely black. If it is not so in your images, you should use Otsu’s thresholding method.

    I assumed that there can be only 3 types of leaves, according to your image:
    enter image description here

    The idea is to do blob analysis. I use the morphological operation of opening, to separate the leaves. If there is only one blob after the opening, I assume it is not compound. If the leaves are not compound, I analyze the solidity of the blobs. Non-solid enough means they are lobed.

    Here are some examples:

    enter image description here
    enter image description here
    enter image description here
    enter image description here

    function IdentifyLeaf(dirName,fileName)
    
        figure();
        im = imread(fullfile(dirName,fileName));
        subplot(1,3,1); imshow(im);
    
    %   thresh = graythresh( im(:,:,2));
        imBw = im(:,:,2) > 0;
        subplot(1,3,2);imshow(imBw);
    
        radiusOfStrel = round( size(im,1)/20 ) ;
        imBwOpened = imopen(imBw,strel('disk',radiusOfStrel));
    
        subplot(1,3,3);imshow(imBwOpened);
    
        rpOpened = regionprops(imBwOpened,'Area');
        if numel(rpOpened)>1
            title('Pinnately Compound');
        else
            rp = regionprops(imBw,'Area','Solidity');
            %Leave only largest blob
            area = [rp.Area];
            [~,maxIndex] = max(area);
            rp = rp(maxIndex);
    
            if rp.Solidity < 0.9
                title('Pinnately Lobed');
            else
                title('Pinnately Veined');
            end
        end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
Need some help, please. I have a line of horizontal thumbnails loaded as ONE
I need some help with a work project I have been assigned. At the
I need some help with PHP Class. I have limited knowledge about how it
I need help! :-) I have an application and want to make it modular,
I am new to Jquery and need some help: I have a div, I
I'm a noob with mysql and php, and need some help :) I have
Need some help... I have jasperserver 4.1 installed on my ubuntu. It runs via
Need some help to solve this. I have a gridview and inside the gridview
Need some help with a query.. I have three tables. Source id name 1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.