Bounding box regression in R-CNN Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsHow does the bounding box regressor work in Fast R-CNN?Space between an object and the ground truth bounding boxPreparing ground truth labels for YOLO3Faster R-CNN wrapper for the number of RPNs in the layer dimensions?What is difference between intersection over union (IoU) and intersection over bounding box (IoBB)?Get bounding boxes for adjacent instances of a single class in imageTraining detector without bounding box dataHow does CNN doing bounding box regression and what do features and weights represent for?How does fully connected layer predict bounding box in CNN intuitively?How to project a bounding box on feature map?

Is CEO the "profession" with the most psychopaths?

How does the math work when buying airline miles?

Is there a kind of relay only consumes power when switching?

Redirect to div in page with #

Sum letters are not two different

Why is it faster to reheat something than it is to cook it?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Disembodied hand growing fangs

Is there any word for a place full of confusion?

How do I make this wiring inside cabinet safer?

AppleTVs create a chatty alternate WiFi network

QGIS: how to apply Line Pattern Fill to LineStrings?

Why wasn't DOSKEY integrated with COMMAND.COM?

Project Euler #1 in C++

As a beginner, should I get a Squier Strat with a SSS config or a HSS?

If windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Circuit to "zoom in" on mV fluctuations of a DC signal?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Did MS DOS itself ever use blinking text?

How often does castling occur in grandmaster games?

What do you call the main part of a joke?

How to convince students of the implication truth values?

Run Powershell Script From Agent As Administrator



Bounding box regression in R-CNN



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsHow does the bounding box regressor work in Fast R-CNN?Space between an object and the ground truth bounding boxPreparing ground truth labels for YOLO3Faster R-CNN wrapper for the number of RPNs in the layer dimensions?What is difference between intersection over union (IoU) and intersection over bounding box (IoBB)?Get bounding boxes for adjacent instances of a single class in imageTraining detector without bounding box dataHow does CNN doing bounding box regression and what do features and weights represent for?How does fully connected layer predict bounding box in CNN intuitively?How to project a bounding box on feature map?










0












$begingroup$


In R-CNN paper, they give the definition of the target values for bounding box regression



Given that $(P, G)$ is a (prediction box, ground-truth box) pair of the form $(x, y, w, h)$ where $x, y$ is the center coordinate of the box, $w, h$ are width and height respectively.




$t_x = (G_x - P_x) / P_w hspace2.0cm t_y = (G_y - P_y) / P_h$



$t_w = log(G_w / P_w) hspace2.0cm t_h = log(G_h / P_h)$




And the goal is to find $textbfw_*$, where $*$ can be $x, y, w$ or $h$, so that




$textbfw_* = arg min_hattextbfw_* sum_i (t^i_* - hattextbfw_*^T phi(P^i))^2 + lambda |hattextbfw_*|^2$ where $phi(P^i)$ is the feature map given by the last pooling layer of the feature extractor after passing predicted bounding box $P^i$




I don't understand why they come up with this approach of bounding box regression ? Can anyone tell me about this ?



P.S: since this regression approach is used not only in R-CNN but also in later models, I really want to get a clear understanding of this










share|improve this question









