<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How cut borders from image in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881992#M10308</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/414649"&gt;pvonkaenel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;If you want to process a region-of-interest of an image, you need to offset the starting pointer by the number of lines and columns of the border region, reduce the image width/height to the smaller size, and leave the step size of the original image along. Try something like the following:&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;But I don't know border size it mast doing automatically. Is there are method like face detection but for images, like "image detection". The source image:           The result must be:&lt;/P&gt;
&lt;P&gt;000000&lt;/P&gt;
&lt;P&gt;011110                     1111&lt;/P&gt;
&lt;P&gt;011110                     1111&lt;/P&gt;
&lt;P&gt;000000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;where "0" is backgroud.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jun 2009 07:00:36 GMT</pubDate>
    <dc:creator>fg_victormail_ru</dc:creator>
    <dc:date>2009-06-15T07:00:36Z</dc:date>
    <item>
      <title>How cut borders from image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881990#M10306</link>
      <description>&lt;P&gt;Hi, I have such problem, I have image and there are some white stripes around it and I don't know how get only image without this borders. This stripes can have different size and I have a lot of images where this stripes are present.Hi, I have such problem, I have image and there are some white stripes around it and I don't know how get only image without this borders. This stripes can have different size and I have a lot of images where this stripes are present.&lt;/P&gt;
&lt;P&gt;PS Sorry for my English&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2009 14:44:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881990#M10306</guid>
      <dc:creator>fg_victormail_ru</dc:creator>
      <dc:date>2009-06-12T14:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How cut borders from image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881991#M10307</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/431831"&gt;fg.victormail.ru&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Hi, I have such problem, I have image and there are some white stripes around it and I don't know how get only image without this borders. This stripes can have different size and I have a lot of images where this stripes are present.Hi, I have such problem, I have image and there are some white stripes around it and I don't know how get only image without this borders. This stripes can have different size and I have a lot of images where this stripes are present.&lt;/P&gt;
&lt;P&gt;PS Sorry for my English&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;If you want to process a region-of-interest of an image, you need to offset the starting pointer by the number of lines and columns of the border region, reduce the image width/height to the smaller size, and leave the step size of the original image along. Try something like the following:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]Ipp8u *pFullImg;  // Assume this points to first pixel of the bordered image
int wFull, hFull, sFull;  // Width, height, and step size of the bordered image
int borderRows, borderCols;  // This is the number of rows and columns in the border you want to cut out

Ipp8u *pRoiImg = pFullImg + (borderRows*sFull) + borderCols;  // Offset to ROI image you want to process
int wRoi = wFull - (2 * borderCols); // ROI width
int hRoi = hFull - (2 * borderRows); // ROI height

// Now use the IPP routines of interest using pRoiImg, wRoi, hRoi, and sFull.
// Note that it's important to use the origonal step size so that the IPP
// calls can get to the proper pixel in the next row&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[/cpp]&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Jun 2009 15:15:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881991#M10307</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-06-12T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: How cut borders from image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881992#M10308</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/414649"&gt;pvonkaenel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;If you want to process a region-of-interest of an image, you need to offset the starting pointer by the number of lines and columns of the border region, reduce the image width/height to the smaller size, and leave the step size of the original image along. Try something like the following:&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;But I don't know border size it mast doing automatically. Is there are method like face detection but for images, like "image detection". The source image:           The result must be:&lt;/P&gt;
&lt;P&gt;000000&lt;/P&gt;
&lt;P&gt;011110                     1111&lt;/P&gt;
&lt;P&gt;011110                     1111&lt;/P&gt;
&lt;P&gt;000000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;where "0" is backgroud.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2009 07:00:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-cut-borders-from-image/m-p/881992#M10308</guid>
      <dc:creator>fg_victormail_ru</dc:creator>
      <dc:date>2009-06-15T07:00:36Z</dc:date>
    </item>
  </channel>
</rss>

