ritika-singh asked . 2021-05-31

Understanding the positive and negative overlap range

Hi all and thank you for responding to my questions in advance!
 
I am trying to obtain a simple understanding of the negative and postive ranges.
 
I read the documentation in matalb for the understanding but i still don't get it and the explanation there is still complex!
 
% Adjust NegativeOverlapRange and PositiveOverlapRange to ensure
% that training samples tightly overlap with ground truth

'PositiveOverlapRange' A two-element vector that specifies a range of
%                        bounding box overlap ratios between 0 and 1.
%                        Region proposals that overlap with ground truth
%                        bounding boxes within the specified range are used
%                        as positive training samples.
%
                        Default: [0.5 1]
%
'NegativeOverlapRange' A two-element vector that specifies a range of
%                        bounding box overlap ratios between 0 and 1.
%                        Region proposals that overlap with ground truth
%                        bounding boxes within the specified range are used
%                        as negative training samples.
%
                        Default: [0.1 0.5]
I am aware of what 3 variables after the trainRCNNObjectDetector are and what they do and how to achieve this! but ranges are confusing me understanding!
 
my questions in regards to image processing;
  1. what is the threshold actually controlling/ doing for the positive and negative overlap range
  2. Is there a link to understand this on youtube etc to get a simple break down of what this does or is? I have been trying this but maybe my terminology is incrorrect!!
  3. I specified only the negative range, what happends when I don't specify the positive range?
  4. what happends when i specify both positive and negative ranges?
  5. what am I really telling the system to do actually?!!!?!?!!!?!
  6. if I modify the Positive Overlap Range, What am I Actually Doing, Same for the Negative Over Lap Range?
I have my code taken from the rcnn stop sign example in math lab;
 
rcnn = trainRCNNObjectDetector(BCombineData, Tlayers, options, 'NegativeOverlapRange', [0 0.3]);
rcnn = trainRCNNObjectDetector(BCombineData, Tlayers, options, 'PositiveOverlapRange', [0.5 1] ,'NegativeOverlapRange', [0 0.3]);
rcnn.RegionProposalFcn;
network = rcnn.Network;
layers = network.Layers;

 

deep learning , matlab , programming , simulink ,

Expert Answer

Prashant Kumar answered . 2024-04-28 20:33:22

As you might know, Object Detection involves dividing the input image into multiple pieces and identifying the presence of object in each individual piece. An enhancement to this is involving segmentation process in Object Detection using Region Proposal Networks in conjunction with Fast RCNN Algorithm.
Answering your queries:
 
  1. Positive/Negative Overlap Range specify to the nework to treat the region under consideration as positive/negative (in the presence of an object), by computing Intersection over Union (IoU) with ground truth data.
  2. I guess reading about Object Detectors (CNNs and RCNNS) and their working would help you.
  3. If specified only Negative Range, Positive Overlap Range will be assigned a default value of [0.5 1].
  4. The specified ranges will be considered.
  5. You are giving a criterion to the network based on which it classifies whether the object of importance is present in the image under consideration or not.
  6. You are adjusting your networks ability to match with the ground truth data.


Not satisfied with the answer ?? ASK NOW

Frequently Asked Questions

MATLAB offers tools for real-time AI applications, including Simulink for modeling and simulation. It can be used for developing algorithms and control systems for autonomous vehicles, robots, and other real-time AI systems.

MATLAB Online™ provides access to MATLAB® from your web browser. With MATLAB Online, your files are stored on MATLAB Drive™ and are available wherever you go. MATLAB Drive Connector synchronizes your files between your computers and MATLAB Online, providing offline access and eliminating the need to manually upload or download files. You can also run your files from the convenience of your smartphone or tablet by connecting to MathWorks® Cloud through the MATLAB Mobile™ app.

Yes, MATLAB provides tools and frameworks for deep learning, including the Deep Learning Toolbox. You can use MATLAB for tasks like building and training neural networks, image classification, and natural language processing.

MATLAB and Python are both popular choices for AI development. MATLAB is known for its ease of use in mathematical computations and its extensive toolbox for AI and machine learning. Python, on the other hand, has a vast ecosystem of libraries like TensorFlow and PyTorch. The choice depends on your preferences and project requirements.

You can find support, discussion forums, and a community of MATLAB users on the MATLAB website, Matlansolutions forums, and other AI-related online communities. Remember that MATLAB's capabilities in AI and machine learning continue to evolve, so staying updated with the latest features and resources is essential for effective AI development using MATLAB.

Without any hesitation the answer to this question is NO. The service we offer is 100% legal, legitimate and won't make you a cheater. Read and discover exactly what an essay writing service is and how when used correctly, is a valuable teaching aid and no more akin to cheating than a tutor's 'model essay' or the many published essay guides available from your local book shop. You should use the work as a reference and should not hand over the exact copy of it.

Matlabsolutions.com provides guaranteed satisfaction with a commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been empanelled after extensive research and quality check.

Matlabsolutions.com provides undivided attention to each Matlab assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work done at the best price in industry.