comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: area threshold
items: Re: area threshold

area threshold
type: item
description: hi all, can anyone give some ideas for giving area threshold. Right now I am using label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. Therefore anyone has any better idea for area thresholding. thanks
creator: gunvicsin11
date: 2017-05-01T07:59:58-00:00

Re: area threshold
type: item
description: On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: > hi all, > can anyone give some ideas for giving area threshold. Right now I am using > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. > Therefore anyone has any better idea for area thresholding. > thanks How is your n x x patch defined? By the values it contain or by position in a bigger image? Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples.
creator: Nikola
date: 2017-05-01T09:59:47-00:00

Re: area threshold
type: item
description: On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: > On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >> hi all, >> can anyone give some ideas for giving area threshold. Right now I am using >> label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >> Therefore anyone has any better idea for area thresholding. >> thanks > > How is your n x x patch defined? By the values it contain or by position in a bigger image? > > Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. My n x n patch are defined by a position in a bigger image.
creator: gunvicsin11
date: 2017-05-01T10:37:53-00:00

Re: area threshold
type: item
description: On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: > On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >> On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>> hi all, >>> can anyone give some ideas for giving area threshold. Right now I am using >>> label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>> Therefore anyone has any better idea for area thresholding. >>> thanks >> >> How is your n x x patch defined? By the values it contain or by position in a bigger image? >> >> Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. > > My n x n patch are defined by a position in a bigger image. You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out.
creator: Nikola
date: 2017-05-02T09:23:14-00:00

Re: area threshold
type: item
description: On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: > On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >> On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>> On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> hi all, >>>> can anyone give some ideas for giving area threshold. Right now I am using >>>> label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> Therefore anyone has any better idea for area thresholding. >>>> thanks >>> >>> How is your n x x patch defined? By the values it contain or by position in a bigger image? >>> >>> Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >> >> My n x n patch are defined by a position in a bigger image. > > You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch.
creator: gunvicsin11
date: 2017-05-03T05:55:11-00:00

Re: area threshold
type: item
description: On Wednesday, May 3, 2017 at 7:55:14 AM UTC+2, sid wrote: > On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: >> On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >>> On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>>> On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> > hi all, >>>> > can anyone give some ideas for giving area threshold. Right now I am using >>>> > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> > Therefore anyone has any better idea for area thresholding. >>>> > thanks >>>> >>>> How is your n x x patch defined? By the values it contain or by position in a bigger image? >>>> >>>> Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >>> >>> My n x n patch are defined by a position in a bigger image. >> >> You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. > > I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch. I think Nikola is right. You should better explain your problem. From what you wrote, here is what I understood. You want to exclude from your analysis a patch of nxn pixels. Depending on the analysis, there are different solutions. Since you mentioned the total area of the rest of the region (without the patch) then I would: 1) calculate area of patch: area_patch = n*n 2) calculate area of image: area_image = nCols*nRows 3) rest area is then: area_rest = area_image - area_patch My guess thou…
creator: Helder Marchetto
date: 2017-05-03T12:55:08-00:00

Re: area threshold
type: item
description: On Wednesday, 3 May 2017 05:55:12 UTC-7, Helder wrote: > On Wednesday, May 3, 2017 at 7:55:14 AM UTC+2, sid wrote: >> On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: >>> On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >>>> On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>>> > On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> > > hi all, >>>> > > can anyone give some ideas for giving area threshold. Right now I am using >>>> > > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> > > Therefore anyone has any better idea for area thresholding. >>>> > > thanks >>>> > >>>> > How is your n x x patch defined? By the values it contain or by position in a bigger image? >>>> > >>>> > Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >>>> >>>> My n x n patch are defined by a position in a bigger image. >>> >>> You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. >> >> I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch. > > I think Nikola is right. You should better explain your problem. From what you wrote, here is what I understood. You want to exclude from your analysis a patch of nxn pixels. Depending on the analysis, there are different solutions. Since you mentioned the total area of the rest of the region (without the patch) then I would: > 1) calculate area of patch: area_patch = n*n > 2) calculate area of image: ar…
creator: Dick Jackson
date: 2017-05-03T16:04:03-00:00