$endgroup$
















    0












    $begingroup$


    In R-CNN paper, they give the definition of the target values for bounding box regression



    Given that $(P, G)$ is a (prediction box, ground-truth box) pair of the form $(x, y, w, h)$ where $x, y$ is the center coordinate of the box, $w, h$ are width and height respectively.




    $t_x = (G_x - P_x) / P_w hspace2.0cm t_y = (G_y - P_y) / P_h$



    $t_w = log(G_w / P_w) hspace2.0cm t_h = log(G_h / P_h)$




    And the goal is to find $textbfw_*$, where $*$ can be $x, y, w$ or $h$, so that




    $textbfw_* = arg min_hattextbfw_* sum_i (t^i_* - hattextbfw_*^T phi(P^i))^2 + lambda |hattextbfw_*|^2$ where $phi(P^i)$ is the feature map given by the last pooling layer of the feature extractor after passing predicted bounding box $P^i$




    I don't understand why they come up with this approach of bounding box regression ? Can anyone tell me about this ?



    P.S: since this regression approach is used not only in R-CNN but also in later models, I really want to get a clear understanding of this










    share|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      In R-CNN paper, they give the definition of the target values for bounding box regression



      Given that $(P, G)$ is a (prediction box, ground-truth box) pair of the form $(x, y, w, h)$ where $x, y$ is the center coordinate of the box, $w, h$ are width and height respectively.




      $t_x = (G_x - P_x) / P_w hspace2.0cm t_y = (G_y - P_y) / P_h$



      $t_w = log(G_w / P_w) hspace2.0cm t_h = log(G_h / P_h)$




      And the goal is to find $textbfw_*$, where $*$ can be $x, y, w$ or $h$, so that




      $textbfw_* = arg min_hattextbfw_* sum_i (t^i_* - hattextbfw_*^T phi(P^i))^2 + lambda |hattextbfw_*|^2$ where $phi(P^i)$ is the feature map given by the last pooling layer of the feature extractor after passing predicted bounding box $P^i$




      I don't understand why they come up with this approach of bounding box regression ? Can anyone tell me about this ?



      P.S: since this regression approach is used not only in R-CNN but also in later models, I really want to get a clear understanding of this










      share|improve this question









      $endgroup$




      In R-CNN paper, they give the definition of the target values for bounding box regression



      Given that $(P, G)$ is a (prediction box, ground-truth box) pair of the form $(x, y, w, h)$ where $x, y$ is the center coordinate of the box, $w, h$ are width and height respectively.




      $t_x = (G_x - P_x) / P_w hspace2.0cm t_y = (G_y - P_y) / P_h$



      $t_w = log(G_w / P_w) hspace2.0cm t_h = log(G_h / P_h)$




      And the goal is to find $textbfw_*$, where $*$ can be $x, y, w$ or $h$, so that




      $textbfw_* = arg min_hattextbfw_* sum_i (t^i_* - hattextbfw_*^T phi(P^i))^2 + lambda |hattextbfw_*|^2$ where $phi(P^i)$ is the feature map given by the last pooling layer of the feature extractor after passing predicted bounding box $P^i$




      I don't understand why they come up with this approach of bounding box regression ? Can anyone tell me about this ?



      P.S: since this regression approach is used not only in R-CNN but also in later models, I really want to get a clear understanding of this







      cnn object-detection faster-rcnn






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 3 at 1:15









      HOANG GIANGHOANG GIANG

      426




      426




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "557"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48477%2fbounding-box-regression-in-r-cnn%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48477%2fbounding-box-regression-in-r-cnn%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Rank groups within a grouped sequence of TRUE/FALSE and NAGrouping functions (tapply, by, aggregate) and the *apply familyCharacters counting and subletting specific patternsWhat is the purpose of setting a key in data.table?data.table vs dplyr: can one do something well the other can't or does poorly?how to make a bar plot for a list of dataframes?How to group by unique values in a list in RPandas - Alternative to rank() function that gives unique ordinal ranks for a columnRank within group in for loop in RData transformation: from dyadic to observational data in RGetting map from purrr to work with paste0

          Are all passive ability checks floors for active ability checks?Does passive perception supersede active perception?Which skills can be used passively?Active Opposition with Free-Form Professions in Fate5E Trap/Ambush/Stealth Mechanics VS Passive Perception ConfusionInteraction between perception and stealth in obscured conditionsHow does Keen Sight affect Passive Perception?Are all d20 rolls either attacks, saves or ability checks?Can players declare that they are making a specific ability check?Can I see a Hidden creature that is not obscured at all?Can a Stealth check ever be made passively?Is this alternate version of the Observant feat balanced?What is the minimum amount of skill points per HD?

          Quoting Keynes in a lectureIs differentiated instruction permitted by universities?How to make students learn prerequisitesUnsatisfactory Instructor Evaluations: balancing of expectations of engineering studentsWhat is the difference between a “statistician”, “applied statistician”, and an academic applying advanced stats within their field?Listing in reference section, but not quotingHow to efficiently use time while preparing for a class?Graduate Admissions: Teaching Emphasisstrategies for sharing teaching information with universities I don't personally have contacts withIs there an efficient way to give a large class of students feedback about their assignments?Is it unreasonable to expect students to read the lecture notes before attending the first class?