Basic image functions and data type (imshow,imread,uint8)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 31

  • @shalinitatipally824
    @shalinitatipally824 2 ปีที่แล้ว +1

    So informative thank you

  • @paulmanoharsatyala9181
    @paulmanoharsatyala9181 2 ปีที่แล้ว +1

    What is the solution when it shows out of memory if we use imread function to display a dataset of 800 images in for loop?

    • @pratikian
      @pratikian  2 ปีที่แล้ว

      So out of memory error happens when you don't have enough RAM in your PC to load so many images. You may have ti change the code to be more efficient so that it does not take a lot of memory

  • @shalinitatipally824
    @shalinitatipally824 2 ปีที่แล้ว +1

    How to get a horizontal intensity scan line in the middle of image?

    • @pratikian
      @pratikian  2 ปีที่แล้ว

      I dont understand, what do you mean by horizontal intensity scan line ?

  • @Employeesadda-nq8fr
    @Employeesadda-nq8fr 2 ปีที่แล้ว +1

    Error in imread?

    • @pratikian
      @pratikian  2 ปีที่แล้ว

      Probably you don't have the image processing toolbox installed.

  • @ahlamrafeek9141
    @ahlamrafeek9141 3 ปีที่แล้ว +1

    Can we label axis of an image?

    • @pratikian
      @pratikian  3 ปีที่แล้ว

      Yes you can use xlabel and ylabel functions to label the axis

    • @ahlamrafeek9141
      @ahlamrafeek9141 3 ปีที่แล้ว +1

      @@pratikian what appropriate label can use?

    • @pratikian
      @pratikian  3 ปีที่แล้ว

      @@ahlamrafeek9141 what do you mean by appropriate label?

    • @ahlamrafeek9141
      @ahlamrafeek9141 3 ปีที่แล้ว +1

      @@pratikian I mean in case of histogram I can label x axis as pixel value and y axis as number of pixels. But in case of an image what is suitable to be labeled for x-axis and y-axis?

    • @pratikian
      @pratikian  3 ปีที่แล้ว

      @@ahlamrafeek9141 so image is a 2d signal unlike histogram which is 1d. So both the axis in the image acctually represent pixels. The only label that comes to my mind now is rows for the y axis and columns for the x axis.

  • @hiteshmalhotra8785
    @hiteshmalhotra8785 4 ปีที่แล้ว +1

    Sir, you teach really well. Please upload more videos on image processing

    • @pratikian
      @pratikian  4 ปีที่แล้ว +1

      Thank you so much for the feedback ... yes ... I will upload more .. 😊

  • @yohanaadnew1818
    @yohanaadnew1818 2 ปีที่แล้ว +1

    can you help me this Question?
    Learn the matlab built-in function for Adaptive Histogram equalization and apply it for the camera man. Estimate the optimal window size that gives ‘better’ enhancement

    • @pratikian
      @pratikian  2 ปีที่แล้ว

      www.mathworks.com/help/images/ref/adapthisteq.html#d124e7403
      I guess this is the function your professor wants you to understand about.

  • @renumargaj7533
    @renumargaj7533 2 ปีที่แล้ว +1

    sir you teach really well Please help me solve this error int_imread can not open file in scilab

    • @pratikian
      @pratikian  2 ปีที่แล้ว

      So you are using scilab. Make sure you have the image processing toolbox and replace
      int_imread by
      imread

  • @sirjitendrakumarmishra7922
    @sirjitendrakumarmishra7922 4 ปีที่แล้ว

    Sir, can I get idea to remove error written below
    Undefined function or method 'immse' for input arguments of type 'uint8'

    • @pratikian
      @pratikian  4 ปีที่แล้ว

      I guess your matlab version is older than 2014 hence it is giving the error. (source: in.mathworks.com/matlabcentral/answers/397002-undefined-function-immse-for-input-arguments-of-type-uint8)
      So what I suggest is you could manually write the code for mse
      %Say a and b are the 2 input image
      %First Convert them to double
      a = double(a)
      b = double(b)
      %then just do
      (mean(mean((a-b).^2)))
      %if the image is color then do
      mean(mean(mean((a-b).^2)))
      hope that helps

  • @joshuasangeeth
    @joshuasangeeth 4 ปีที่แล้ว

    can we get a user input value for images
    like getting the file path from the user
    f = input('filepath
    ','s');
    A = importdata(f);
    im = imread(A);
    ??????????????????????????????????????

    • @pratikian
      @pratikian  4 ปีที่แล้ว

      Yes
      Look at this video I have explained how can you use gui to get the image path
      th-cam.com/video/rgl6HTxM440/w-d-xo.html

  • @umeshbagade1060
    @umeshbagade1060 3 ปีที่แล้ว +1

    Imshow not working, its not showing the image

    • @pratikian
      @pratikian  3 ปีที่แล้ว

      Please check the data type of the image.

  • @shraddhapandey5299
    @shraddhapandey5299 4 ปีที่แล้ว

    Bhaiya aap bht acche ho...aapne krishnaji ki photo lgai hai😃

    • @pratikian
      @pratikian  4 ปีที่แล้ว +1

      Thank you ... 😄🙏

  • @naveedzaman3608
    @naveedzaman3608 3 ปีที่แล้ว +1

    Sir, your video is very helpful. You should upload more video.
    I need help little bit. If you give me your email id.

    • @pratikian
      @pratikian  3 ปีที่แล้ว

      Thanks yes I will .. 😇
      jainpratik412@gmail.com