Re: area threshold
type: item
description: On Wednesday, May 3, 2017 at 9:34:07 PM UTC+5:30, Dick Jackson wrote: > On Wednesday, 3 May 2017 05:55:12 UTC-7, Helder wrote: >> On Wednesday, May 3, 2017 at 7:55:14 AM UTC+2, sid wrote: >>> On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: >>>> On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >>>> > On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>>> > > On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> > > > hi all, >>>> > > > can anyone give some ideas for giving area threshold. Right now I am using >>>> > > > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> > > > Therefore anyone has any better idea for area thresholding. >>>> > > > thanks >>>> > > >>>> > > How is your n x x patch defined? By the values it contain or by position in a bigger image? >>>> > > >>>> > > Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >>>> > >>>> > My n x n patch are defined by a position in a bigger image. >>>> >>>> You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. >>> >>> I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch. >> >> I think Nikola is right. You should better explain your problem. From what you wrote, here is what I understood. You want to exclude from your analysis a patch of nxn pixels. Depending on the analysis, there are different solutions. Since you mentioned the total area of the rest of the region (witho…
creator: gunvicsin11
date: 2017-05-08T10:52:21-00:00

Re: area threshold
type: item
description: On Monday, 8 May 2017 03:52:24 UTC-7, sid wrote: > On Wednesday, May 3, 2017 at 9:34:07 PM UTC+5:30, Dick Jackson wrote: >> On Wednesday, 3 May 2017 05:55:12 UTC-7, Helder wrote: >>> On Wednesday, May 3, 2017 at 7:55:14 AM UTC+2, sid wrote: >>>> On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: >>>> > On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >>>> > > On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>>> > > > On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> > > > > hi all, >>>> > > > > can anyone give some ideas for giving area threshold. Right now I am using >>>> > > > > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> > > > > Therefore anyone has any better idea for area thresholding. >>>> > > > > thanks >>>> > > > >>>> > > > How is your n x x patch defined? By the values it contain or by position in a bigger image? >>>> > > > >>>> > > > Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >>>> > > >>>> > > My n x n patch are defined by a position in a bigger image. >>>> > >>>> > You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. >>>> >>>> I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch. >>> >>> I think Nikola is right. You should better explain your problem. From what you wrote, here is what I understood. You want to exclude from your analysis a patch of nxn pixels. Depending on the analysis, there ar…
creator: Dick Jackson
date: 2017-05-08T16:37:24-00:00

Re: area threshold
type: item
description: On Monday, May 8, 2017 at 10:07:28 PM UTC+5:30, Dick Jackson wrote: > On Monday, 8 May 2017 03:52:24 UTC-7, sid wrote: >> On Wednesday, May 3, 2017 at 9:34:07 PM UTC+5:30, Dick Jackson wrote: >>> On Wednesday, 3 May 2017 05:55:12 UTC-7, Helder wrote: >>>> On Wednesday, May 3, 2017 at 7:55:14 AM UTC+2, sid wrote: >>>> > On Tuesday, May 2, 2017 at 2:53:16 PM UTC+5:30, Nikola Vitas wrote: >>>> > > On Monday, May 1, 2017 at 11:37:55 AM UTC+1, gunvi...@gmail.com wrote: >>>> > > > On Monday, May 1, 2017 at 3:29:49 PM UTC+5:30, Nikola Vitas wrote: >>>> > > > > On Monday, May 1, 2017 at 9:00:01 AM UTC+1, sid wrote: >>>> > > > > > hi all, >>>> > > > > > can anyone give some ideas for giving area threshold. Right now I am using >>>> > > > > > label_region, histogram and array_indices. Inorder to discard a region which is of n x n pixel area. But in this method some pixels are left without discarding and if I go for higher pixel area then the useful data also gets discarded. >>>> > > > > > Therefore anyone has any better idea for area thresholding. >>>> > > > > > thanks >>>> > > > > >>>> > > > > How is your n x x patch defined? By the values it contain or by position in a bigger image? >>>> > > > > >>>> > > > > Anyway, check for the logical operators, EQ, NE, GT, LT and similar and for the function WHERE. It's all in the IDL help files including useful examples. >>>> > > > >>>> > > > My n x n patch are defined by a position in a bigger image. >>>> > > >>>> > > You should specify your problem more specifically. What do you want to get as a result? Some statistics of the rest of the image or you just need to display the image with this patch masked out. >>>> > >>>> > I have got a binary image in that the region which is less than 10 x 10 pixels has to be discarded or shud be made zero from the patch. I want to estimate the total area of the rest of the region of the patch. >>>> >>>> I think Nikola is right. You should better explain your problem. From what you wrote, here is wha…
creator: gunvicsin11
date: 2017-05-09T10:45:18-00:00